.page-ththao {
  background-color: #100224; /* Adjusted from #FFFFFF for dark theme based on WOW88 style */
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-ththao__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #017439; /* Main color for hero background */
  text-align: center;
  padding-bottom: 40px;
}

.page-ththao__hero-image-wrapper {
  margin-bottom: 20px;
}

.page-ththao__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-ththao__hero-content {
  padding: 0 20px;
}

.page-ththao__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFF00; /* Register/Login font color for H1 as it's a key element */
  margin-bottom: 15px;
  /* Using clamp for font-size if absolutely needed, but relying on weight/line-height first */
  font-size: clamp(2em, 5vw, 3em); /* Example clamp, ensuring it's not too big on mobile */
}

.page-ththao__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.page-ththao__hero-cta-button {
  display: inline-block;
  background-color: #C30808; /* Login/Register color for primary CTA */
  color: #FFFF00; /* Login/Register font color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  min-height: 44px; /* Touch target size */
  box-sizing: border-box;
}

.page-ththao__hero-cta-button:hover {
  background-color: #a30606;
}

.page-ththao__introduction-section,
.page-ththao__sports-categories-section,
.page-ththao__features-section,
.page-ththao__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-ththao__introduction-section {
  background-color: #1a062f; /* Slightly lighter dark background */
}

.page-ththao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #FFFFFF;
  /* text-gradient: gold-orange as per WOW88 style */
  background: linear-gradient(to right, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.page-ththao__section-description {
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
  color: #e0e0e0;
}

.page-ththao__game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
  gap: 20px;
  margin-top: 40px;
}

.page-ththao__game-tile {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.page-ththao__game-tile:hover {
  transform: translateY(-5px);
}

.page-ththao__game-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-ththao__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-ththao__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.page-ththao__button--primary {
  background-color: #017439; /* Main color */
  color: #FFFFFF;
}

.page-ththao__button--primary:hover {
  background-color: #005a2d;
}

.page-ththao__features-section {
  background-color: #1a062f; /* Consistent dark background */
}

.page-ththao__feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ththao__feature-item {
  background-color: #2a0c4f; /* Slightly distinct background for feature cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.page-ththao__feature-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFFF00; /* Yellow for titles in feature cards */
  margin-bottom: 15px;
}

.page-ththao__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-ththao__cta-section {
  background-color: #017439; /* Main color for CTA section */
  padding: 80px 0;
  text-align: center;
}

.page-ththao__cta-content {
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-ththao__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-ththao__cta-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-ththao__button--secondary {
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
}

.page-ththao__button--secondary:hover {
  background-color: #a30606;
}

.page-ththao__cta-image-wrapper {
  margin-top: 40px;
}

.page-ththao__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-ththao__game-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
  }
  .page-ththao__feature-list {
    grid-template-columns: 1fr; /* 1 column for features on smaller screens */
  }
  .page-ththao__section-title {
    font-size: 2em;
  }
  .page-ththao__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  /* Ensure images in content area are responsive and not smaller than 200px */
  .page-ththao__game-tile img,
  .page-ththao__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
  }
}

@media (max-width: 549px) {
  .page-ththao__game-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
  }
  .page-ththao__hero-cta-button,
  .page-ththao__button {
    width: 100%;
    max-width: 300px; /* Constrain width for full-width buttons */
    margin-left: auto;
    margin-right: auto;
  }
  .page-ththao__section-title {
    font-size: 1.8em;
  }
  .page-ththao__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-ththao__hero-description,
  .page-ththao__section-description,
  .page-ththao__feature-description,
  .page-ththao__cta-description {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-ththao__game-grid a img,
  .page-ththao__hero-image,
  .page-ththao__cta-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area does not cause horizontal scroll */
  .page-ththao {
    overflow-x: hidden;
  }
}

/* Specific rules for images to prevent small icons and ensure minimum size */
.page-ththao img {
  min-width: 200px;
  min-height: 200px;
}
.page-ththao__game-tile img {
  width: 100%; /* Make game tiles fill their grid space */
  height: auto;
}
/* This specific rule ensures that any image within .page-ththao (content area) is not displayed smaller than 200px by CSS */
.page-ththao img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon) {
  min-width: 200px;
  min-height: 200px;
  /* If CSS tries to set a smaller size, it will be overridden by these min-values */
  /* This is a general safety measure, specific elements should have appropriate width/height */
}