:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Body background is dark (--deep-navy), so use light text */
  background-color: var(--deep-navy); /* Ensure consistency if body background is not inherited */
  line-height: 1.6;
}

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

.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-navy);
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  max-height: 550px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary,
.page-the-thao__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%; /* Base for responsive buttons */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

.page-the-thao__btn-secondary {
  background: none;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-the-thao__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-main);
  transform: translateY(-3px);
}

.page-the-thao__btn-tertiary {
  background: var(--primary-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-the-thao__btn-tertiary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.page-the-thao__card-button {
  background: var(--secondary-color);
  color: var(--text-main);
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
  margin-top: 15px;
}

.page-the-thao__card-button:hover {
  background: var(--primary-color);
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(79, 168, 255, 0.3);
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__highlight {
  color: var(--gold-color);
  font-weight: 600;
}

.page-the-thao__introduction-section,
.page-the-thao__sports-categories-section,
.page-the-thao__features-section,
.page-the-thao__get-started-section,
.page-the-thao__promotions-section,
.page-the-thao__why-choose-us-section,
.page-the-thao__integration-section,
.page-the-thao__faq-section,
.page-the-thao__cta-final-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-the-thao__sports-categories-section {
  background: linear-gradient(to bottom, var(--deep-navy) 0%, var(--primary-color) 100%);
}

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

.page-the-thao__category-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 15px;
}

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

.page-the-thao__feature-item {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-the-thao__feature-item img {
  width: 200px;
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__feature-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-the-thao__step-item {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-the-thao__step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(29, 95, 209, 0.5);
}

.page-the-thao__step-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.page-the-thao__promo-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__full-promo-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-the-thao__reason-item {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-the-thao__reason-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__reason-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__reason-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

/* FAQ Styles */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}

details.page-the-thao__faq-item summary.page-the-thao__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;
}

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: var(--primary-color);
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px;
  background: var(--deep-navy);
  border-radius: 0 0 10px 10px;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.page-the-thao__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

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

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .page-the-thao__hero-image img {
    aspect-ratio: 16/10;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }
  .page-the-thao__text-block {
    font-size: 1rem;
  }
  .page-the-thao__category-card img {
    
  }
  .page-the-thao__promo-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding */
  }
  .page-the-thao__hero-image {
    max-height: 300px;
  }
  .page-the-thao__hero-image img {
    object-fit: contain !important; /* 禁止 cover 裁切两侧 */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-the-thao__hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .page-the-thao__hero-cta-buttons,
  .page-the-thao__integration-cta-buttons,
  .page-the-thao__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  
  /* 按钮与按钮容器 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao__card-button,
  .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__hero-cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    margin-bottom: 30px;
    margin-top: 40px;
    padding: 0 15px;
  }
  .page-the-thao__text-block {
    font-size: 0.95rem;
    padding: 0 15px;
    text-align: left;
  }

  /* 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__container,
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* 产品展示图区域 (categories-grid, promo-card) */
  .page-the-thao__categories-grid,
  .page-the-thao__promotion-cards,
  .page-the-thao__reasons-grid,
  .page-the-thao__features-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-the-thao__category-card img {
    
  }
  .page-the-thao__promo-card img {
    
  }

  /* FAQ */
  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }
  .page-the-thao__faq-qtext {
    font-size: 1rem;
  }
  .page-the-thao__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 15px 15px;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer p {
    font-size: 0.95rem;
  }

  /* 长文 SEO 区 */
  .page-the-thao__introduction-section .page-the-thao__container,
  .page-the-thao__integration-section .page-the-thao__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-the-thao__hero-content {
    margin-top: -40px;
  }
  .page-the-thao__hero-cta-buttons {
    gap: 10px;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .page-the-thao__category-card img {
    
  }
  .page-the-thao__promo-card img {
    
  }
  .page-the-thao__feature-item img,
  .page-the-thao__reason-item img {
    
    
  }
}