.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-ththao__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-ththao__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-ththao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to make text readable */
}

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-ththao__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ththao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-ththao__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button highlight */
  border: 2px solid #2AD16F;
}

.page-ththao__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-ththao__introduction-section,
.page-ththao__live-betting-section,
.page-ththao__promotions-section,
.page-ththao__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-ththao__popular-sports-section,
.page-ththao__getting-started-section,
.page-ththao__security-support-section {
  background-color: #08160F; /* Background */
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-ththao__card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

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

.page-ththao__card-image,
.page-ththao__feature-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-ththao__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ththao__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-ththao__cta-center {
  text-align: center;
  margin-top: 30px;
}

.page-ththao__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-ththao__list-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-ththao__list-title {
  font-size: 1.4rem;
  color: #2AD16F; /* Button highlight */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ththao__list-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-ththao__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-ththao__btn-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-ththao__support-info {
  text-align: center;
  margin-top: 40px;
}

.page-ththao__support-text {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-ththao__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-ththao__contact-item {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-ththao__faq-list {
  margin-top: 40px;
}

.page-ththao__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-ththao__faq-question:hover {
  background-color: #2E7A4E; /* Border */
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  color: #2AD16F; /* Button highlight */
}

.page-ththao__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #2E7A4E; /* Border */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-ththao__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-ththao__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-ththao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-ththao__section-title {
    font-size: 1.8rem;
  }
  .page-ththao__hero-content {
    padding: 30px 15px;
  }
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-ththao__container {
    padding: 0 15px;
  }

  .page-ththao__hero-section,
  .page-ththao__introduction-section,
  .page-ththao__popular-sports-section,
  .page-ththao__live-betting-section,
  .page-ththao__getting-started-section,
  .page-ththao__promotions-section,
  .page-ththao__security-support-section,
  .page-ththao__faq-section {
    padding: 40px 0;
  }

  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__card-image,
  .page-ththao__feature-icon {
    height: 150px; /* Adjust height for smaller screens */
  }

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__hero-section,
  .page-ththao__introduction-section,
  .page-ththao__popular-sports-section,
  .page-ththao__live-betting-section,
  .page-ththao__getting-started-section,
  .page-ththao__promotions-section,
  .page-ththao__security-support-section,
  .page-ththao__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-ththao__video-section {
    padding-top: 10px !important;
  }

  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure color contrast for dark background */
.page-ththao__dark-section {
  background: #0A4B2C;
  color: #F2FFF6;
}

.page-ththao__dark-section .page-ththao__text-block {
  color: #A7D9B8;
}

/* Default text on background */
.page-ththao {
  color: #F2FFF6;
}

.page-ththao p,
.page-ththao li {
  color: #A7D9B8;
}

.page-ththao h1,
.page-ththao h2,
.page-ththao h3,
.page-ththao h4,
.page-ththao h5,
.page-ththao h6 {
  color: #F2FFF6;
}

.page-ththao__card {
  background: #11271B;
  color: #F2FFF6;
}

.page-ththao__card-title {
  color: #F2C14E;
}

.page-ththao__btn-primary {
  color: #F2FFF6;
}

.page-ththao__btn-secondary {
  color: #2AD16F;
}

.page-ththao__faq-question {
  background-color: #1E3A2A;
  color: #F2FFF6;
}

.page-ththao__faq-answer {
  color: #A7D9B8;
}