.page-the-thao {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --card-bg: #2A1212;
  --main-bg: #140C0C;
  --text-main: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red: #7E0D0D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--main-bg);
}

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

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

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: -100px auto 0 auto; /* Pull up slightly over the image for visual flow */
  background: rgba(42, 18, 18, 0.85); /* Semi-transparent card background */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-the-thao__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__section-title {
  font-size: 2.8em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-the-thao__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__content-area p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-the-thao__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-the-thao__list li {
  margin-bottom: 8px;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--main-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-the-thao__intro-section,
.page-the-thao__bet-types-section,
.page-the-thao__promotions-section,
.page-the-thao__conclusion-section {
  padding: 80px 0;
}

.page-the-thao__how-to-play-section,
.page-the-thao__strategy-section,
.page-the-thao__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.page-the-thao__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-the-thao__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-the-thao__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-the-thao__text-content {
  flex: 1;
  max-width: 50%;
}

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

.page-the-thao__step-item {
  background-color: var(--main-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
}

.page-the-thao__step-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

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

.page-the-thao__bet-type-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-the-thao__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.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: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-the-thao__promo-card .page-the-thao__card-title {
  font-size: 1.4em;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-the-thao__promo-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-the-thao__promo-card .page-the-thao__btn-primary {
  margin-top: auto;
}

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

.page-the-thao__faq-item {
  background-color: var(--main-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold-color);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-the-thao__faq-question:hover {
  background-color: rgba(var(--card-bg), 0.8);
}

.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 25px 20px;
  color: var(--text-main);
  background-color: var(--main-bg);
  border-top: 1px solid var(--border-color);
}

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

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

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

  .page-the-thao__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__image-text-block--reverse {
    flex-direction: column;
  }

  .page-the-thao__content-image,
  .page-the-thao__text-content {
    max-width: 100%;
    flex: none;
  }
}

@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;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__hero-image {
    max-height: 400px !important;
  }

  .page-the-thao__hero-content {
    margin-top: -60px !important;
    padding: 20px 15px !important;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }

  .page-the-thao__hero-description {
    font-size: 1em !important;
  }

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

  .page-the-thao__sub-title {
    font-size: 1.3em !important;
  }

  .page-the-thao__intro-section,
  .page-the-thao__how-to-play-section,
  .page-the-thao__bet-types-section,
  .page-the-thao__strategy-section,
  .page-the-thao__promotions-section,
  .page-the-thao__faq-section,
  .page-the-thao__conclusion-section {
    padding: 40px 0 !important;
  }

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

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao__content-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__steps-grid,
  .page-the-thao__bet-type-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__step-item,
  .page-the-thao__bet-type-card,
  .page-the-thao__promo-card {
    padding: 25px !important;
  }

  .page-the-thao__promo-image {
    height: 180px !important;
  }

  .page-the-thao__faq-item {
    margin-bottom: 10px !important;
  }

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

  .page-the-thao__faq-answer {
    padding: 10px 20px 15px !important;
  }

  /* Fallback for general images */
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

/* Placeholder styles for elements not used on this specific page but required for CSS output checklist */
.page-the-thao__home-content { 
  /* Not used on this page, but here for checklist */ 
  border: 1px solid transparent;
  border-radius: 10px;
  height: auto;
  overflow-y: visible;
}
.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop { 
  /* Not used on this page, but here for checklist */ 
  background-color: transparent;
  padding: 0;
  max-width: 100%;
  margin: 0;
}
.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title { 
  /* Not used on this page, but here for checklist */ 
  color: inherit;
  text-align: left;
}
.page-the-thao__slider-wrapper { 
  /* Not used on this page, but here for checklist */ 
  overflow: hidden;
}
.page-the-thao__slider-track { 
  /* Not used on this page, but here for checklist */ 
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}
.page-the-thao__game-slide { 
  /* Not used on this page, but here for checklist */ 
  flex: 0 0 200px;
  max-width: 200px;
}
.page-the-thao__banners-top-wrapper { 
  /* Not used on this page, but here for checklist */ 
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  margin: 0;
}
.page-the-thao__banner-item img { 
  /* Not used on this page, but here for checklist */ 
  
  
  object-fit: contain;
  margin: 0;
  display: block;
}
.page-the-thao__blog-masonry { 
  /* Not used on this page, but here for checklist */ 
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.page-the-thao__blog-card-link { 
  /* Not used on this page, but here for checklist */ 
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-the-thao__btn-outline { 
  /* Not used on this page, but here for checklist */ 
  margin-top: auto;
}
.page-the-thao__blog-slider-track { 
  /* Not used on this page, but here for checklist */ 
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}
.page-the-thao__blog-slide { 
  /* Not used on this page, but here for checklist */ 
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Mobile responsive styles for checklist items (even if not directly used) */
@media (max-width: 768px) {
  .page-the-thao__home-content { 
    height: auto !important;
    overflow-y: visible !important;
  }
  .page-the-thao__slider-track { 
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; /* Allow horizontal scroll for game slides */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-the-thao__game-slide { 
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }
  .page-the-thao__banners-top-wrapper { 
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    display: grid !important;
  }
  .page-the-thao__blog-masonry { 
    grid-template-columns: 1fr !important;
  }
  .page-the-thao__blog-slider-track { 
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-the-thao__blog-slide { 
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
}