.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FF8C1A; /* Main color for titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-the-thao__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-the-thao__description {
  font-size: 1.1em;
  line-height: 1.8;
  color: #FFF3E6;
}

.page-the-thao__card-bg {
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
}

.page-the-thao__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color for card titles */
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-the-thao__card-text {
  color: #FFF3E6;
  font-size: 1em;
  line-height: 1.6;
}

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: none;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow on hover */
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Auxiliary color border */
}

.page-the-thao__btn-secondary:hover {
  background-color: rgba(255, 165, 58, 0.1);
  transform: translateY(-2px);
}

.page-the-thao__btn-link {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-the-thao__btn-link:hover {
  text-decoration: underline;
  color: #FFB04D;
}

.page-the-thao__btn-full-width {
  width: 100%;
  max-width: 400px;
  margin: 40px auto 0 auto;
  display: block;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #0D0E12;
  text-align: center;
}

.page-the-thao__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: -100px auto 0 auto; /* Pull content up over image */
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #FF8C1A;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-the-thao__hero-section .page-the-thao__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

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

.page-the-thao__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* Sports Categories Section */
.page-the-thao__sports-categories-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-the-thao__category-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* How to Bet Section */
.page-the-thao__how-to-bet-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-the-thao__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-the-thao__guide-image {
  flex: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  max-height: 500px;
}

.page-the-thao__guide-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-the-thao__step-card {
  padding: 20px;
  border-left: 5px solid #FF8C1A; /* Main color */
}

.page-the-thao__step-title {
  font-size: 1.6em;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-the-thao__step-text {
  color: #FFF3E6;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-the-thao__promo-card {
  text-align: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Trust Section */
.page-the-thao__trust-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-the-thao__trust-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  color: #FFF3E6;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-the-thao__faq-item {
  border: 1px solid #A84F0C;
  border-radius: 8px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #17191F; /* Card BG */
  color: #FFA53A;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
}

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FF8C1A;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '-';
}

.page-the-thao__faq-answer {
  padding: 15px 20px;
  background-color: rgba(23, 25, 31, 0.8); /* Slightly lighter card bg for answer */
  color: #FFF3E6;
  font-size: 1em;
  line-height: 1.6;
}

/* CTA Bottom Section */
.page-the-thao__cta-bottom-section {
  padding: 80px 0;
  background-color: #0D0E12;
  text-align: center;
}

.page-the-thao__cta-bottom-section .page-the-thao__container {
  position: relative;
  padding: 40px;
  overflow: hidden;
}

.page-the-thao__cta-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
  border-radius: 8px;
}

.page-the-thao__cta-bottom-section .page-the-thao__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao__cta-bottom-section .page-the-thao__section-title {
  color: #FFF3E6;
  font-size: 2.2em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-the-thao__cta-bottom-section .page-the-thao__description {
  font-size: 1.1em;
  margin-bottom: 40px;
}

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

  .page-the-thao__hero-content {
    margin-top: -80px;
  }

  .page-the-thao__guide-content {
    flex-direction: column;
  }

  .page-the-thao__guide-image {
    max-width: 100%;
  }

  .page-the-thao__guide-steps {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Universal mobile image and button adaptation */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__feature-card,
  .page-the-thao__category-card,
  .page-the-thao__promo-card,
  .page-the-thao__step-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure buttons stack vertically */
  }

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

  .page-the-thao__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-the-thao__hero-content {
    margin-top: -50px; /* Adjust pull-up for mobile */
  }

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

  .page-the-thao__hero-section .page-the-thao__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Feature Grid (Why Choose) */
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Category Grid (Sports Categories) */
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* How to Bet Section */
  .page-the-thao__guide-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__guide-image {
    max-height: 300px;
  }

  .page-the-thao__step-title {
    font-size: 1.4em;
  }

  /* Promotions Section */
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Trust Section */
  .page-the-thao__trust-content {
    gap: 15px;
  }

  .page-the-thao__text-block {
    font-size: 1em;
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-the-thao__faq-answer {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  /* CTA Bottom Section */
  .page-the-thao__cta-bottom-section .page-the-thao__container {
    padding: 20px;
  }

  .page-the-thao__cta-bottom-section .page-the-thao__section-title {
    font-size: 1.8em;
  }

  .page-the-thao__cta-bottom-section .page-the-thao__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Forced CSS for non-existent homepage elements (as per strict instructions) */
  .page-the-thao__hero-carousel-section { /* Placeholder for homepage carousel */
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    background-color: #0D0E12;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFF3E6;
  }

  .page-the-thao__hero-slider { /* Placeholder */
    width: 100%;
    overflow: hidden;
  }

  .page-the-thao__hero-slide { /* Placeholder */
    width: 100%;
    display: none;
  }

  .page-the-thao__hero-slide.is-active { /* Placeholder */
    display: block;
  }

  .page-the-thao__hero-slider-prev, .page-the-thao__hero-slider-next { /* Placeholder */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }

  .page-the-thao__hero-slider-prev { /* Placeholder */
    left: 10px;
  }

  .page-the-thao__hero-slider-next { /* Placeholder */
    right: 10px;
  }

  .page-the-thao__guide-box { /* Placeholder for homepage guide box */
    padding: 16px 15px 24px;
    background: #17191F;
    border-radius: 4px;
    margin-top: 40px;
  }

  .page-the-thao__guide-grid { /* Placeholder for homepage guide grid */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    justify-content: center;
  }

  .page-the-thao__guide-card { /* Placeholder for homepage guide card */
    padding-top: 0 !important;
    grid-column: span 2;
    text-align: center;
  }

  .page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-2 { /* Placeholder */
    grid-column: span 3;
  }

  .page-the-thao__guide-card--pos-3, .page-the-thao__guide-card--pos-4, .page-the-thao__guide-card--pos-5 { /* Placeholder */
    grid-column: span 2;
  }

  .page-the-thao__guide-card img { /* Placeholder */
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  .page-the-thao__home-content-box { /* Placeholder for homepage content box */
    max-width: 100%;
    margin: 40px auto 0 auto;
    padding: 10px 15px;
    border: 5px solid #FF8C1A;
    border-radius: 15px;
    box-shadow: 0 0 20px #FFB04D;
    height: auto;
    background-color: #17191F;
  }

  .page-the-thao__home-content-inner { /* Placeholder */
    height: auto;
    overflow: visible;
  }

  .page-the-thao__blog-section { /* Placeholder for homepage blog section */
    padding: 40px 0;
    background-color: #0D0E12;
  }

  .page-the-thao__blog-grid { /* Placeholder for homepage blog grid */
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
}