/* style/ththao.css */
.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 {
  padding: 60px 0;
  text-align: center;
}

.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body already handles --header-offset, this is decorative top padding */
  overflow: hidden;
}

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

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

.page-ththao__hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(8, 22, 15, 0.7), rgba(8, 22, 15, 0.9));
  z-index: 1;
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(8, 22, 15, 0.7); /* Deep green background for content overlay */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-ththao__description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.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;
  cursor: pointer;
  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(34, 199, 104, 0.4);
}

.page-ththao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-ththao__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-ththao__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  transform: translateY(-3px);
}

.page-ththao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-ththao__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-ththao__text-block {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

.page-ththao__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-ththao__list-item {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 5px solid #2AD16F; /* Green accent */
  font-size: 1rem;
}

.page-ththao__introduction-section {
  background-color: #08160F;
}

.page-ththao__how-to-login-section {
  background-color: #11271B; /* Card BG */
}

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

.page-ththao__light-bg {
  background-color: #0A4B2C; /* Deep Green, lighter than main background */
  color: #F2FFF6; /* Ensure text is light on this background */
}

.page-ththao__text-contrast-fix {
  color: #F2FFF6; /* Explicitly set light text for contrast on light-bg */
}

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

.page-ththao__step-card,
.page-ththao__provider-card,
.page-ththao__category-card,
.page-ththao__promo-card,
.page-ththao__feature-card {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-ththao__step-card:hover,
.page-ththao__provider-card:hover,
.page-ththao__category-card:hover,
.page-ththao__promo-card:hover,
.page-ththao__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-ththao__step-image,
.page-ththao__provider-logo,
.page-ththao__category-image,
.page-ththao__promo-image,
.page-ththao__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-ththao__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ththao__faq-section {
  background-color: #08160F;
}

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

.page-ththao__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-ththao__faq-item[open] .page-ththao__faq-question {
  background-color: #1E3A2A; /* Divider, slightly darker for open state */
}

.page-ththao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-ththao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

.page-ththao__faq-answer p {
  margin-bottom: 0;
}

.page-ththao__conclusion-section {
  background-color: #08160F;
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-ththao__hero-content {
    padding: 30px;
  }

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

  .page-ththao__description {
    font-size: 1rem;
  }

  .page-ththao__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }

  .page-ththao__sub-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }
}

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

  .page-ththao__hero-section {
    min-height: 400px;
    padding-top: 10px;
  }

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

  .page-ththao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-ththao__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-ththao__steps-grid,
  .page-ththao__sports-providers-grid,
  .page-ththao__sport-categories-grid,
  .page-ththao__promotions-grid,
  .page-ththao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao img,
  .page-ththao__step-image,
  .page-ththao__provider-logo,
  .page-ththao__category-image,
  .page-ththao__promo-image,
  .page-ththao__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__promo-card,
  .page-ththao__feature-card,
  .page-ththao__step-card,
  .page-ththao__provider-card,
  .page-ththao__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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