/* Base styles for the Đá Gà page */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-da-ga__section {
  padding: 60px 0;
  text-align: center;
}

.page-da-ga__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-da-ga__section-description {
  font-size: 18px;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-da-ga__article-subtitle {
  font-size: clamp(22px, 3vw, 28px);
  color: #1F2D3D;
  margin: 30px 0 15px;
  font-weight: 600;
  text-align: left;
}

.page-da-ga__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-da-ga__article-body p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-da-ga__article-body ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.page-da-ga__article-body li {
  margin-bottom: 8px;
  font-size: 17px;
}

/* Hero Section */
.page-da-ga__hero-section {
  position: relative;
  padding-top: 10px; /* As per fixed header spacing rule */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #F4F7FB;
}

.page-da-ga__hero-image-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.page-da-ga__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 30px;
}

.page-da-ga__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #1F2D3D;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-da-ga__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: #1F2D3D;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* CTA Buttons */
.page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-da-ga__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-da-ga__btn-secondary:hover {
  background: #F4F7FB;
  color: #2F6BFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* About Section */
.page-da-ga__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-da-ga__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-da-ga__text-block {
  flex: 1;
}

.page-da-ga__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-da-ga__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Rules & Tips Sections */
.page-da-ga__light-bg {
  background-color: #FFFFFF; /* Card BG */
}

/* Why Choose Section */
.page-da-ga__dark-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__section-title,
.page-da-ga__dark-section .page-da-ga__section-description {
  color: #ffffff;
}

.page-da-ga__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-da-ga__feature-list li {
  margin-bottom: 25px;
  text-align: left;
}

.page-da-ga__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-da-ga__feature-list p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f8ff;
}

/* Live Matches Section */
.page-da-ga__match-schedule-table {
  margin-top: 40px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-da-ga__table-responsive {
  overflow-x: auto;
}

.page-da-ga__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.page-da-ga__table th,
.page-da-ga__table td {
  padding: 15px 20px;
  border-bottom: 1px solid #D6E2FF; /* Border */
  font-size: 16px;
}

.page-da-ga__table th {
  background-color: #F4F7FB;
  font-weight: 700;
  color: #1F2D3D;
  white-space: nowrap;
}

.page-da-ga__table tbody tr:last-child td {
  border-bottom: none;
}

.page-da-ga__table tbody tr:hover {
  background-color: #f9f9f9;
}

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

details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-da-ga__faq-item summary.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D;
  font-weight: 600;
}

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: #F4F7FB;
}

.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.page-da-ga__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 25px 20px;
  background: #f9fcfd;
  border-top: 1px solid #f0f5fa;
  border-radius: 0 0 8px 8px;
  color: #1F2D3D;
  font-size: 16px;
}

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

/* Final CTA Section */
.page-da-ga__cta-content {
  max-width: 900px;
}

/* Global image settings for content area */
.page-da-ga img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__container {
    padding: 0 15px;
  }

  .page-da-ga__section {
    padding: 40px 0;
  }

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

  .page-da-ga__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-da-ga__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }

  .page-da-ga__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .page-da-ga__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-da-ga__content-grid--reverse {
    flex-direction: column;
  }

  .page-da-ga__feature-title {
    font-size: 20px;
  }

  .page-da-ga__table th,
  .page-da-ga__table td {
    padding: 12px 15px;
    font-size: 15px;
  }

  .page-da-ga__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 849px) {
  .page-da-ga__hero-image {
    object-fit: contain !important; /* HERO 主图区域: 移动 object-fit:contain !important; */
    aspect-ratio: unset !important; /* aspect-ratio:unset; */
  }
}

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

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

  .page-da-ga__section {
    padding: 30px 0;
  }

  .page-da-ga__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }

  .page-da-ga__section-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-da-ga__hero-image-wrap {
    height: 250px;
  }

  .page-da-ga__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .page-da-ga__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* Buttons and button containers */
  .page-da-ga__cta-buttons {
    flex-direction: column !important; /* 多个按钮在移动端垂直排列 */
    gap: 10px !important;
    width: 100% !important;
    max-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 15px;
    font-size: 16px;
  }

  /* Content area images */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-da-ga__content-grid,
  .page-da-ga__content-grid--reverse {
    flex-direction: column;
    gap: 20px;
  }

  .page-da-ga__text-block,
  .page-da-ga__image-wrapper {
    width: 100%;
    flex: none;
  }

  .page-da-ga__article-body {
    padding: 0 10px;
  }

  .page-da-ga__article-body p,
  .page-da-ga__article-body li {
    font-size: 16px;
  }

  .page-da-ga__article-subtitle {
    font-size: clamp(20px, 6vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Table responsive */
  .page-da-ga__table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-da-ga__table {
    display: block;
    width: 100%;
    white-space: nowrap; /* Prevent text wrapping in table cells */
  }

  .page-da-ga__table thead, .page-da-ga__table tbody, .page-da-ga__table th, .page-da-ga__table td, .page-da-ga__table tr {
    display: block;
  }

  .page-da-ga__table th,
  .page-da-ga__table td {
    padding: 10px 15px;
    font-size: 14px;
    text-align: right;
    border-bottom: 1px solid #D6E2FF;
  }

  .page-da-ga__table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 10px;
  }

  .page-da-ga__table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .page-da-ga__table tbody tr {
    margin-bottom: 15px;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .page-da-ga__table tbody tr:last-child td {
    border-bottom: 1px solid #D6E2FF; /* Ensure all cells have border */
  }

  .page-da-ga__faq-item summary.page-da-ga__faq-question {
    padding: 15px 20px;
  }

  .page-da-ga__faq-qtext {
    font-size: 16px;
  }

  .page-da-ga__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

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

  .page-da-ga__cta-content {
    padding: 0 15px;
  }
}