.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main color for overall page */
  background-color: #0D0E12; /* Background color for the page content, matching body */
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #FF8C1A; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, relying on shared body padding-top */
  padding-bottom: 60px;
  background-color: #0D0E12; /* Explicitly set background for safety */
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

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

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

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

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

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.2);
}

.page-the-thao__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-tertiary {
  background-color: #FFA53A;
  color: #FFF3E6;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

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

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-main-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

/* Intro Section */
.page-the-thao__intro-section {
  background-color: #17191F; /* Card BG color */
  padding: 80px 0;
}

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

.page-the-thao__feature-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border color */
}

.page-the-thao__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFA53A; /* Auxiliary color for border */
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.6); /* Glow color */
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.8em;
  color: #FF8C1A;
  margin-bottom: 15px;
}

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

/* Bet Types Section */
.page-the-thao__bet-types-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-the-thao__type-card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-the-thao__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #A84F0C;
}

.page-the-thao__card-title {
  font-size: 1.6em;
  color: #FFA53A;
  margin: 20px 15px 10px;
}

.page-the-thao__card-text {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 15px 20px;
  line-height: 1.6;
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: #17191F;
  padding: 80px 0;
}

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

.page-the-thao__guide-step {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #A84F0C;
  position: relative;
  overflow: hidden;
}

.page-the-thao__guide-step::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, rgba(255,140,26,0.1), rgba(255,165,58,0.05));
  z-index: 0;
  border-radius: 10px;
  opacity: 0.2;
}

.page-the-thao__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FF8C1A;
  color: #FFF3E6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.page-the-thao__step-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-the-thao__step-text {
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.page-the-thao__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

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

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

.page-the-thao__advantage-item {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
}

.page-the-thao__advantage-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #A84F0C;
}

.page-the-thao__advantage-title {
  font-size: 1.6em;
  color: #FFA53A;
  margin: 20px 15px 10px;
}

.page-the-thao__advantage-text {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 15px 20px;
  line-height: 1.6;
}

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

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

.page-the-thao__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  text-align: center;
  padding-bottom: 20px;
}

.page-the-thao__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #A84F0C;
  margin-bottom: 20px;
}

.page-the-thao__promo-title {
  font-size: 1.6em;
  color: #FF8C1A;
  margin: 0 15px 10px;
}

.page-the-thao__promo-text {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 15px 20px;
  line-height: 1.6;
}

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

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

.page-the-thao__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFA53A;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.03);
  transition: background-color 0.3s ease;
}

.page-the-thao__faq-item[open] > .page-the-thao__faq-question {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FF8C1A;
}

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

.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;
  font-weight: bold;
  margin-left: 15px;
  color: #FF8C1A;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  color: #FFF3E6;
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.6;
}

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

/* Contact CTA Section */
.page-the-thao__contact-cta {
  background-color: #17191F;
  padding: 80px 0;
  text-align: center;
}

/* General image styling for content areas */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__section-title {
    font-size: 2.2em;
  }
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-the-thao__hero-content {
    text-align: center;
  }
  .page-the-thao__cta-buttons {
    justify-content: center;
  }
  .page-the-thao__hero-image {
    order: -1; /* Image appears above content on smaller screens */
  }
}

@media (max-width: 768px) {
  /* General page content padding for mobile */
  .page-the-thao__container {
    padding: 30px 15px !important;
  }

  /* HERO Section - mandatory */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* As per requirement, small top padding */
    padding-bottom: 40px !important;
  }
  .page-the-thao__main-title {
    font-size: 2em !important;
  }
  .page-the-thao__hero-description {
    font-size: 1em !important;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-the-thao__hero-image {
    order: -1;
  }
  .page-the-thao__hero-main-img {
    border-radius: 8px !important;
  }

  /* Intro Section / Module 1 - mandatory */
  .page-the-thao__intro-section {
    padding: 40px 0 !important;
  }
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr !important;
  }
  .page-the-thao__icon-box-media {
    width: 150px !important; /* Maintain circular shape */
    height: 150px !important; /* Maintain circular shape */
    border-width: 3px !important;
  }
  .page-the-thao__feature-title {
    font-size: 1.5em !important;
  }
  .page-the-thao__feature-text {
    font-size: 0.9em !important;
  }

  /* Bet Types Section */
  .page-the-thao__bet-types-section {
    padding: 40px 0 !important;
  }
  .page-the-thao__type-cards {
    grid-template-columns: 1fr !important;
  }
  .page-the-thao__card-title {
    font-size: 1.4em !important;
  }
  .page-the-thao__card-text {
    font-size: 0.9em !important;
  }

  /* Guide Section */
  .page-the-thao__guide-section {
    padding: 40px 0 !important;
  }
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr !important;
  }
  .page-the-thao__step-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.8em !important;
  }
  .page-the-thao__step-title {
    font-size: 1.5em !important;
  }
  .page-the-thao__step-text {
    font-size: 0.9em !important;
  }
  .page-the-thao__cta-bottom {
    margin-top: 40px !important;
  }

  /* Advantages Section */
  .page-the-thao__advantages-section {
    padding: 40px 0 !important;
  }
  .page-the-thao__advantage-list {
    grid-template-columns: 1fr !important;
  }
  .page-the-thao__advantage-title {
    font-size: 1.4em !important;
  }
  .page-the-thao__advantage-text {
    font-size: 0.9em !important;
  }

  /* Promotions Section */
  .page-the-thao__promotions-section {
    padding: 40px 0 !important;
  }
  .page-the-thao__promo-cards {
    grid-template-columns: 1fr !important;
  }
  .page-the-thao__promo-title {
    font-size: 1.4em !important;
  }
  .page-the-thao__promo-text {
    font-size: 0.9em !important;
  }

  /* FAQ Section - mandatory */
  .page-the-thao__faq-section {
    padding: 40px 0 !important;
  }
  .page-the-thao__faq-list {
    margin-top: 30px !important;
  }
  .page-the-thao__faq-question {
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }
  .page-the-thao__faq-toggle {
    font-size: 1.3em !important;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.9em !important;
  }

  /* Contact CTA Section */
  .page-the-thao__contact-cta {
    padding: 40px 0 !important;
  }

  /* Generic image and container rules for mobile - mandatory */
  .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-item,
  .page-the-thao__type-card,
  .page-the-thao__guide-step,
  .page-the-thao__advantage-item,
  .page-the-thao__promo-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-the-thao__section-title {
    font-size: 1.8em !important;
  }
  .page-the-thao__section-description {
    font-size: 0.9em !important;
  }
}