/* 样式作用域限制在 .page-the-thao 内 */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #FFF5E1); /* Default to light text for dark sections */
  background-color: var(--page-bg, #B71C1C);
}

.page-the-thao__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-the-thao__dark-bg {
  background-color: #B71C1C;
  color: #FFF5E1;
}

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

.page-the-thao__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #333333;
  line-height: 1.2;
}

.page-the-thao__section-title--light {
  color: #FFF5E1;
}

.page-the-thao__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__section-description--light {
  color: #f0f0f0;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #FFD86A; /* Gold for contrast */
  border: 2px solid #FFD86A;
  box-shadow: none;
}

.page-the-thao__btn-secondary:hover {
  background: rgba(255, 216, 106, 0.1);
  color: #FFF5E1;
  border-color: #FFF5E1;
}

.page-the-thao__btn-link {
  background: transparent;
  color: #C91F17;
  border: 1px solid #C91F17;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 600;
}

.page-the-thao__btn-link:hover {
  background: #C91F17;
  color: #FFF5E1;
}

.page-the-thao__btn--center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
  min-width: 220px;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  background-color: #B71C1C;
}

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

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

.page-the-thao__hero-content {
  max-width: 900px;
  margin: 30px auto 0;
  text-align: center;
  padding: 0 20px;
  color: #FFF5E1;
}

.page-the-thao__main-title {
  font-size: clamp(28px, 4vw, 56px); /* Responsive font size */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold title for impact */
}

.page-the-thao__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
}

.page-the-thao__intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-the-thao__intro-content p {
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
  max-width: 900px;
  margin: 0;
  color: #333333;
}

.page-the-thao__intro-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sports Options Section */
.page-the-thao__sports-options-section {
  padding: 60px 0;
}

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

.page-the-thao__sports-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #FFF5E1;
}

.page-the-thao__sports-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-the-thao__sports-card-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #FFD86A;
}

.page-the-thao__sports-card-text {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Why B52 Section */
.page-the-thao__why-b52-section {
  padding: 60px 0;
}

.page-the-thao__why-b52-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-the-thao__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-the-thao__feature-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #333333;
}

.page-the-thao__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: #C91F17;
}

.page-the-thao__feature-item p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #555555;
}

.page-the-thao__why-b52-image-wrapper {
  text-align: center;
}

.page-the-thao__why-b52-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.page-the-thao__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
  color: #FFF5E1;
}

.page-the-thao__step-number {
  counter-increment: step-counter;
  width: 40px;
  height: 40px;
  min-width: 40px; /* Ensure number doesn't shrink */
  background-color: #FFD86A; /* Gold */
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
}

.page-the-thao__step-content {
  flex: 1;
}

.page-the-thao__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FFD86A;
}

.page-the-thao__step-content p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #f0f0f0;
}

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

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-the-thao__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #C91F17;
}

.page-the-thao__promo-card-title a {
  color: #C91F17;
  text-decoration: none;
}

.page-the-thao__promo-card-title a:hover {
  text-decoration: underline;
}

.page-the-thao__promo-card-text {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 15px 20px;
  flex-grow: 1;
  color: #555555;
}

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

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #f5f5f5;
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-the-thao__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Final CTA Section */
.page-the-thao__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__final-cta-content {
  max-width: 800px;
}

/* Global image styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default object-fit */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__section-title {
    font-size: 32px;
  }

  .page-the-thao__hero-content {
    margin-top: 20px;
  }

  .page-the-thao__why-b52-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__why-b52-image-wrapper {
    order: -1; /* Image first on smaller screens */
    margin-bottom: 30px;
  }

  .page-the-thao__promo-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-the-thao__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-the-thao__hero-content {
    padding: 0 15px;
    margin-top: 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(24px, 7vw, 40px);
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 10px 20px;
  }

  .page-the-thao__section-title {
    font-size: 28px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-the-thao__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-the-thao__intro-section,
  .page-the-thao__sports-options-section,
  .page-the-thao__why-b52-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;
    width: 100%;
    box-sizing: border-box;
  }

  .page-the-thao__intro-content p {
    font-size: 15px;
  }

  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sports-card-image {
    height: 200px;
  }

  .page-the-thao__sports-card-title {
    font-size: 20px;
  }

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

  .page-the-thao__feature-title {
    font-size: 18px;
  }

  .page-the-thao__feature-item p {
    font-size: 15px;
  }

  .page-the-thao__why-b52-image {
    max-width: 100%;
  }

  .page-the-thao__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
  }

  .page-the-thao__step-number {
    margin-bottom: 15px;
  }

  .page-the-thao__step-title {
    font-size: 20px;
  }

  .page-the-thao__step-content p {
    font-size: 15px;
  }

  .page-the-thao__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__promo-card-image {
    height: 160px;
  }

  .page-the-thao__promo-card-title {
    font-size: 18px;
  }

  .page-the-thao__promo-card-text {
    font-size: 15px;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question { padding: 15px; }
  .page-the-thao__faq-qtext { font-size: 15px; }
  details.page-the-thao__faq-item .page-the-thao__faq-answer { padding: 0 15px 15px; }

  /* General image and container responsiveness */
  .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,
  .page-the-thao__intro-content,
  .page-the-thao__sports-grid,
  .page-the-thao__why-b52-grid,
  .page-the-thao__steps-list,
  .page-the-thao__promotions-grid,
  .page-the-thao__faq-list,
  .page-the-thao__final-cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}