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

.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body already handles padding-top */
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
  background-color: rgba(17, 39, 27, 0.7); /* Card B G with transparency */
  border-radius: 10px;
  margin-top: 100px; /* Adjust as needed to ensure content is below hero image */
}

.page-ththao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  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%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow);
}

.page-ththao__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-ththao__btn-secondary:hover {
  background-color: var(--deep-green);
  color: #ffffff;
  border-color: var(--glow);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-ththao__section--intro {
  background-color: var(--bg);
  color: var(--text-main);
}

.page-ththao__section--sports-types {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-ththao__section--guide {
  background-color: var(--bg);
  color: var(--text-main);
}

.page-ththao__section--features {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-ththao__section--promotions {
  background-color: var(--bg);
  color: var(--text-main);
}

.page-ththao__section--security {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-ththao__section--faq {
  background-color: var(--bg);
  color: var(--text-main);
}

.page-ththao__section--conclusion {
  background-color: var(--card-bg);
  color: var(--text-main);
  text-align: center;
}

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

.page-ththao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-ththao__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

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

.page-ththao__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main);
}

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

.page-ththao__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-ththao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

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

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

.page-ththao__guide-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-ththao__guide-item:hover {
  transform: translateY(-5px);
}

.page-ththao__guide-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-ththao__guide-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

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

.page-ththao__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

.page-ththao__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

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

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

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

.page-ththao__security-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-ththao__security-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

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

.page-ththao__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green);
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-ththao__faq-question:hover {
  background-color: #1a6f44;
}

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

.page-ththao__faq-question .page-ththao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  transform: rotate(45deg);
}

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-ththao__faq-answer p {
  margin-top: 15px;
}

.page-ththao__card--promotion {
  align-items: stretch;
}

.page-ththao__card--promotion .page-ththao__btn-primary {
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__hero-content {
    margin-top: 50px;
  }

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

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

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

  .page-ththao__card-title,
  .page-ththao__guide-title,
  .page-ththao__feature-title,
  .page-ththao__security-title {
    font-size: 1.2rem;
  }

  .page-ththao__card-description,
  .page-ththao__guide-description,
  .page-ththao__feature-description,
  .page-ththao__security-description,
  .page-ththao__faq-answer {
    font-size: 0.9rem;
  }
}

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

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

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

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

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

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

  .page-ththao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  .page-ththao__grid-layout,
  .page-ththao__guide-steps,
  .page-ththao__feature-list,
  .page-ththao__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__card-image,
  .page-ththao__responsive-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__card,
  .page-ththao__guide-item,
  .page-ththao__feature-item,
  .page-ththao__security-item,
  .page-ththao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-ththao__hero-content {
    padding: 10px;
    margin-top: 20px;
  }
  .page-ththao__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-ththao__hero-description {
    font-size: 0.9rem;
  }
  .page-ththao__section-title {
    font-size: 1.5rem;
  }
  .page-ththao__card-title,
  .page-ththao__guide-title,
  .page-ththao__feature-title,
  .page-ththao__security-title {
    font-size: 1.1rem;
  }
  .page-ththao__faq-question {
    font-size: 0.95rem;
  }
  .page-ththao__faq-answer {
    font-size: 0.85rem;
  }
}

/* Color Contrast Classes */
.page-ththao__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-ththao__light-bg {
  background-color: var(--bg);
  color: var(--text-main);
}

/* Ensure text on all backgrounds is readable */
.page-ththao p,
.page-ththao li,
.page-ththao a {
  color: var(--text-secondary);
}

.page-ththao h1,
.page-ththao h2,
.page-ththao h3,
.page-ththao h4,
.page-ththao h5,
.page-ththao h6 {
  color: var(--text-main);
}

/* Specific overrides for contrast */
.page-ththao__hero-content p,
.page-ththao__hero-content h1 {
  color: var(--text-main);
}

.page-ththao__hero-description {
  color: var(--text-secondary);
}

.page-ththao__section--intro .page-ththao__section-title,
.page-ththao__section--guide .page-ththao__section-title,
.page-ththao__section--promotions .page-ththao__section-title,
.page-ththao__section--faq .page-ththao__section-title {
  color: var(--gold);
}

.page-ththao__section--sports-types .page-ththao__section-title,
.page-ththao__section--features .page-ththao__section-title,
.page-ththao__section--security .page-ththao__section-title,
.page-ththao__section--conclusion .page-ththao__section-title {
  color: var(--gold);
}

.page-ththao__card-title,
.page-ththao__guide-title,
.page-ththao__feature-title,
.page-ththao__security-title {
  color: var(--text-main);
}

.page-ththao__faq-question {
  color: var(--text-main);
}

.page-ththao__faq-qtext {
  color: var(--text-main);
}

.page-ththao__faq-toggle {
  color: var(--text-main);
}