.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy-color); /* Body background from shared.css */
}

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

.page-the-thao__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Main color gradient */
}

.page-the-thao__main-title {
  color: #F2C14E; /* Gold */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-the-thao__description {
  font-size: 1.15rem;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

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

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

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

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

.page-the-thao__btn--secondary {
  background: #10233F; /* Card BG */
  color: #AFC4E8; /* Text Secondary */
  border: 2px solid #244D84; /* Border */
}

.page-the-thao__btn--secondary:hover {
  background: #1B3357; /* Divider */
  color: #F3F8FF; /* Text Main */
  border-color: #4FA8FF; /* Glow */
}

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

.page-the-thao__section--grey {
  background-color: #08162B; /* Deep Navy */
}

.page-the-thao__article-wrap {
  max-width: 1000px;
  padding: 0 20px;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-the-thao__paragraph {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-the-thao__highlight {
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
}

.page-the-thao__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__list-item {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-the-thao__list-item strong {
  color: #F3F8FF; /* Text Main */
}

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

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

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

.page-the-thao__promo-box {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-the-thao__promo-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-the-thao__promo-text {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-the-thao__step-list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__step-item {
  background: #10233F; /* Card BG */
  border: 1px solid #1B3357; /* Divider */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 80px; /* Space for step number */
}

.page-the-thao__step-item::before {
  content: 'Bước ' counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.page-the-thao__step-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__step-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-the-thao__faq-item {
  background: #10233F; /* Card BG */
  border: 1px solid #1B3357; /* Divider */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #113B7A; /* Main color */
  transition: background-color 0.3s ease;
}

.page-the-thao__faq-question:hover {
  background-color: #1D5FD1; /* Auxiliary color */
}

.page-the-thao__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #10233F; /* Card BG */
}

.page-the-thao__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

/* For non-JS FAQ items, to make them visible */
.page-the-thao__faq-item:not(.has-js) .page-the-thao__faq-answer {
  max-height: fit-content; /* Show all answers if JS is off or not accordion */
  padding-top: 15px;
  padding-bottom: 15px;
}

.page-the-thao__final-cta {
  margin-top: 60px;
  text-align: center;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Global image reset for content area */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* Mobile specific styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

  .page-the-thao__section-title {
    font-size: 2rem;
  }

  .page-the-thao__paragraph,
  .page-the-thao__list-item,
  .page-the-thao__step-description {
    font-size: 0.95rem;
  }

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

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

  .page-the-thao__step-item::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }

  .page-the-thao__step-item {
    padding-left: 70px;
  }

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

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

  .page-the-thao__faq-answer p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + Dual CTA */
  .page-the-thao__top-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-the-thao__container {
    padding: 0 15px !important;
  }

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

  .page-the-thao__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 5px;
  }

  .page-the-thao__top-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-the-thao__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single column long text container */
  .page-the-thao__section {
    padding: 40px 0;
  }

  .page-the-thao__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__paragraph,
  .page-the-thao__list-item,
  .page-the-thao__step-description,
  .page-the-thao__figcaption,
  .page-the-thao__promo-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .page-the-thao__list {
    margin-left: 20px;
  }

  .page-the-thao__promo-box {
    padding: 25px 20px;
    margin: 30px 0;
  }

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

  /* 3. General images and figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__figure {
    margin: 25px auto;
    padding: 0 5px;
  }

  /* 4. Buttons and button containers (already handled in top-cta, but general rules) */
  .page-the-thao__final-cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
    padding: 0 15px;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-the-thao__step-item {
    padding: 20px 20px 20px 70px;
    margin-bottom: 15px;
  }

  .page-the-thao__step-item::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }

  .page-the-thao__step-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

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

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

  .page-the-thao__faq-answer p {
    font-size: 0.9rem;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}