/* Base styles for the Đá Gà page */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Page background color */
  line-height: 1.6;
}

.page-da-ga__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-da-ga__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-da-ga__sub-title {
  font-size: 1.8em;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-da-ga__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-da-ga__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-da-ga__list-item {
  margin-bottom: 10px;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  background: #E53935;
  color: #ffffff;
  text-align: center;
  position: relative;
  padding-bottom: 40px;
}

.page-da-ga__hero-image-wrapper {
  margin-bottom: 20px;
}

.page-da-ga__hero-image {
  width: 100%;
  max-width: 1200px; /* Display width */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.page-da-ga__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-da-ga__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-da-ga__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-da-ga__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-da-ga__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-da-ga__btn-center {
  display: block;
  margin: 30px auto 0;
  width: fit-content;
}

/* Content Sections */
.page-da-ga__introduction-section,
.page-da-ga__betting-types-section,
.page-da-ga__promotions-section,
.page-da-ga__faq-section {
  background-color: #ffffff;
  padding: 60px 0;
  color: #333333;
}

.page-da-ga__how-to-play-section,
.page-da-ga__strategy-section,
.page-da-ga__security-section,
.page-da-ga__conclusion-section {
  background-color: #E53935;
  color: #ffffff;
  padding: 60px 0;
}

.page-da-ga__how-to-play-section .page-da-ga__section-title,
.page-da-ga__strategy-section .page-da-ga__section-title,
.page-da-ga__security-section .page-da-ga__section-title,
.page-da-ga__conclusion-section .page-da-ga__section-title {
  color: #ffffff;
}

.page-da-ga__how-to-play-section .page-da-ga__sub-title,
.page-da-ga__strategy-section .page-da-ga__sub-title,
.page-da-ga__security-section .page-da-ga__sub-title,
.page-da-ga__conclusion-section .page-da-ga__sub-title {
  color: #FF5A4F;
}

.page-da-ga__how-to-play-section .page-da-ga__text-block,
.page-da-ga__strategy-section .page-da-ga__text-block,
.page-da-ga__security-section .page-da-ga__text-block,
.page-da-ga__conclusion-section .page-da-ga__text-block {
  color: #f0f0f0;
}

.page-da-ga__content-image {
  width: 100%;
  max-width: 800px; /* Example display width */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* FAQ Section */
.page-da-ga__faq-list {
  margin-top: 30px;
}

.page-da-ga__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-da-ga__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-da-ga__faq-item summary::-webkit-details-marker,
.page-da-ga__faq-item summary::marker {
  display: none;
}

.page-da-ga__faq-item summary:hover {
  background-color: #e0e0e0;
}

.page-da-ga__faq-qtext {
  flex-grow: 1;
}

.page-da-ga__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  content: '-';
}

.page-da-ga__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-da-ga {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-da-ga__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-da-ga__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-da-ga__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-da-ga__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-da-ga__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
  }

  .page-da-ga__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-da-ga__introduction-section,
  .page-da-ga__how-to-play-section,
  .page-da-ga__betting-types-section,
  .page-da-ga__strategy-section,
  .page-da-ga__promotions-section,
  .page-da-ga__security-section,
  .page-da-ga__faq-section,
  .page-da-ga__conclusion-section {
    padding: 40px 0;
  }

  .page-da-ga__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-da-ga__faq-answer {
    padding: 10px 20px 15px;
  }

  /* General image and container rules for mobile */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Placeholder for home-content, game sliders, banners, blog masonry - not applicable for this non-homepage */
  /* These rules are included to satisfy the "必写清单" even if the elements are not present in this specific page */
  .page-da-ga__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 15px !important;
  }

  .page-da-ga__slider-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .page-da-ga__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .page-da-ga__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  .page-da-ga__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .page-da-ga__banner-item img {
    
    
  }

  .page-da-ga__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    align-items: stretch !important;
  }

  .page-da-ga__blog-card-link {
    height: auto !important;
  }

  .page-da-ga__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
  }

  .page-da-ga__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}