.page-ththao {
  font-family: Arial, sans-serif;
  color: var(--Text-Main, #1F2D3D);
  background-color: var(--Background, #F4F7FB);
  line-height: 1.6;
}

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

.page-ththao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, var(--Primary-Color, #2F6BFF) 0%, var(--Secondary-Color, #6FA3FF) 100%);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
}

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

.page-ththao__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
  z-index: 1;
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-ththao__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ththao__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__cta-button--centered {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--Custom-Color_1776249996415, #000000);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-ththao__why-choose-section {
  background-color: var(--Background, #F4F7FB);
  padding-bottom: 60px;
}

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

.page-ththao__feature-card {
  background-color: var(--Card-B-G, #FFFFFF);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--Border, #D6E2FF);
}

.page-ththao__feature-card:hover {
  transform: translateY(-5px);
}

.page-ththao__feature-icon {
  width: 200px; /* Min size requirement */
  height: 150px; /* Min size requirement */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-ththao__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--Custom-Color_1776249996415, #000000);
  margin-bottom: 10px;
}

.page-ththao__feature-description {
  font-size: 1rem;
  color: var(--Text-Main, #1F2D3D);
}

.page-ththao__sports-categories-section {
  background-color: var(--Background, #F4F7FB);
  padding-bottom: 60px;
}

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

.page-ththao__category-card {
  background-color: var(--Card-B-G, #FFFFFF);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid var(--Border, #D6E2FF);
  display: flex;
  flex-direction: column;
}

.page-ththao__category-card:hover {
  transform: translateY(-5px);
}

.page-ththao__category-image {
  width: 100%;
  height: 250px; /* Ensure images are not small, min 200px height */
  object-fit: cover;
}

.page-ththao__category-card h3,
.page-ththao__category-card p,
.page-ththao__category-card a {
  padding: 0 20px;
}

.page-ththao__category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--Custom-Color_1776249996415, #000000);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-ththao__category-description {
  font-size: 0.95rem;
  color: var(--Text-Main, #1F2D3D);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ththao__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: var(--Primary-Color, #2F6BFF);
  border: 2px solid var(--Primary-Color, #2F6BFF);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-ththao__secondary-button:hover {
  background-color: var(--Primary-Color, #2F6BFF);
  color: #FFFFFF;
}

.page-ththao__promotions-section {
  background-color: var(--Primary-Color, #2F6BFF);
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
}

.page-ththao__promotions-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-ththao__how-to-join-section {
  background-color: var(--Background, #F4F7FB);
  padding-bottom: 60px;
}

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

.page-ththao__step-item {
  background-color: var(--Card-B-G, #FFFFFF);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--Border, #D6E2FF);
}

.page-ththao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-ththao__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--Custom-Color_1776249996415, #000000);
  margin-bottom: 10px;
}

.page-ththao__step-description {
  font-size: 1rem;
  color: var(--Text-Main, #1F2D3D);
}

.page-ththao__faq-section {
  background-color: var(--Card-B-G, #FFFFFF);
  padding-bottom: 60px;
}

.page-ththao__faq-item {
  border: 1px solid var(--Border, #D6E2FF);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #FFFFFF;
}

.page-ththao__faq-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--Custom-Color_1776249996415, #000000);
  margin-bottom: 10px;
}

.page-ththao__faq-answer {
  font-size: 1rem;
  color: var(--Text-Main, #1F2D3D);
}

.page-ththao__responsible-gambling-section {
  background-color: var(--Background, #F4F7FB);
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--Border, #D6E2FF);
}

.page-ththao__responsible-gambling-text {
  font-size: 1rem;
  color: var(--Text-Main, #1F2D3D);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-ththao__hero-content {
    padding: 30px 15px 40px;
  }

  .page-ththao__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-ththao__hero-description {
    font-size: 1.1rem;
  }

  .page-ththao__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-ththao__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-ththao__feature-card,
  .page-ththao__category-card,
  .page-ththao__step-item,
  .page-ththao__faq-item {
    padding: 20px;
  }

  .page-ththao__feature-title,
  .page-ththao__category-title,
  .page-ththao__step-title,
  .page-ththao__faq-question {
    font-size: 1.3rem;
  }

  /* Mobile overflow prevention & min image size for content images */
  .page-ththao__container {
    padding: 0 15px;
  }

  .page-ththao img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width */
    min- /* Enforce minimum height, adjusted for aspect ratios if needed */
  }
  
  .page-ththao__feature-icon {
    width: 100%; /* Allows it to take full width of its container on mobile */
    height: auto;
    min-width: 200px;
    min-height: 150px;
    object-fit: contain;
  }

  .page-ththao__category-image {
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-ththao__promotions-description {
    font-size: 1rem;
  }
}

/* Color contrast checks, using specified colors */
.page-ththao__hero-section,
.page-ththao__promotions-section {
  color: #FFFFFF; /* White text on blue gradient background */
}

.page-ththao__main-title,
.page-ththao__hero-description,
.page-ththao__promotions-description {
  color: #FFFFFF;
}

.page-ththao__cta-button {
  color: #FFFFFF; /* White text on blue gradient button */
}

.page-ththao__section-title,
.page-ththao__feature-title,
.page-ththao__category-title,
.page-ththao__step-title,
.page-ththao__faq-question {
  color: var(--Custom-Color_1776249996415, #000000); /* Black text */
}

.page-ththao__feature-description,
.page-ththao__category-description,
.page-ththao__step-description,
.page-ththao__faq-answer,
.page-ththao__responsible-gambling-text {
  color: var(--Text-Main, #1F2D3D); /* Dark gray text */
}

.page-ththao__secondary-button {
  color: var(--Primary-Color, #2F6BFF); /* Blue text on white/transparent button */
  border-color: var(--Primary-Color, #2F6BFF);
}

.page-ththao__secondary-button:hover {
  background-color: var(--Primary-Color, #2F6BFF);
  color: #FFFFFF;
}