/* CSS file for Đá Gà Trực Tiếp page */

/* Custom Colors */
:root {
  --page-da-ga-primary-color: #2F6BFF;
  --page-da-ga-secondary-color: #6FA3FF;
  --page-da-ga-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --page-da-ga-card-bg: #FFFFFF;
  --page-da-ga-background: #F4F7FB;
  --page-da-ga-text-main: #1F2D3D;
  --page-da-ga-text-custom-black: #000000;
  --page-da-ga-border-color: #D6E2FF;
  --page-da-ga-glow-color: #A5C4FF;
}

/* General Page Styling */
.page-da-ga {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-da-ga-text-main); /* Dark text on light body background */
  background-color: var(--page-da-ga-background);
}

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

.page-da-ga__section-title {
  font-size: 2.5em;
  color: var(--page-da-ga-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-da-ga__sub-title {
  font-size: 1.8em;
  color: var(--page-da-ga-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-da-ga__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__content-area {
  margin-bottom: 40px;
}

.page-da-ga__content-area p {
  margin-bottom: 15px;
}

.page-da-ga__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-da-ga__hero-section {
  position: relative;
  padding-top: 10px; /* Assuming body handles --header-offset */
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-da-ga__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for hero image container */
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

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

.page-da-ga__hero-content {
  position: relative;
  background-color: var(--page-da-ga-card-bg);
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  z-index: 1;
}

.page-da-ga__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--page-da-ga-primary-color);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* CTA Buttons */
.page-da-ga__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-da-ga__btn-primary {
  background: var(--page-da-ga-button-gradient);
  color: #ffffff; /* White text on primary button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-da-ga__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-da-ga__btn-secondary {
  background: var(--page-da-ga-card-bg);
  color: var(--page-da-ga-primary-color); /* Primary color text on secondary button */
  border: 2px solid var(--page-da-ga-primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-da-ga__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--page-da-ga-primary-color);
  color: #ffffff;
}

.page-da-ga__mt-20 {
  margin-top: 20px;
}

.page-da-ga__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Section Styling */
.page-da-ga__introduction-section,
.page-da-ga__betting-guide-section,
.page-da-ga__promotions-section,
.page-da-ga__faq-section {
  padding: 60px 0;
  background-color: var(--page-da-ga-background); /* Light background */
}

.page-da-ga__types-section,
.page-da-ga__schedule-results-section,
.page-da-ga__security-section,
.page-da-ga__cta-final-section {
  padding: 60px 0;
  background-color: var(--page-da-ga-primary-color); /* Dark section background */
  color: #ffffff; /* White text on dark background */
}

.page-da-ga__types-section .page-da-ga__section-title,
.page-da-ga__schedule-results-section .page-da-ga__section-title,
.page-da-ga__security-section .page-da-ga__section-title,
.page-da-ga__cta-final-section .page-da-ga__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-da-ga__types-section .page-da-ga__sub-title,
.page-da-ga__schedule-results-section .page-da-ga__sub-title,
.page-da-ga__security-section .page-da-ga__sub-title,
.page-da-ga__cta-final-section .page-da-ga__sub-title {
  color: #ffffff;
}

.page-da-ga__types-section .page-da-ga__description,
.page-da-ga__schedule-results-section .page-da-ga__description,
.page-da-ga__security-section .page-da-ga__description,
.page-da-ga__cta-final-section .page-da-ga__description {
  color: #f0f0f0;
}

/* Grid for Types Section */
.page-da-ga__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-da-ga__grid-item {
  background-color: var(--page-da-ga-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--page-da-ga-text-main);
}

.page-da-ga__grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-da-ga__grid-item .page-da-ga__card-title {
  font-size: 1.5em;
  color: var(--page-da-ga-primary-color);
  margin-bottom: 10px;
}

/* FAQ Section */
.page-da-ga__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-da-ga__faq-item {
  background-color: var(--page-da-ga-card-bg);
  border: 1px solid var(--page-da-ga-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-da-ga__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-da-ga-text-main);
  cursor: pointer;
  list-style: none;
}

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

.page-da-ga__faq-item summary::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

.page-da-ga__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #555555;
}

.page-da-ga__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-da-ga__cta-final-section {
  text-align: center;
  padding: 80px 0;
}

.page-da-ga__cta-final-section .page-da-ga__description {
  color: #f0f0f0;
}

/* Copyright Section */
.page-da-ga__copyright-section {
  padding: 30px 0;
  background-color: var(--page-da-ga-card-bg);
  text-align: center;
  border-top: 1px solid var(--page-da-ga-border-color);
}

.page-da-ga__copyright-text {
  font-size: 0.9em;
  color: #777777;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-da-ga__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
    max-width: 700px;
  }

  .page-da-ga__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-da-ga__section-title {
    font-size: 2em;
  }

  .page-da-ga__sub-title {
    font-size: 1.6em;
  }

  .page-da-ga__description {
    font-size: 1em;
  }

  .page-da-ga__grid-item img {
    
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    padding-top: 10px;
    margin-bottom: 40px;
  }

  .page-da-ga__hero-image {
    max-height: 400px;
  }

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

  .page-da-ga__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    max-width: 90%;
  }

  .page-da-ga__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-da-ga__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  /* Section padding */
  .page-da-ga__introduction-section,
  .page-da-ga__types-section,
  .page-da-ga__betting-guide-section,
  .page-da-ga__schedule-results-section,
  .page-da-ga__promotions-section,
  .page-da-ga__security-section,
  .page-da-ga__faq-section,
  .page-da-ga__cta-final-section {
    padding: 40px 0;
  }

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

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

  /* 通用图片与容器 */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container,
  .page-da-ga__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Grid for Types Section - single column */
  .page-da-ga__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__grid-item img {
    
  }

  /* 按钮与按钮容器 */
  .page-da-ga__cta-buttons,
  .page-da-ga__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
  }

  /* 长文区 */
  .page-da-ga p,
  .page-da-ga li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* FAQ */
  .page-da-ga__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  /* No blog section on this page, but if it were: */
  /* .page-da-ga__blog-slide { flex: 0 0 100% !important; max-width: 100% !important; } */
  /* .page-da-ga__blog-slider-track { display: flex !important; flex-wrap: nowrap !important; } */
}

@media (max-width: 480px) {
  .page-da-ga__hero-content {
    margin-top: -30px;
    padding: 20px 10px;
  }

  .page-da-ga__main-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }

  .page-da-ga__section-title {
    font-size: 1.6em;
  }

  .page-da-ga__sub-title {
    font-size: 1.2em;
  }

  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }

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

  .page-da-ga__faq-answer {
    font-size: 0.95em;
    padding: 0 15px 12px;
  }
}