:root {
  --page-the-thao--primary-color: #C91F17;
  --page-the-thao--secondary-color: #E53935;
  --page-the-thao--card-bg: #D32F2F;
  --page-the-thao--section-bg: #B71C1C;
  --page-the-thao--text-main-color: #FFF5E1;
  --page-the-thao--border-color: #F2B544;
  --page-the-thao--glow-color: #FFCC66;
  --page-the-thao--gold-color: #F4D34D;
  --page-the-thao--deep-red-color: #7A0E0E;
  --page-the-thao--button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --page-the-thao--dark-text: #333333;
  --page-the-thao--light-text: #ffffff;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--page-the-thao--dark-text); /* Default text color for light body background */
  line-height: 1.6;
  font-size: 16px;
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: var(--page-the-thao--deep-red-color);
}

.page-the-thao__hero-image-wrap {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  color: var(--page-the-thao--light-text);
  background-color: var(--page-the-thao--deep-red-color);
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-the-thao--text-main-color);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-the-thao__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-the-thao--light-text);
}

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

.page-the-thao__cta-buttons--centered {
  margin-top: 30px;
  margin-bottom: 20px;
}

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

.page-the-thao__btn--primary {
  background: var(--page-the-thao--button-gradient);
  color: var(--page-the-thao--dark-text);
  border: 2px solid var(--page-the-thao--gold-color);
  box-shadow: 0 0 10px var(--page-the-thao--glow-color);
}

.page-the-thao__btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--page-the-thao--glow-color);
}

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

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

.page-the-thao__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-the-thao--primary-color);
  line-height: 1.3;
}

.page-the-thao__section-title--light {
  color: var(--page-the-thao--text-main-color);
}

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

.page-the-thao__dark-section {
  background-color: var(--page-the-thao--section-bg);
  color: var(--page-the-thao--text-main-color);
}

.page-the-thao__text-main {
  color: var(--page-the-thao--text-main-color);
  text-align: center;
  margin-bottom: 30px;
}

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

.page-the-thao__info-card {
  background-color: var(--page-the-thao--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--page-the-thao--text-main-color);
  border: 1px solid var(--page-the-thao--border-color);
}

.page-the-thao__info-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-the-thao--text-main-color);
}

.page-the-thao__card-text {
  font-size: 1rem;
  color: var(--page-the-thao--text-main-color);
}

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

.page-the-thao__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

.page-the-thao__dark-section .page-the-thao__figcaption {
  color: var(--page-the-thao--light-text);
}

.page-the-thao__numbered-list, .page-the-thao__bullet-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__numbered-list .page-the-thao__list-item {
  counter-increment: list-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
}

.page-the-thao__numbered-list .page-the-thao__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--page-the-thao--primary-color);
  color: var(--page-the-thao--text-main-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid var(--page-the-thao--gold-color);
}

.page-the-thao__bullet-list .page-the-thao__list-item {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  color: var(--page-the-thao--text-main-color);
}

.page-the-thao__bullet-list .page-the-thao__list-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--page-the-thao--gold-color);
  font-size: 1.5rem;
  line-height: 1;
}

.page-the-thao__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-the-thao--primary-color);
}

.page-the-thao__dark-section .page-the-thao__list-title {
  color: var(--page-the-thao--text-main-color);
}

.page-the-thao__promo-box {
  background-color: var(--page-the-thao--secondary-color);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-the-thao--border-color);
}

.page-the-thao__promo-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--page-the-thao--text-main-color);
  margin-bottom: 15px;
}

.page-the-thao__promo-text {
  font-size: 1.1rem;
  color: var(--page-the-thao--text-main-color);
  margin-bottom: 25px;
}

.page-the-thao__grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__grid-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 5px solid var(--page-the-thao--primary-color);
}

.page-the-thao__grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-the-thao__grid-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--page-the-thao--primary-color);
  margin-bottom: 10px;
}

.page-the-thao__grid-item p {
  font-size: 1rem;
  color: #555;
}

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

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

.page-the-thao__faq-question {
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-the-thao--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  margin-bottom: 0; /* Override default h3 margin */
}

.page-the-thao__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

  .page-the-thao__main-title {
    font-size: 2.5rem;
  }

  .page-the-thao__description {
    font-size: 1rem;
  }

  .page-the-thao__section {
    padding: 50px 0;
  }

  .page-the-thao__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-the-thao__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-the-thao__info-card {
    padding: 25px;
  }

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

  .page-the-thao__numbered-list .page-the-thao__list-item {
    padding-left: 45px;
  }

  .page-the-thao__numbered-list .page-the-thao__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .page-the-thao__list-title {
    font-size: 1.2rem;
  }

  .page-the-thao__promo-title {
    font-size: 1.8rem;
  }

  .page-the-thao__promo-text {
    font-size: 1rem;
  }

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

  .page-the-thao__grid-title {
    font-size: 1.3rem;
  }

  .page-the-thao__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }
}

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

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

  .page-the-thao__main-title {
    font-size: 2rem !important;
    letter-spacing: normal;
  }

  .page-the-thao__description {
    font-size: 0.95rem !important;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    padding: 10px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__section {
    padding: 40px 0 !important;
  }

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

  .page-the-thao p, .page-the-thao li {
    font-size: 15px !important;
  }

  .page-the-thao__card-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }

  .page-the-thao__info-card {
    padding: 20px !important;
  }

  .page-the-thao__card-title {
    font-size: 1.2rem !important;
  }

  /* 3. 通用图片与 figure */
  .page-the-thao__figure {
    margin: 30px auto !important;
    max-width: 100% !important;
  }

  .page-the-thao__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__figcaption {
    font-size: 0.85rem !important;
  }

  .page-the-thao__numbered-list .page-the-thao__list-item {
    padding-left: 40px !important;
  }

  .page-the-thao__numbered-list .page-the-thao__list-item::before {
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
  }

  .page-the-thao__list-title {
    font-size: 1.1rem !important;
  }

  .page-the-thao__promo-box {
    padding: 25px !important;
    margin-top: 30px !important;
  }

  .page-the-thao__promo-title {
    font-size: 1.5rem !important;
  }

  .page-the-thao__promo-text {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }

  .page-the-thao__grid-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__grid-title {
    font-size: 1.2rem !important;
  }

  /* 5. 注册教程与 FAQ 区块 (FAQ here is text-based) */
  .page-the-thao__faq-question {
    font-size: 1rem !important;
    padding: 15px 20px !important;
  }

  .page-the-thao__faq-answer {
    font-size: 0.95rem !important;
    padding: 10px 20px !important;
  }
}