.page-ththao {
  background-color: var(--deep-navy);
  color: var(--text-main);
  font-family: 'Roboto', sans-serif;
  padding-top: 10px; /* Small top padding for inner pages */
}

.page-ththao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px var(--padding-x-desktop) 40px;
  background: var(--card-bg);
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-ththao__main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.page-ththao__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-ththao__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  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__intro-section,
.page-ththao__sports-categories,
.page-ththao__features-section,
.page-ththao__cta-section {
  padding: 40px var(--padding-x-desktop);
  margin-bottom: 30px;
  background-color: var(--card-bg);
  border-radius: 10px;
}

.page-ththao__section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-ththao__section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.page-ththao__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}

.page-ththao__category-card {
  background-color: var(--deep-navy);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ththao__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-ththao__category-link {
  display: block;
  text-decoration: none;
  color: var(--text-main);
}

.page-ththao__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-ththao__category-name {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  padding: 15px;
  color: var(--text-main);
  background-color: var(--deep-navy);
}

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

.page-ththao__feature-item {
  background-color: var(--deep-navy);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-ththao__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-ththao__feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-ththao__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  padding: 50px var(--padding-x-desktop);
}

.page-ththao__cta-content {
  max-width: 800px;
}

.page-ththao__cta-image-wrapper {
  width: 100%;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-ththao__hero-section {
    padding-left: var(--padding-x-tablet);
    padding-right: var(--padding-x-tablet);
  }
  .page-ththao__intro-section,
  .page-ththao__sports-categories,
  .page-ththao__features-section,
  .page-ththao__cta-section {
    padding-left: var(--padding-x-tablet);
    padding-right: var(--padding-x-tablet);
  }
}

@media (max-width: 768px) {
  .page-ththao__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-ththao__hero-description {
    font-size: 1rem;
  }
  .page-ththao__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-ththao__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-ththao__section-description {
    font-size: 0.9rem;
  }

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

  .page-ththao__features-grid {
    grid-template-columns: 1fr;
  }

  /* Critical for mobile image overflow */
  .page-ththao__hero-image,
  .page-ththao__category-image,
  .page-ththao__cta-image {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .page-ththao__hero-section,
  .page-ththao__intro-section,
  .page-ththao__sports-categories,
  .page-ththao__features-section,
  .page-ththao__cta-section {
    padding-left: var(--padding-x-mobile);
    padding-right: var(--padding-x-mobile);
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-ththao__category-image {
    height: 180px;
  }
  .page-ththao__feature-item {
    padding: 20px;
  }
  .page-ththao__feature-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .page-ththao__category-grid {
    grid-template-columns: 1fr;
  }
  .page-ththao__category-image {
    height: 150px;
  }
}