/* Base styles for the page-the-thao */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #333333);
  line-height: 1.6;
}

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

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

.page-the-thao__text-white {
  color: #ffffff;
}

.page-the-thao__light-bg {
  background-color: var(--background, #F5F7FA);
  color: var(--text-main, #333333);
}

.page-the-thao__dark-section {
  background-color: var(--primary-color, #E53935);
  color: #ffffff;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color, #E53935);
}

.page-the-thao__light-bg .page-the-thao__section-title {
  color: var(--text-main, #333333);
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-the-thao__card {
  background-color: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #333333);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: var(--primary-color, #E53935);
  border: 2px solid var(--primary-color, #E53935);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--primary-color, #E53935);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-the-thao__btn-outline {
  background-color: transparent;
  color: var(--primary-color, #E53935);
  border: 2px solid var(--primary-color, #E53935);
  margin-top: auto; /* Push to bottom of card */
}

.page-the-thao__btn-outline:hover {
  background-color: var(--primary-color, #E53935);
  color: #ffffff;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 50px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 800;
  color: var(--primary-color, #E53935);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  max-width: 60ch; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-description {
  font-size: 1.3em;
  color: var(--text-main, #333333);
  margin-bottom: 30px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
  padding: 80px 0;
}

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

.page-the-thao__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

.page-the-thao__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  color: var(--primary-color, #E53935);
}

.page-the-thao__feature-text {
  font-size: 1em;
  text-align: center;
  flex-grow: 1;
}

/* Popular Sports Section */
.page-the-thao__popular-sports-section {
  padding: 80px 0;
}

.page-the-thao__popular-sports-section .page-the-thao__section-title,
.page-the-thao__popular-sports-section .page-the-thao__section-description {
  color: #ffffff;
}

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

.page-the-thao__sport-item {
  text-align: center;
}

.page-the-thao__sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__sport-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #E53935);
}

.page-the-thao__sport-item .page-the-thao__card {
  background-color: var(--card-bg, #FFFFFF);
  color: var(--text-main, #333333);
}

/* How to Start Section */
.page-the-thao__how-to-start-section {
  padding: 80px 0;
}

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

.page-the-thao__step-card {
  text-align: center;
}

.page-the-thao__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--secondary-color, #FF5A4F);
  margin-bottom: 15px;
}

.page-the-thao__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #E53935);
}

.page-the-thao__step-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 80px 0;
}

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

.page-the-thao__promo-card {
  text-align: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #E53935);
}

.page-the-thao__promo-card .page-the-thao__card {
  background-color: var(--card-bg, #FFFFFF);
  color: var(--text-main, #333333);
}

.page-the-thao__promo-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 80px 0;
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-the-thao__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #333333);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color, #E53935);
  list-style: none; /* For details tag */
  background-color: #f9f9f9;
  border-radius: 8px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: #E53935;
  color: #ffffff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question .page-the-thao__faq-toggle {
  content: '-';
  color: #ffffff;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color, #E53935);
}

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

.page-the-thao__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  background-color: #ffffff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border: 1px solid var(--border-color, #E0E0E0);
  border-top: none;
}

.page-the-thao__faq-cta {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__faq-cta-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main, #333333);
}

/* Final CTA Section */
.page-the-thao__final-cta-section {
  padding: 80px 0;
}

.page-the-thao__final-cta-section .page-the-thao__section-title,
.page-the-thao__final-cta-section .page-the-thao__section-description {
  color: #ffffff;
}

/* Images responsiveness and global styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }

  .page-the-thao__hero-description {
    font-size: 1.2em;
  }

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

  .page-the-thao__features-grid,
  .page-the-thao__sports-list,
  .page-the-thao__steps-grid,
  .page-the-thao__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-the-thao__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-content-wrapper {
    padding: 20px 15px;
  }

  /* General section padding */
  .page-the-thao__why-choose-section,
  .page-the-thao__popular-sports-section,
  .page-the-thao__how-to-start-section,
  .page-the-thao__promotions-section,
  .page-the-thao__faq-section,
  .page-the-thao__final-cta-section {
    padding: 40px 0;
  }

  .page-the-thao__container {
    padding: 0 15px;
  }

  .page-the-thao__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }

  .page-the-thao__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px;
  }

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

  .page-the-thao__hero-image,
  .page-the-thao__feature-icon,
  .page-the-thao__sport-image,
  .page-the-thao__promo-image {
    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;
  }

  .page-the-thao__features-grid,
  .page-the-thao__sports-list,
  .page-the-thao__steps-grid,
  .page-the-thao__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__sport-title,
  .page-the-thao__step-title,
  .page-the-thao__promo-title {
    font-size: 1.4em !important;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* FAQ specific mobile styles */
  .page-the-thao__faq-question {
    font-size: 1em !important;
    padding: 12px 15px;
  }

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

  .page-the-thao__faq-list {
    margin-top: 30px;
  }

  /* No specific styles for long text gold frame, game carousel, or 6-grid partners as this is a non-homepage */
  /* blog-masonry and blog-slider-track are not present in this page */
}

/* No specific styles for long text gold frame, game carousel, or 6-grid partners as this is a non-homepage */
/* The following selectors are not used in this specific page, but are included in the checklist template. */
/* If they were used, their mobile rules would be here. */
.page-the-thao__home-content { /* Not used on this page */ }
.page-the-thao__row-games { /* Not used on this page */ }
.page-the-thao__row-sport { /* Not used on this page */ }
.page-the-thao__row-coop { /* Not used on this page */ }
.page-the-thao__games-title { /* Not used on this page */ }
.page-the-thao__sport-title { /* Not used on this page */ }
.page-the-thao__coop-title { /* Not used on this page */ }
.page-the-thao__slider-wrapper { /* Not used on this page */ }
.page-the-thao__slider-track { /* Not used on this page */ }
.page-the-thao__game-slide { /* Not used on this page */ }
.page-the-thao__banners-top-wrapper { /* Not used on this page */ }
.page-the-thao__banner-item img { /* Not used on this page */ }
.page-the-thao__blog-masonry { /* Not used on this page */ }
.page-the-thao__blog-card-link { /* Not used on this page */ }
.page-the-thao__blog-slider-track { /* Not used on this page */ }
.page-the-thao__blog-slide { /* Not used on this page */ }