.page-ththao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-ththao__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-ththao__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
  padding: 60px 20px;
}

.page-ththao__light-section {
  background-color: #F2FFF6;
  color: #11271B;
  padding: 60px 20px;
}

.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

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

.page-ththao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-ththao__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6;
}

.page-ththao__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

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

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-ththao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #57E38D;
  border: 2px solid #57E38D;
}

.page-ththao__btn-secondary:hover {
  background-color: #57E38D;
  color: #11271B;
}

.page-ththao__section {
  padding: 60px 20px;
}

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

.page-ththao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-ththao__text-block {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-ththao__card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

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

.page-ththao__feature-image,
.page-ththao__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__feature-title,
.page-ththao__bet-type-title,
.page-ththao__step-title,
.page-ththao__promotion-title,
.page-ththao__mobile-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #57E38D;
}

.page-ththao__feature-description,
.page-ththao__bet-type-description,
.page-ththao__step-description,
.page-ththao__promotion-description,
.page-ththao__mobile-description {
  font-size: 1rem;
  color: #A7D9B8;
}

.page-ththao__step-card .page-ththao__btn-primary {
  margin-top: 20px;
}

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

.page-ththao__mobile-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-ththao__mobile-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-ththao__mobile-content {
  text-align: center;
  max-width: 600px;
}

.page-ththao__mobile-content .page-ththao__btn-primary {
  margin-top: 20px;
}

.page-ththao__support-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: #A7D9B8;
}

.page-ththao__support-info p {
  margin-bottom: 10px;
}

.page-ththao__support-info .page-ththao__btn-primary {
  margin-top: 30px;
}

.page-ththao__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #11271B;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6;
  list-style: none;
}

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

.page-ththao__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: '−';
}

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

.page-ththao__cta-final {
  text-align: center;
}

.page-ththao__cta-final .page-ththao__btn-primary {
  margin-top: 30px;
}

/* Image and Video Responsive */
.page-ththao img,
.page-ththao video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ththao__hero-image-wrapper,
.page-ththao__mobile-app,
.page-ththao__video-container,
.page-ththao__video-wrapper,
.page-ththao__section,
.page-ththao__card,
.page-ththao__container,
.page-ththao__cta-buttons,
.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-ththao__hero-section {
    height: 70vh;
    min-height: 500px;
    justify-content: center;
    padding: 0;
  }

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

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

  .page-ththao__mobile-app {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .page-ththao__mobile-content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-ththao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ththao__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-ththao__hero-image-wrapper {
    position: static;
    height: auto;
    max-height: none;
    margin-bottom: 20px;
  }

  .page-ththao__hero-image {
    filter: brightness(0.7);
  }

  .page-ththao__main-title {
    font-size: 2rem;
  }

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

  .page-ththao__section {
    padding: 40px 15px;
  }

  .page-ththao__section-title {
    font-size: 1.8rem;
  }

  .page-ththao__text-block {
    font-size: 0.95rem;
  }

  .page-ththao__card {
    padding: 20px;
  }

  .page-ththao__feature-title,
  .page-ththao__bet-type-title,
  .page-ththao__step-title,
  .page-ththao__promotion-title,
  .page-ththao__mobile-title {
    font-size: 1.3rem;
  }

  .page-ththao__feature-description,
  .page-ththao__bet-type-description,
  .page-ththao__step-description,
  .page-ththao__promotion-description,
  .page-ththao__mobile-description {
    font-size: 0.9rem;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem;
  }

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

  .page-ththao__hero-image-wrapper,
  .page-ththao__mobile-app,
  .page-ththao__video-container,
  .page-ththao__video-wrapper,
  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-ththao__mobile-app {
    flex-direction: column;
  }

  .page-ththao__mobile-content {
    text-align: center;
  }

  .page-ththao__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-ththao__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Specific color overrides for contrast */
.page-ththao__dark-section .page-ththao__text-block,
.page-ththao__dark-section .page-ththao__feature-description,
.page-ththao__dark-section .page-ththao__bet-type-description,
.page-ththao__dark-section .page-ththao__step-description,
.page-ththao__dark-section .page-ththao__promotion-description,
.page-ththao__dark-section .page-ththao__mobile-description,
.page-ththao__dark-section .page-ththao__support-info p,
.page-ththao__dark-section .page-ththao__faq-answer p {
  color: #A7D9B8;
}

.page-ththao__light-section .page-ththao__text-block,
.page-ththao__light-section .page-ththao__feature-description,
.page-ththao__light-section .page-ththao__bet-type-description,
.page-ththao__light-section .page-ththao__step-description,
.page-ththao__light-section .page-ththao__promotion-description,
.page-ththao__light-section .page-ththao__mobile-description,
.page-ththao__light-section .page-ththao__support-info p,
.page-ththao__light-section .page-ththao__faq-answer p {
  color: #11271B; /* Darker text for light background */
}

.page-ththao__light-section .page-ththao__card {
  background-color: #ffffff; /* White card for light section */
  color: #11271B;
}

.page-ththao__light-section .page-ththao__card .page-ththao__feature-title,
.page-ththao__light-section .page-ththao__card .page-ththao__bet-type-title,
.page-ththao__light-section .page-ththao__card .page-ththao__step-title,
.page-ththao__light-section .page-ththao__card .page-ththao__promotion-title,
.page-ththao__light-section .page-ththao__card .page-ththao__mobile-title {
  color: #13994A; /* Brand green for titles on light cards */
}

.page-ththao__light-section .page-ththao__card .page-ththao__feature-description,
.page-ththao__light-section .page-ththao__card .page-ththao__bet-type-description,
.page-ththao__light-section .page-ththao__card .page-ththao__step-description,
.page-ththao__light-section .page-ththao__card .page-ththao__promotion-description,
.page-ththao__light-section .page-ththao__card .page-ththao__mobile-description {
  color: #333333; /* Darker text for descriptions on light cards */
}