/* style/ththao.css */
:root {
  --page-ththao-primary-color: #11A84E;
  --page-ththao-secondary-color: #22C768;
  --page-ththao-bg-color: #08160F;
  --page-ththao-card-bg: #11271B;
  --page-ththao-text-main: #F2FFF6;
  --page-ththao-text-secondary: #A7D9B8;
  --page-ththao-border-color: #2E7A4E;
  --page-ththao-glow-color: #57E38D;
  --page-ththao-gold-color: #F2C14E;
  --page-ththao-divider-color: #1E3A2A;
  --page-ththao-deep-green: #0A4B2C;
  --page-ththao-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* body handles header offset, small top padding for aesthetics */
  overflow: hidden;
  box-sizing: border-box;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

.page-ththao__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-ththao__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-ththao__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--page-ththao-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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: var(--page-ththao-button-gradient);
  color: var(--page-ththao-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-ththao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-ththao__btn-secondary {
  background: transparent;
  color: var(--page-ththao-gold-color);
  border: 2px solid var(--page-ththao-gold-color);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-ththao__btn-secondary:hover {
  background: var(--page-ththao-gold-color);
  color: var(--page-ththao-bg-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-ththao__section {
  padding: 60px 20px;
  background-color: var(--page-ththao-bg-color);
  border-top: 1px solid var(--page-ththao-divider-color);
}

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

.page-ththao__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-ththao-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-ththao__text-block {
  font-size: 1.1em;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-ththao__features-section {
  background: var(--page-ththao-deep-green);
}

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

.page-ththao__feature-card,
.page-ththao__card {
  background-color: var(--page-ththao-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-ththao-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-ththao-text-main);
}

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

.page-ththao__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--page-ththao-glow-color);
}

.page-ththao__card-title {
  font-size: 1.4em;
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ththao__card-text {
  font-size: 1em;
  color: var(--page-ththao-text-secondary);
  line-height: 1.5;
}

.page-ththao__betting-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ththao__list-item {
  background-color: var(--page-ththao-card-bg);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--page-ththao-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ththao__list-title {
  font-size: 1.3em;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ththao__list-text {
  font-size: 1em;
  color: var(--page-ththao-text-secondary);
  line-height: 1.5;
}

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

.page-ththao__guide-step-card {
  padding: 30px;
  text-align: center;
}

.page-ththao__guide-step-number {
  font-size: 2em;
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ththao__guide-step-text {
  font-size: 1em;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 25px;
}

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

.page-ththao__promotion-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-ththao-glow-color);
}

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

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

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-ththao-gold-color);
  background-color: var(--page-ththao-deep-green);
  border-bottom: 1px solid var(--page-ththao-border-color);
}

.page-ththao__faq-item[open] > .page-ththao__faq-question {
  border-bottom: 1px solid var(--page-ththao-border-color);
}

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

.page-ththao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--page-ththao-glow-color);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding: 10px 15px 40px 15px;
  }

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

  .page-ththao__description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
    padding: 0 5px;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

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

  .page-ththao__container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .page-ththao__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-ththao__text-block {
    font-size: 0.95em;
    padding: 0 5px;
  }

  .page-ththao__feature-grid,
  .page-ththao__guide-steps,
  .page-ththao__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__feature-card,
  .page-ththao__card,
  .page-ththao__list-item,
  .page-ththao__guide-step-card,
  .page-ththao__promotion-card,
  .page-ththao__faq-item {
    padding: 20px 15px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .page-ththao__hero-image,
  .page-ththao__feature-icon,
  .page-ththao__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__hero-image-wrapper,
  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__cta-buttons,
  .page-ththao__feature-grid,
  .page-ththao__guide-steps,
  .page-ththao__promotion-grid,
  .page-ththao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-ththao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-ththao__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}