.page-the-thao {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color-main);
}

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

.page-the-thao__dark-bg {
  background-color: var(--bg-color-dark);
  color: var(--text-main);
}

.page-the-thao__light-bg {
  background-color: var(--bg-color-light);
  color: var(--text-dark);
}

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0;
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
}

.page-the-thao__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--glow-color);
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--bg-color-dark);
}

.page-the-thao__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--glow-color);
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-the-thao__introduction-section,
.page-the-thao__sports-odds-section,
.page-the-thao__promotions-section,
.page-the-thao__faq-section {
  padding: 60px 0;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__advantages-section,
.page-the-thao__live-betting-section,
.page-the-thao__guides-section,
.page-the-thao__cta-section {
  padding: 60px 0;
  background-color: var(--card-bg-color);
  color: var(--text-main);
}

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

.page-the-thao__advantage-card,
.page-the-thao__sports-item,
.page-the-thao__promo-card,
.page-the-thao__guide-item,
.page-the-thao__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-the-thao__advantage-card:hover,
.page-the-thao__sports-item:hover,
.page-the-thao__promo-card:hover,
.page-the-thao__guide-item:hover,
.page-the-thao__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__advantage-image,
.page-the-thao__sports-image,
.page-the-thao__promo-image,
.page-the-thao__feature-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-the-thao__advantage-title,
.page-the-thao__sports-title,
.page-the-thao__promo-title,
.page-the-thao__guide-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--glow-color);
}

.page-the-thao__advantage-description,
.page-the-thao__sports-description,
.page-the-thao__promo-description,
.page-the-thao__guide-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main);
  flex-grow: 1;
}

.page-the-thao__bullet-list {
  list-style-type: disc;
  text-align: left;
  margin: 15px 0 0 20px;
  padding: 0;
  color: var(--text-main);
}

.page-the-thao__bullet-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-the-thao__sports-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__live-betting-section .page-the-thao__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.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 .page-the-thao__btn-primary {
  margin-top: 20px;
  display: inline-block;
  align-self: center;
}

.page-the-thao__guides-section .page-the-thao__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-the-thao__guide-title a {
  color: var(--glow-color);
  text-decoration: none;
}

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

.page-the-thao__faq-list {
  margin-top: 40px;
}

.page-the-thao__faq-item {
  margin-bottom: 15px;
  text-align: left;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--glow-color);
  cursor: pointer;
  list-style: none;
  background-color: rgba(242, 193, 78, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.page-the-thao__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.2);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: rgba(242, 193, 78, 0.25);
}

.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.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-the-thao__faq-answer {
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main);
  text-align: justify;
}

.page-the-thao__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
}

.page-the-thao__cta-section .page-the-thao__section-title {
  margin-bottom: 20px;
}

.page-the-thao__cta-section .page-the-thao__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-main);
}

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

  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Adhering to fixed header spacing rule */
    padding-bottom: 40px;
  }

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

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

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

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

  .page-the-thao__hero-image,
  .page-the-thao__advantage-image,
  .page-the-thao__sports-image,
  .page-the-thao__promo-image,
  .page-the-thao__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__introduction-section,
  .page-the-thao__advantages-section,
  .page-the-thao__sports-odds-section,
  .page-the-thao__live-betting-section,
  .page-the-thao__promotions-section,
  .page-the-thao__guides-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-section {
    padding: 40px 0;
  }

  .page-the-thao__advantages-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sports-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__advantage-card,
  .page-the-thao__sports-item,
  .page-the-thao__promo-card,
  .page-the-thao__guide-item,
  .page-the-thao__faq-item {
    padding: 20px;
  }

  .page-the-thao__advantage-title,
  .page-the-thao__sports-title,
  .page-the-thao__promo-title,
  .page-the-thao__guide-title {
    font-size: 1.3em;
  }

  .page-the-thao__text-block,
  .page-the-thao__advantage-description,
  .page-the-thao__sports-description,
  .page-the-thao__promo-description,
  .page-the-thao__guide-description,
  .page-the-thao__bullet-list li,
  .page-the-thao__faq-question,
  .page-the-thao__faq-answer {
    font-size: 0.95em;
  }

  .page-the-thao__faq-question {
    padding: 12px 15px;
  }

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

  /* Ensure all containers with images/buttons are responsive */
  .page-the-thao__hero-image-wrapper,
  .page-the-thao__advantages-grid,
  .page-the-thao__sports-list,
  .page-the-thao__promo-grid,
  .page-the-thao__guide-list,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}

/* --- General Color Contrast Safety --- */
/* Default text color for light backgrounds */
.page-the-thao__light-bg {
  color: #333333; /* Ensuring dark text on light background */
}

/* Default text color for dark backgrounds */
.page-the-thao__dark-bg,
.page-the-thao__card {
  color: var(--text-main); /* Ensuring light text on dark background */
}

.page-the-thao p,
.page-the-thao li {
  color: inherit; /* Inherit from parent section */
}

/* Specific overrides for critical elements if needed */
.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main); /* White-ish text on dark gradient button */
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--glow-color); /* Gold-ish text on transparent/dark background */
  border: 2px solid var(--glow-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--glow-color);
  color: #0A0A0A; /* Dark text on gold-ish background */
}

/* No filter properties for images */
.page-the-thao img {
  filter: none !important;
}