.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6); /* Default text color for dark background */
  background-color: var(--background-color, #0D0E12); /* Default background color */
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  color: var(--text-main-color, #FFF3E6);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: var(--text-main-color, #FFF3E6);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__text-block {
  margin-bottom: 1em;
  font-size: 1em;
  color: var(--text-main-color, #FFF3E6);
}

.page-the-thao__text-block strong {
  color: var(--glow-color, #FFB04D);
}

.page-the-thao__text-center {
  text-align: center;
}

/* Color Contrast Classes */
.page-the-thao__dark-bg {
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

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

.page-the-thao__light-bg .page-the-thao__section-title,
.page-the-thao__light-bg .page-the-thao__section-description,
.page-the-thao__light-bg .page-the-thao__text-block,
.page-the-thao__light-bg .page-the-thao__card-title,
.page-the-thao__light-bg .page-the-thao__card-text {
  color: #333333;
}

.page-the-thao__light-bg .page-the-thao__text-block strong {
  color: var(--deep-orange-color, #D96800);
}

.page-the-thao__card {
  background-color: var(--card-bg-color, #17191F);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #FFF3E6);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--glow-color, #FFB04D);
  font-weight: bold;
}

.page-the-thao__card-text {
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.6);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--deep-orange-color, #D96800);
  border: 2px solid var(--border-color, #A84F0C);
  box-shadow: none;
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--border-color, #A84F0C);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-the-thao__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

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

.page-the-thao__content-image {
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 60px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop */
  object-fit: cover;
  filter: brightness(0.7);
}

.page-the-thao__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(13, 14, 18, 0.9) 0%, rgba(13, 14, 18, 0) 100%);
  text-align: center;
  color: #ffffff;
}

.page-the-thao__hero-title {
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

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

/* Sports Categories */
.page-the-thao__sports-categories {
  padding: 60px 0;
}

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

.page-the-thao__category-card {
  background-color: var(--card-bg-color, #17191F);
  border: 1px solid var(--border-color, #A84F0C);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__category-card .page-the-thao__card-title {
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-the-thao__category-card .page-the-thao__card-text {
  flex-grow: 1;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
  padding: 60px 0;
}

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

.page-the-thao__feature-item {
  text-align: center;
}

.page-the-thao__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* 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 {
  text-align: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-the-thao__get-started-section {
  padding: 60px 0;
}

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

.page-the-thao__step-item {
  text-align: center;
}

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

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

.page-the-thao__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color, #A84F0C);
  background-color: var(--card-bg-color, #17191F);
  border-radius: 8px;
  overflow: hidden;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--glow-color, #FFB04D);
  list-style: none; /* Hide default marker */
}

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--text-main-color, #FFF3E6);
}

.page-the-thao__faq-answer {
  padding: 0 25px 25px 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6);
}

/* Final CTA Section */
.page-the-thao__cta-final {
  padding: 80px 0;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

  .page-the-thao__hero-image {
    height: 550px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-the-thao__hero-description {
    font-size: 1.1em;
    max-width: 90%;
  }

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

  .page-the-thao__section-description {
    font-size: 1em;
  }

  .page-the-thao__feature-image,
  .page-the-thao__promo-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 40px;
  }

  .page-the-thao__hero-image {
    height: 400px !important;
  }

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

  .page-the-thao__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Mobile H1 size */
  }

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

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

  .page-the-thao__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }

  .page-the-thao__text-block {
    font-size: 0.9em !important;
  }
}