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

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

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

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

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

.page-ththao__paragraph {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-ththao-text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-ththao__btn-primary {
  background: var(--page-ththao-btn-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-ththao__btn-secondary {
  background: transparent;
  color: var(--page-ththao-primary-color);
  border: 2px solid var(--page-ththao-primary-color);
  margin-left: 15px;
}

.page-ththao__btn-secondary:hover {
  background: rgba(var(--page-ththao-primary-color), 0.1);
  transform: translateY(-2px);
}

.page-ththao__btn-text {
  display: inline-block;
  color: var(--page-ththao-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-ththao__btn-text:hover {
  color: var(--page-ththao-glow-color);
}

/* Card styles */
.page-ththao__card {
  background-color: var(--page-ththao-card-bg);
  border: 1px solid var(--page-ththao-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--page-ththao-text-main);
}

/* 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-container {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 40px;
}

.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.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: var(--page-ththao-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-ththao__hero-description {
  font-size: 1.2rem;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 40px;
}

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

/* Introduction Section */
.page-ththao__introduction-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-ththao__feature-item {
  text-align: center;
}

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

.page-ththao__feature-title {
  font-size: 1.5rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
}

.page-ththao__feature-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
}

/* Sports Categories Section */
.page-ththao__sports-categories {
  padding: 80px 0;
}

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

.page-ththao__category-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-ththao__category-name {
  font-size: 1.8rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
}

.page-ththao__category-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Platform Advantages Section */
.page-ththao__platform-advantages {
  padding: 80px 0;
}

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

.page-ththao__advantage-item {
  background-color: var(--page-ththao-card-bg);
  border-left: 5px solid var(--page-ththao-primary-color);
  padding: 25px;
  border-radius: 0 10px 10px 0;
}

.page-ththao__advantage-title {
  font-size: 1.5rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
}

.page-ththao__advantage-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
}

/* Betting Guide Section */
.page-ththao__betting-guide {
  padding: 80px 0;
}

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

.page-ththao__step-item {
  text-align: center;
  position: relative;
  padding-top: 50px;
}

.page-ththao__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--page-ththao-primary-color);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid var(--page-ththao-border-color);
}

.page-ththao__step-title {
  font-size: 1.5rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
}

.page-ththao__step-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 20px;
}

/* Promotions Section */
.page-ththao__promotions-section {
  padding: 80px 0;
}

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

.page-ththao__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-ththao__promo-title {
  font-size: 1.8rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
}

.page-ththao__promo-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Mobile App Section */
.page-ththao__mobile-app-section {
  padding: 80px 0;
}

.page-ththao__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-ththao__mobile-app-text {
  flex: 1;
}

.page-ththao__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-ththao__app-features li {
  font-size: 1.1rem;
  color: var(--page-ththao-text-main);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-ththao__app-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--page-ththao-glow-color);
}

.page-ththao__mobile-app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-ththao__mobile-app-image {
  width: 100%;
  height: auto;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Customer Support Section */
.page-ththao__customer-support-section {
  padding: 80px 0;
}

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

.page-ththao__channel-item {
  text-align: center;
}

.page-ththao__channel-title {
  font-size: 1.8rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 10px;
}

.page-ththao__channel-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-ththao__faq-section {
  padding: 80px 0;
}

.page-ththao__faq-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  color: var(--page-ththao-gold-color);
  font-weight: bold;
  cursor: pointer;
  list-style: none;
}

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

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

.page-ththao__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  line-height: 1.8;
}

/* Final CTA Section */
.page-ththao__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-ththao__final-cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

  .page-ththao__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-ththao__mobile-app-text {
    margin-bottom: 40px;
  }

  .page-ththao__app-features {
    text-align: center;
  }

  .page-ththao__app-features li {
    padding-left: 0;
    display: inline-block;
    margin: 5px 10px;
  }

  .page-ththao__app-features li::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-ththao__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-ththao__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .page-ththao__hero-section,
  .page-ththao__introduction-section,
  .page-ththao__sports-categories,
  .page-ththao__platform-advantages,
  .page-ththao__betting-guide,
  .page-ththao__promotions-section,
  .page-ththao__mobile-app-section,
  .page-ththao__customer-support-section,
  .page-ththao__faq-section,
  .page-ththao__final-cta-section {
    padding: 40px 0;
  }

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

  /* Image responsive */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive */
  .page-ththao video,
  .page-ththao__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ththao__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-ththao__video-container,
  .page-ththao__video-wrapper {
    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: 1.1rem;
  }

  .page-ththao__faq-answer {
    font-size: 0.95rem;
  }
}