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

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

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

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-the-thao__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid #A84F0C; /* Border */
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-the-thao__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  transform: translateY(-2px);
}

.page-the-thao__btn-tertiary {
  background-color: #17191F;
  color: #FF8C1A;
  border: 1px solid #A84F0C;
}

.page-the-thao__btn-tertiary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
}

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

.page-the-thao__section:nth-of-type(odd) {
  background-color: #0D0E12;
}

.page-the-thao__section:nth-of-type(even) {
  background-color: #17191F;
}

.page-the-thao__heading {
  font-size: 2.5em;
  color: #FFB04D;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255, 176, 77, 0.3);
}

.page-the-thao__sub-heading {
  font-size: 1.8em;
  color: #FFA53A;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF3E6;
  line-height: 1.8;
  text-align: left;
}

.page-the-thao__paragraph a {
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
}

.page-the-thao__paragraph a:hover {
  text-decoration: underline;
}

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

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

.page-the-thao__figcaption {
  font-size: 0.95em;
  color: #FFA53A;
  margin-top: 10px;
}

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

.page-the-thao__sport-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 140, 26, 0.3);
}

.page-the-thao__sport-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__sport-title {
  font-size: 1.5em;
  color: #FF8C1A;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__sport-description {
  font-size: 0.95em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
}

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

.page-the-thao__feature-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
}

.page-the-thao__feature-title {
  font-size: 1.4em;
  color: #FFB04D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__feature-description {
  font-size: 1em;
  color: #FFF3E6;
}

.page-the-thao__cta-bottom {
  margin-top: 50px;
}

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

.page-the-thao__step-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__step-title {
  font-size: 1.6em;
  color: #FFB04D;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-the-thao__step-description {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.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 {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 140, 26, 0.3);
}

.page-the-thao__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__promo-title {
  font-size: 1.5em;
  color: #FF8C1A;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__promo-description {
  font-size: 0.95em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
}

.page-the-thao__promo-note {
  margin-top: 30px;
  font-style: italic;
  color: #FFA53A;
  text-align: center;
}

.page-the-thao__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__list-item {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-the-thao__list-item::before {
  content: '✔';
  color: #FF8C1A;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #A84F0C;
}

.page-the-thao__faq-question {
  font-size: 1.3em;
  color: #FFB04D;
  padding: 20px 25px;
  cursor: pointer;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-the-thao__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item.active .page-the-thao__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-the-thao__faq-answer {
  font-size: 1em;
  color: #FFF3E6;
  padding: 0 25px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-the-thao__faq-item.active .page-the-thao__faq-answer {
  max-height: 500px; /* Adjust as needed */
}

.page-the-thao__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-the-thao__final-cta {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #0D0E12 0%, #17191F 100%);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }

  .page-the-thao__heading {
    font-size: 2.2em;
  }

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

  .page-the-thao__sports-grid, .page-the-thao__feature-grid, .page-the-thao__step-by-step, .page-the-thao__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-the-thao__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

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

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

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

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

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

  .page-the-thao__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-the-thao__sub-heading {
    font-size: 1.5em;
  }

  .page-the-thao__paragraph {
    font-size: 0.95em;
    text-align: justify;
  }

  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  .page-the-thao__figure {
    margin: 20px auto;
  }

  .page-the-thao__figcaption {
    font-size: 0.85em;
  }

  .page-the-thao__sport-card, .page-the-thao__feature-card, .page-the-thao__step-card, .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__sport-title, .page-the-thao__feature-title, .page-the-thao__step-title, .page-the-thao__promo-title {
    font-size: 1.3em;
  }

  .page-the-thao__sport-description, .page-the-thao__feature-description, .page-the-thao__step-description, .page-the-thao__promo-description {
    font-size: 0.9em;
  }

  .page-the-thao__list-item {
    font-size: 1em;
    padding-left: 25px;
  }

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

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }

  .page-the-thao__faq-answer p {
    font-size: 0.9em;
  }
  
  .page-the-thao__article-wrap,
  .page-the-thao__section,
  .page-the-thao__introduction,
  .page-the-thao__popular-sports,
  .page-the-thao__advantages,
  .page-the-thao__how-to-bet,
  .page-the-thao__promotions,
  .page-the-thao__odds-guide,
  .page-the-thao__responsible-gaming,
  .page-the-thao__faq,
  .page-the-thao__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure all image containers are responsive */
  .page-the-thao__hero-image-wrapper,
  .page-the-thao__figure,
  .page-the-thao__sport-card,
  .page-the-thao__promo-card,
  .page-the-thao__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}