.page-the-thao {
  font-family: Arial, sans-serif;
  color: var(--text-main, #FFF6D6); /* Default text color for the page */
  background-color: var(--background, #0A0A0A); /* Default background for the page */
}

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

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: var(--background, #0A0A0A);
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-main, #FFF6D6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-the-thao__description {
  font-size: 1.1rem;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  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: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-the-thao__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-main, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FFD36B, transparent);
  border-radius: 2px;
}

.page-the-thao__intro-section,
.page-the-thao__sport-types-section,
.page-the-thao__featured-sports-section,
.page-the-thao__guide-section,
.page-the-thao__tips-section,
.page-the-thao__promo-section,
.page-the-thao__app-section,
.page-the-thao__faq-section,
.page-the-thao__conclusion-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: var(--background, #0A0A0A);
}

.page-the-thao__intro-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 15px;
}

.page-the-thao__intro-section p a {
  color: #FFD36B;
  text-decoration: none;
}

.page-the-thao__intro-section p a:hover {
  text-decoration: underline;
}

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

.page-the-thao__type-card,
.page-the-thao__sport-card,
.page-the-thao__promo-card {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__type-card:hover,
.page-the-thao__sport-card:hover,
.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-the-thao__type-image,
.page-the-thao__sport-image,
.page-the-thao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border, #3A2A12);
}

.page-the-thao__type-title,
.page-the-thao__sport-title,
.page-the-thao__promo-title {
  font-size: 1.4rem;
  color: var(--text-main, #FFF6D6);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-the-thao__type-card p,
.page-the-thao__sport-card p,
.page-the-thao__promo-card p {
  font-size: 0.95rem;
  color: var(--text-main, #FFF6D6);
  padding: 0 15px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-the-thao__btn-outline {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 8px 20px;
  border-radius: 6px;
  margin: 0 15px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  align-self: center;
}

.page-the-thao__btn-outline:hover {
  background: #FFD36B;
  color: #111111;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

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

.page-the-thao__step-item {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__step-item p {
  font-size: 1rem;
  color: var(--text-main, #FFF6D6);
  line-height: 1.6;
}

.page-the-thao__step-item p a {
  color: #FFD36B;
  text-decoration: none;
}

.page-the-thao__step-item p a:hover {
  text-decoration: underline;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-the-thao__tips-list li {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-main, #FFF6D6);
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao__tips-list li strong {
  color: #F2C14E;
}

.page-the-thao__tips-list li a {
  color: #FFD36B;
  text-decoration: none;
}

.page-the-thao__tips-list li a:hover {
  text-decoration: underline;
}

.page-the-thao__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.page-the-thao__app-text {
  flex: 1;
  min-width: 300px;
}

.page-the-thao__app-text p {
  font-size: 1.05rem;
  color: var(--text-main, #FFF6D6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-the-thao__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-the-thao__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-the-thao__faq-item {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  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: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-main, #FFF6D6);
  line-height: 1.6;
}

.page-the-thao__faq-answer p a {
  color: #FFD36B;
  text-decoration: none;
}

.page-the-thao__faq-answer p a:hover {
  text-decoration: underline;
}

.page-the-thao__conclusion-section {
  text-align: center;
}

.page-the-thao__conclusion-section p {
  font-size: 1.1rem;
  color: var(--text-main, #FFF6D6);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__conclusion-section p a {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
}

.page-the-thao__conclusion-section p a:hover {
  text-decoration: underline;
}

.page-the-thao__conclusion-cta {
  padding: 15px 40px;
  font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__app-text,
  .page-the-thao__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-the-thao__app-image {
    max-width: 80%;
    margin: 0 auto;
  }
}

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

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

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

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

  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-the-thao__intro-section,
  .page-the-thao__sport-types-section,
  .page-the-thao__featured-sports-section,
  .page-the-thao__guide-section,
  .page-the-thao__tips-section,
  .page-the-thao__promo-section,
  .page-the-thao__app-section,
  .page-the-thao__faq-section,
  .page-the-thao__conclusion-section {
    padding: 40px 0;
  }

  .page-the-thao__type-grid,
  .page-the-thao__sport-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__type-image,
  .page-the-thao__sport-image,
  .page-the-thao__promo-image {
    height: 180px;
  }

  .page-the-thao__type-title,
  .page-the-thao__sport-title,
  .page-the-thao__promo-title {
    font-size: 1.2rem;
  }

  .page-the-thao__type-card p,
  .page-the-thao__sport-card p,
  .page-the-thao__promo-card p {
    font-size: 0.9rem;
  }

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

  .page-the-thao__step-title {
    font-size: 1.1rem;
  }

  .page-the-thao__tips-list {
    padding: 0 10px;
  }

  .page-the-thao__app-image {
    max-width: 90%;
  }

  .page-the-thao__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific CSS for the provided template elements, adapted for mobile */
  .page-the-thao__home-content { /* Assuming this might be used for a long text block */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }

  .page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop {
    padding: 30px 15px !important;
  }

  .page-the-thao__slider-wrapper { /* General carousel wrapper */
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-the-thao__slider-track { /* Ensure flex for horizontal scrolling */
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .page-the-thao__game-slide { /* Carousel item, adapted for general content */
    flex: 0 0 80% !important; /* Make slides take up more width on mobile */
    max-width: 80% !important;
    scroll-snap-align: start;
  }

  .page-the-thao__banners-top-wrapper { /* Partner logos or quick links grid */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 2 columns on mobile */
    gap: 10px !important;
  }

  .page-the-thao__banner-item img {
    max-width: 100% !important;
    
  }

  .page-the-thao__blog-masonry { /* Blog cards */
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__blog-slide { /* Blog carousel slide if used */
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Ensure color contrast for dark theme */
.page-the-thao h1,
.page-the-thao h2,
.page-the-thao h3,
.page-the-thao h4,
.page-the-thao h5,
.page-the-thao h6 {
  color: var(--text-main, #FFF6D6);
}

.page-the-thao p,
.page-the-thao li {
  color: var(--text-main, #FFF6D6);
}

.page-the-thao a {
  color: #FFD36B;
}

.page-the-thao__card,
.page-the-thao__step-item,
.page-the-thao__tips-list li,
.page-the-thao__faq-item {
  background-color: var(--card-bg, #111111);
  color: var(--text-main, #FFF6D6);
}

/* Additional general image/container responsive styles */
.page-the-thao__section, .page-the-thao__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

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

/* No small icon sizes in content area */
.page-the-thao img:not(.page-the-thao__logo):not(.page-the-thao__social-icon) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Placeholder for the provided CSS template elements, adapted for non-homepage */
.page-the-thao__home-content { /* Placeholder for a general content block if needed */
  border: 1px solid var(--border, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  overflow-y: auto;
  margin: 40px auto;
  max-width: 1200px;
}

.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop { /* Generic content rows */
  background-color: var(--card-bg, #111111);
  padding: 40px 20px;
  max-width: 1330px;
  margin: 40px auto;
  border-radius: 12px;
}

.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title { /* Generic titles */
  color: var(--text-main, #FFF6D6);
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.page-the-thao__slider-wrapper { /* Generic carousel for sports/features */
  overflow: hidden;
  margin-top: 30px;
}

.page-the-thao__slider-track { /* Generic carousel track */
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  padding-bottom: 10px;
}

.page-the-thao__game-slide { /* Generic carousel slide item */
  flex: 0 0 280px; /* Adjusted size for non-game content */
  max-width: 280px;
  background-color: var(--card-bg, #111111);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-the-thao__game-slide img { /* Image within generic slide */
  width: 100%;
  
  object-fit: cover;
}

.page-the-thao__game-slide h3 { /* Title within generic slide */
  color: var(--text-main, #FFF6D6);
  font-size: 1.1rem;
  margin: 15px 10px 10px;
}

.page-the-thao__game-slide p { /* Description within generic slide */
  font-size: 0.9rem;
  color: var(--text-main, #FFF6D6);
  padding: 0 10px 15px;
  flex-grow: 1;
}

.page-the-thao__banners-top-wrapper { /* Generic grid for partners/features */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* Adjusted to 4 columns for partners */
  gap: 20px;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background-color: var(--card-bg, #111111);
  border-radius: 12px;
}

.page-the-thao__banner-item { /* Item within generic grid */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-the-thao__banner-item img { /* Image within generic grid item */
   /* Larger for partner logos */
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: brightness(0.8) grayscale(0.5); /* Slightly muted for partners */
  transition: filter 0.3s ease;
}

.page-the-thao__banner-item img:hover {
  filter: brightness(1) grayscale(0);
}

.page-the-thao__blog-masonry { /* Blog section */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  margin-top: 30px;
}

.page-the-thao__blog-card-link { /* Blog card link */
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main, #FFF6D6);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__blog-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-the-thao__blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border, #3A2A12);
}

.page-the-thao__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-the-thao__blog-card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__blog-card-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 15px;
}

.page-the-thao__blog-card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main, #FFF6D6);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-the-thao__blog-slider-track { /* Blog carousel track if used */
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding-bottom: 10px;
}

.page-the-thao__blog-slide { /* Blog carousel slide item */
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

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

.page-the-thao__section, .page-the-thao__card, .page-the-thao__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile specific overrides for the template elements */
@media (max-width: 768px) {
  .page-the-thao__home-content { /* Long text block */
    padding: 20px 15px !important;
  }

  .page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop {
    padding: 25px 15px !important;
    margin: 20px auto !important;
  }

  .page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title {
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
  }

  .page-the-thao__slider-wrapper {
    margin-top: 20px !important;
  }

  .page-the-thao__slider-track {
    gap: 10px !important;
  }

  .page-the-thao__game-slide {
    flex: 0 0 calc(100% - 30px) !important; /* Single item with side padding */
    max-width: calc(100% - 30px) !important;
    margin: 0 15px;
  }

  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 2 columns on mobile */
    gap: 15px !important;
    padding: 15px !important;
  }

  .page-the-thao__banner-item img {
    
    
  }

  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    margin-top: 20px !important;
  }

  .page-the-thao__blog-card-img {
    
  }

  .page-the-thao__blog-card-content {
    padding: 15px !important;
  }

  .page-the-thao__blog-card-title {
    font-size: 1.1rem !important;
  }

  .page-the-thao__blog-card-description {
    font-size: 0.9rem !important;
  }

  .page-the-thao__blog-slider-track {
    gap: 15px !important;
  }

  .page-the-thao__blog-slide {
    flex: 0 0 calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    margin: 0 15px;
  }
}