.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

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

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Adhering to the 10px rule for first section */
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

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

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  width: 100%; /* Ensure container takes full width for responsive buttons */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-the-thao__cta-buttons--center {
  margin-top: 30px;
}

.page-the-thao__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
}

.page-the-thao__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-the-thao__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

/* General Sections */
.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

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

.page-the-thao__light-bg {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  padding: 60px 0;
  color: #ffffff;
}

.page-the-thao__text-block {
  margin-bottom: 20px;
}

.page-the-thao__highlight {
  color: #017439;
  font-weight: bold;
}

.page-the-thao__dark-bg .page-the-thao__highlight {
  color: #FFFF00; /* Yellow highlight for dark background */
}

/* Why Choose Section */
.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards are same height */
}

.page-the-thao__feature-icon {
  width: 100px; /* Ensure images are not small icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-the-thao__card-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-the-thao__card-description--white {
  color: #f0f0f0;
}

/* Types Section */
.page-the-thao__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-the-thao__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-the-thao__list li {
  margin-bottom: 10px;
}

.page-the-thao__image-wrapper {
  text-align: center;
}

.page-the-thao__image-wrapper--center {
  margin-top: 40px;
}

.page-the-thao__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* How to Join Section */
.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

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

.page-the-thao__tip-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__tip-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-the-thao__tip-description {
  font-size: 1rem;
  color: #555555;
}

/* Benefits Section */
.page-the-thao__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-the-thao__faq-item[open] > .page-the-thao__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate to indicate open */
}

.page-the-thao__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
}

.page-the-thao__faq-answer p {
  margin-bottom: 0;
}

/* CTA Bottom Section */
.page-the-thao__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
}

.page-the-thao__cta-bottom-section .page-the-thao__main-title,
.page-the-thao__cta-bottom-section .page-the-thao__hero-description {
  color: #ffffff;
}
.page-the-thao__cta-bottom-section .page-the-thao__highlight {
  color: #FFFF00;
}

/* --- Mandatory Mobile Media Queries --- */

/* 1. HERO 主图区域 */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* 10px top padding for mobile */
    padding-bottom: 30px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
  }
}

/* 2. 长文金框区 - .page-the-thao__home-content (Not used on this page, but must be in CSS) */
@media (max-width: 768px) {
  .page-the-thao__home-content {
    height: auto; /* Auto height for mobile */
    overflow-y: visible; /* Allow content to expand */
    padding: 20px;
  }
  .page-the-thao__home-content h2 {
    font-size: 1.8rem;
  }
}

/* 3. 游戏轮播 - __slider-track, __slider-wrapper (Not used on this page, but must be in CSS) */
@media (max-width: 768px) {
  .page-the-thao__slider-wrapper {
    overflow-x: auto; /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px; /* Space for scrollbar */
  }
  .page-the-thao__slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap;
    gap: 10px;
  }
  .page-the-thao__game-slide {
    flex: 0 0 160px; /* Single card width for mobile */
    max-width: 160px;
  }
}

/* 4. 合作品牌六宫格 - __banners-top-wrapper (Not used on this page, but must be in CSS) */
@media (max-width: 768px) {
  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns mobile */
    gap: 10px;
    padding: 0 15px;
  }
  .page-the-thao__banner-item img {
    
    
  }
}

/* 5. 博客卡片区 - __blog-masonry, __blog-slider-track (Not used on this page, but must be in CSS) */
@media (max-width: 768px) {
  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr; /* 1 column for mobile */
    padding: 0 15px;
  }
  .page-the-thao__blog-slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap;
    gap: 15px;
  }
  .page-the-thao__blog-slide {
    flex: 0 0 100%; /* Single slide width for mobile */
    max-width: 100%;
  }
}

/* 6. 通用图片与容器 */
@media (max-width: 768px) {
  .page-the-thao__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-the-thao__content-grid {
    grid-template-columns: 1fr; /* Stack content grid on mobile */
  }
  .page-the-thao__features-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__tips-grid,
  .page-the-thao__benefits-list {
    grid-template-columns: 1fr; /* Stack grids on mobile */
  }
  .page-the-thao__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}

/* 7. 按钮与按钮容器 */
@media (max-width: 768px) {
  .page-the-thao__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding: 0 15px;
  }
  .page-the-thao__btn,
  .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;
  }
}