.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__text-center {
  text-align: center;
}

.page-the-thao__mt-40 {
  margin-top: 40px;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFD36B; /* Glow color */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-the-thao__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #3A2A12; /* Border */
}

.page-the-thao__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111;
  border-color: #F2C14E;
}

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-the-thao__feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  flex: 1 1 30%;
  min-width: 280px;
  text-align: center;
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__icon-box-media {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-the-thao__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Bet Types Section */
.page-the-thao__bet-types-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-the-thao__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-the-thao__card-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Sports Section */
.page-the-thao__sports-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

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

.page-the-thao__sport-item {
  /* Inherits .page-the-thao__card styles */
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-the-thao__guide-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__guide-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-the-thao__guide-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__guide-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Promo Section */
.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

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

.page-the-thao__promo-card {
  /* Inherits .page-the-thao__card styles */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-the-thao__promo-card .page-the-thao__btn-secondary {
  margin-top: 20px;
  align-self: center; /* Center the button */
}

/* Trust Section */
.page-the-thao__trust-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-the-thao__reason-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__reason-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 45px;
}

.page-the-thao__reason-list li::before {
  content: '✓';
  color: #F2C14E;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: #F2C14E;
  font-weight: bold;
  cursor: pointer;
  background-color: #0A0A0A;
  user-select: none;
  list-style: none; /* Remove default marker */
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker in Chrome/Safari */
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.5;
}

/* CTA Bottom Section */
.page-the-thao__cta-bottom-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* General Image Styling */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__hero-content {
    order: 2;
    text-align: center;
  }

  .page-the-thao__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

  .page-the-thao__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__text-block,
  .page-the-thao__hero-description {
    font-size: 1em;
  }

  /* HERO 双栏 */
  .page-the-thao__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  /* 按钮与按钮容器 */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao 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: 1em;
  }

  /* 模块1 三栏正圆图 */
  .page-the-thao__feature-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__feature-item {
    padding: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }

  /* 七 Tab 游戏区 (Not applicable here as it's not a tabbed game section) */

  /* 教程长文 / 促销 / 信任 / FAQ / intro 排版 */
  .page-the-thao__intro-section,
  .page-the-thao__bet-types-section,
  .page-the-thao__sports-section,
  .page-the-thao__guide-section,
  .page-the-thao__promo-section,
  .page-the-thao__trust-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-the-thao__bet-type-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__card,
  .page-the-thao__guide-item,
  .page-the-thao__reason-list li,
  .page-the-thao__faq-item {
    padding: 20px;
  }

  .page-the-thao__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__reason-list li {
    padding-left: 35px;
  }

  .page-the-thao__reason-list li::before {
    left: 10px;
    font-size: 1em;
  }

  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }

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

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}