/* Base styles for the Đá Gà S88 page */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

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

.page-da-ga__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  line-height: 1.2;
}

.page-da-ga__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-da-ga__article-body p {
  margin-bottom: 1em;
  text-align: justify;
}

.page-da-ga__article-body ul,
.page-da-ga__article-body ol {
  margin-bottom: 1em;
  padding-left: 25px;
}

.page-da-ga__article-body li {
  margin-bottom: 0.5em;
}

.page-da-ga__article-figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-da-ga__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #0D0E12;
}

.page-da-ga__hero-image {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.page-da-ga__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-da-ga__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for text readability */
  border-radius: 10px;
  margin-top: -150px; /* Pull content up slightly over the image */
}

.page-da-ga__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 176, 77, 0.5);
}

.page-da-ga__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF3E6;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

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

.page-da-ga__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

/* Section Specific Styles */
.page-da-ga__introduction-section,
.page-da-ga__guide-section,
.page-da-ga__advantages-section,
.page-da-ga__faq-section {
  padding: 60px 0;
}

.page-da-ga__bet-types-section,
.page-da-ga__tips-section,
.page-da-ga__promotions-section,
.page-da-ga__conclusion-section {
  padding: 60px 0;
  background-color: #121419; /* Slightly lighter dark background for contrast */
}

.page-da-ga__dark-bg {
  background-color: #0D0E12;
}

.page-da-ga__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
}

.page-da-ga__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
}

.page-da-ga__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-da-ga__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-da-ga__card-description {
  font-size: 15px;
  color: #FFF3E6;
}

/* Guide Section */
.page-da-ga__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-da-ga__guide-list li {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding-left: 80px; /* Space for counter */
}

.page-da-ga__guide-list li::before {
  counter-increment: guide-counter;
  content: "0" counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 36px;
  font-weight: 800;
  color: #FFA53A;
  line-height: 1;
}

.page-da-ga__guide-list li h3 {
  font-size: 24px;
  color: #FFB04D;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-da-ga__guide-list li p {
  color: #FFF3E6;
}

.page-da-ga__guide-cta,
.page-da-ga__promo-cta,
.page-da-ga__conclusion-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  color: #FFF3E6;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question:hover {
  background: #252830;
}
.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D;
}
.page-da-ga__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12;
  border-radius: 0 0 5px 5px;
}
details.page-da-ga__faq-item .page-da-ga__faq-answer p {
  margin-top: 10px;
  color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__hero-content {
    margin-top: -100px;
  }
  .page-da-ga__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-da-ga__hero-description {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-da-ga__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }
  .page-da-ga__card-title {
    font-size: 20px;
  }
  .page-da-ga__guide-list li h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Still 10px, relying on body for offset */
  }
  .page-da-ga__hero-image img {
    object-fit: contain !important; /* Mobile: contain to avoid cropping */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-da-ga__hero-content {
    margin-top: -80px; /* Adjust overlap */
    padding: 20px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-da-ga__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-da-ga__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 20px;
  }
  .page-da-ga__cta-buttons {
    flex-direction: column; /* Vertical stack for buttons */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 / Content Grid */
  .page-da-ga__content-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
    gap: 20px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-da-ga__card {
    padding: 20px;
  }
  .page-da-ga__card-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .page-da-ga__card-title {
    font-size: 18px;
  }
  .page-da-ga__card-description {
    font-size: 14px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-da-ga__section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 25px;
    padding: 0 15px;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-da-ga__article-body {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-da-ga__article-body p,
  .page-da-ga__article-body li {
    font-size: 15px;
    text-align: left;
  }
  .page-da-ga__article-figure {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* 通用图片与容器 */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-da-ga__container,
  .page-da-ga__introduction-section,
  .page-da-ga__bet-types-section,
  .page-da-ga__guide-section,
  .page-da-ga__tips-section,
  .page-da-ga__advantages-section,
  .page-da-ga__promotions-section,
  .page-da-ga__faq-section,
  .page-da-ga__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .page-da-ga a[class*="button"],
  .page-da-ga a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-da-ga__cta-buttons,
  .page-da-ga__guide-cta,
  .page-da-ga__promo-cta,
  .page-da-ga__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for CTAs */
  }

  /* Guide List */
  .page-da-ga__guide-list li {
    padding-left: 60px;
    padding: 15px;
  }
  .page-da-ga__guide-list li::before {
    font-size: 30px;
    left: 15px;
    top: 15px;
  }
  .page-da-ga__guide-list li h3 {
    font-size: 18px;
  }

  /* FAQ */
  details.page-da-ga__faq-item summary.page-da-ga__faq-question { padding: 15px; }
  .page-da-ga__faq-qtext { font-size: 16px; }
  .page-da-ga__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-da-ga__faq-item .page-da-ga__faq-answer { padding: 0 15px 15px; }
}