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

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  background-color: #7A0E0E; /* Deep Red for hero background */
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold color for title */
}

.page-the-thao__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD86A;
  padding-top: 40px;
}

.page-the-thao__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF5E1;
}

.page-the-thao__intro-section, 
.page-the-thao__features-section, 
.page-the-thao__bet-types-section, 
.page-the-thao__guide-section, 
.page-the-thao__promo-section, 
.page-the-thao__faq-section {
  padding: 60px 0;
}

.page-the-thao__intro-section {
  background-color: #B71C1C;
}

.page-the-thao__features-section {
  background-color: #7A0E0E;
}

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

.page-the-thao__feature-item {
  text-align: center;
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F4D34D; /* Gold */
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

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

.page-the-thao__feature-heading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  color: #FFF5E1;
}

.page-the-thao__bet-types-section {
  background-color: #B71C1C;
}

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

.page-the-thao__bet-type-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px 20px 10px;
  color: #FFD86A;
}

.page-the-thao__card-text {
  font-size: 1rem;
  padding: 0 20px 20px;
  color: #FFF5E1;
  flex-grow: 1;
}

.page-the-thao__guide-section {
  background-color: #7A0E0E;
}

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

.page-the-thao__guide-step-item {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-the-thao__step-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-the-thao__step-text {
  font-size: 1rem;
  color: #FFF5E1;
}

.page-the-thao__cta-buttons--center {
  justify-content: center;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao__promo-section {
  background-color: #B71C1C;
}

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

.page-the-thao__promo-item {
  background-color: #D32F2F; /* Card BG */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #FFF5E1;
  border-left: 5px solid #F4D34D; /* Gold */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__faq-section {
  background-color: #7A0E0E;
}

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

.page-the-thao__faq-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFD86A;
  cursor: pointer;
  background-color: #C91F17; /* Main Color */
  border-bottom: 1px solid #E53935;
  position: relative;
  list-style: none;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFF5E1;
}

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

.page-the-thao__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: #FFF5E1;
  background-color: #D32F2F;
  border-top: 1px solid #E53935;
}

.page-the-thao__faq-answer p {
  margin-bottom: 0;
  color: #FFF5E1;
}

/* --- Buttons --- */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #333333; /* Dark text for light gradient */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FFD86A; /* Gold text */
  border: 2px solid #FFD86A;
  box-shadow: none;
}

.page-the-thao__btn-secondary:hover {
  background-color: #FFD86A;
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- General Image styles --- */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-the-thao__section-title {
    font-size: 2.2rem;
  }
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-the-thao__hero-content {
    order: 2;
    text-align: center;
  }
  .page-the-thao__hero-image {
    order: 1;
  }
  .page-the-thao__hero-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
  }
  .page-the-thao__container {
    padding: 0 10px;
  }

  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-the-thao__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-the-thao__hero-side-image {
    width: 100% !important;
    height: auto !important;
  }

  /* General Sections */
  .page-the-thao__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-the-thao__intro-section, 
  .page-the-thao__features-section, 
  .page-the-thao__bet-types-section, 
  .page-the-thao__guide-section, 
  .page-the-thao__promo-section, 
  .page-the-thao__faq-section {
    padding: 40px 0;
  }

  /* Module 1 (Features) */
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    border: 3px solid #F4D34D;
  }
  .page-the-thao__feature-heading {
    font-size: 1.4rem;
  }

  /* Bet Types */
  .page-the-thao__bet-type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__card-image {
    height: 180px;
  }
  .page-the-thao__card-title {
    font-size: 1.3rem;
  }
  .page-the-thao__card-text {
    font-size: 0.95rem;
  }

  /* Guide Steps */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__step-heading {
    font-size: 1.3rem;
  }
  .page-the-thao__step-text {
    font-size: 0.95rem;
  }
  .page-the-thao__cta-buttons--center {
    margin-top: 30px;
  }

  /* Promotions */
  .page-the-thao__promo-list {
    margin-top: 20px;
  }
  .page-the-thao__promo-item {
    font-size: 1rem;
    padding: 15px;
  }

  /* FAQ */
  .page-the-thao__faq-list {
    margin-top: 30px;
  }
  .page-the-thao__faq-question {
    padding: 15px;
    font-size: 1.1rem;
  }
  .page-the-thao__faq-answer {
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  /* Universal Image and Container Adaptations */
  .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__bet-type-card, .page-the-thao__guide-step-item, .page-the-thao__promo-item, .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__cta-buttons {
    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;
  }
}