.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text on light body background */
  background-color: #ffffff;
}

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

.page-the-thao__hero-image-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
}

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

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

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

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

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

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

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-the-thao__grid-3-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-the-thao__info-card,
.page-the-thao__promo-card,
.page-the-thao__tip-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-the-thao__info-card:hover,
.page-the-thao__promo-card:hover,
.page-the-thao__tip-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-the-thao__info-card p,
.page-the-thao__promo-card p,
.page-the-thao__tip-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-the-thao__figure {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

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

.page-the-thao__figure-caption {
  font-size: 0.9rem;
  color: #777777;
  margin-top: 10px;
}

.page-the-thao__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-the-thao__dark-bg .page-the-thao__section-title,
.page-the-thao__dark-bg .page-the-thao__card-title {
  color: #ffffff;
}

.page-the-thao__dark-bg .page-the-thao__hero-description,
.page-the-thao__dark-bg p {
  color: #f0f0f0;
}

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

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

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

.page-the-thao__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #e0f0f8;
  color: #1e87c2;
  border-color: #1e87c2;
}

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

.page-the-thao__btn-login:hover {
  background-color: #c26706;
  border-color: #c26706;
}

.page-the-thao__btn-inline {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-the-thao__btn-inline:hover {
  color: #1e87c2;
}

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

.page-the-thao__guide-step {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-the-thao__guide-step .page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-the-thao__guide-step .page-the-thao__step-title {
  font-size: 1.6rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-the-thao__faq-section {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
}

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-the-thao__faq-question {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-the-thao__cta-bottom {
  text-align: center;
  padding: 80px 20px;
  background-color: #f0f8ff;
}

.page-the-thao__cta-description {
  font-size: 1.2rem;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  }

  .page-the-thao__grid-container,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid,
  .page-the-thao__tips-list {
    gap: 20px;
  }

  .page-the-thao__info-card,
  .page-the-thao__promo-card,
  .page-the-thao__tip-item,
  .page-the-thao__guide-step,
  .page-the-thao__faq-item {
    padding: 25px;
  }

  .page-the-thao__card-title {
    font-size: 1.4rem;
  }

  .page-the-thao__faq-question {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header-offset */
  }

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

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

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

  .page-the-thao__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important; /* Adjust padding for smaller screens */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-the-thao__section,
  .page-the-thao__content-wrapper {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-the-thao__info-card,
  .page-the-thao__promo-card,
  .page-the-thao__tip-item,
  .page-the-thao__guide-step,
  .page-the-thao__faq-item {
    padding: 20px;
  }

  .page-the-thao__card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .page-the-thao__info-card p,
  .page-the-thao__promo-card p,
  .page-the-thao__tip-item p,
  .page-the-thao__faq-answer {
    font-size: 0.95rem;
    line-height: 1.6;
  }

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

  .page-the-thao__hero-image-wrap,
  .page-the-thao__figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 20px auto !important;
  }

  .page-the-thao__figure-caption {
    font-size: 0.85rem;
  }

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

  /* 5. 注册教程与 FAQ 区块 */
  .page-the-thao__guide-step .page-the-thao__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .page-the-thao__guide-step .page-the-thao__step-title {
    font-size: 1.4rem;
  }

  .page-the-thao__faq-question {
    font-size: 1.2rem;
  }

  .page-the-thao__faq-item {
    margin-bottom: 10px;
  }

  .page-the-thao__cta-bottom {
    padding: 50px 15px;
  }

  .page-the-thao__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
}