/* style/ththao.css */
:root {
  --page-ththao-primary-color: #11A84E;
  --page-ththao-secondary-color: #22C768;
  --page-ththao-text-main: #F2FFF6;
  --page-ththao-text-secondary: #A7D9B8;
  --page-ththao-card-bg: #11271B;
  --page-ththao-bg-dark: #08160F;
  --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-ththao-text-main); /* Default text color for dark body bg */
  background-color: var(--page-ththao-bg-dark); /* Default background for main content */
}

.page-ththao__dark-bg {
  background-color: var(--page-ththao-bg-dark);
  color: var(--page-ththao-text-main);
}

.page-ththao__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-ththao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-ththao-gold-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-ththao__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--page-ththao-gold-color);
  margin-bottom: 20px;
}

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

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

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

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

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

.page-ththao__description {
  font-size: 1.1em;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ththao__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__btn-primary {
  background: var(--page-ththao-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-ththao__btn-secondary {
  background: #ffffff;
  color: var(--page-ththao-primary-color);
  border: 2px solid var(--page-ththao-primary-color);
}

.page-ththao__btn-secondary:hover {
  background: var(--page-ththao-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.3);
}

/* Intro Section */
.page-ththao__intro-section p {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #333333;
}

/* Featured Sports */
.page-ththao__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.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.5em;
  font-weight: 700;
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
}

.page-ththao__card p {
  font-size: 0.95em;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-ththao__card-button {
  margin-top: auto;
}

.page-ththao__other-sports {
  margin-top: 50px;
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--page-ththao-divider-color);
}

.page-ththao__other-sports p {
  font-size: 1.05em;
  color: var(--page-ththao-text-secondary);
}

/* Why Choose Us */
.page-ththao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ththao__feature-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-ththao__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--page-ththao-primary-color);
  margin-bottom: 10px;
}

.page-ththao__feature-item p {
  font-size: 0.95em;
  color: #555555;
}

/* How to Start */
.page-ththao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.page-ththao__step-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
}

.page-ththao__step-card p {
  font-size: 0.95em;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions */
.page-ththao__promo-flex {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-ththao__promo-image {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-ththao__promo-content {
  flex: 1;
  min-width: 300px;
  color: #333333;
}

.page-ththao__promo-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-ththao__promo-content li {
  margin-bottom: 8px;
  font-size: 1em;
}

/* FAQ Section */
.page-ththao__faq-list {
  margin-top: 30px;
}

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

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--page-ththao-text-main);
  cursor: pointer;
  background-color: var(--page-ththao-deep-green);
  user-select: none;
}

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

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

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

.page-ththao__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--page-ththao-text-secondary);
  border-top: 1px solid var(--page-ththao-divider-color);
}

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

/* CTA Section */
.page-ththao__cta-section {
  text-align: center;
  padding: 60px 20px;
}

.page-ththao__cta-section p {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__section-title {
    font-size: 2em;
  }
  .page-ththao__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-ththao__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-ththao__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-ththao__description {
    font-size: 1em;
  }
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ththao__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-ththao__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-ththao__sub-title {
    font-size: 1.5em;
  }
  .page-ththao__sports-grid, .page-ththao__features-grid, .page-ththao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ththao__card, .page-ththao__feature-item, .page-ththao__step-card {
    padding: 20px;
  }
  .page-ththao__card-image, .page-ththao__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__promo-flex {
    flex-direction: column;
    gap: 20px;
  }
  .page-ththao__promo-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ththao__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__section, .page-ththao__card, .page-ththao__container, .page-ththao__hero-image-wrapper,
  .page-ththao__promo-flex, .page-ththao__promo-content, .page-ththao__faq-list, .page-ththao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-ththao__hero-section .page-ththao__hero-content, .page-ththao__cta-section .page-ththao__content-area {
    padding-left: 15px;
    padding-right: 15px;
  }
}