/* style/ththao.css */

:root {
  --ththao-bg-color: #08160F;
  --ththao-card-bg-color: #11271B;
  --ththao-text-main-color: #F2FFF6;
  --ththao-text-secondary-color: #A7D9B8;
  --ththao-border-color: #2E7A4E;
  --ththao-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --ththao-glow-color: #57E38D;
  --ththao-gold-color: #F2C14E;
  --ththao-divider-color: #1E3A2A;
  --ththao-deep-green-color: #0A4B2C;
}

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

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

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

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

.page-ththao__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--ththao-gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ththao__sub-section-title {
  font-size: clamp(1.5em, 3vw, 2em);
  color: var(--ththao-text-main-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-ththao__text-block {
  margin-bottom: 20px;
  color: var(--ththao-text-secondary-color);
}

.page-ththao__text-center {
  text-align: center;
}

.page-ththao a {
  color: var(--ththao-gold-color);
  text-decoration: none;
}

.page-ththao a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-ththao__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ththao__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: var(--ththao-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-ththao__hero-description {
  font-size: clamp(1.1em, 2.2vw, 1.4em);
  color: var(--ththao-text-main-color);
  margin-bottom: 30px;
}

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

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ththao__btn-primary {
  background: var(--ththao-btn-gradient);
  color: var(--ththao-text-main-color);
  border: none;
}

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

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

.page-ththao__btn-secondary:hover {
  background-color: var(--ththao-gold-color);
  color: var(--ththao-bg-color);
  transform: translateY(-3px);
}

/* Sports Overview Section */
.page-ththao__sports-overview {
  padding: 60px 0;
}

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

.page-ththao__sport-card {
  background-color: var(--ththao-card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--ththao-border-color);
}

.page-ththao__sport-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--ththao-divider-color);
}

.page-ththao__sport-card-title {
  font-size: 1.5em;
  color: var(--ththao-gold-color);
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-ththao__sport-card-description {
  color: var(--ththao-text-secondary-color);
  padding: 0 15px;
  font-size: 0.95em;
}

/* Odds & Live Betting Section */
.page-ththao__odds-live-betting {
  padding: 60px 0;
  background-color: var(--ththao-deep-green-color);
}

.page-ththao__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-ththao__promotion-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-ththao__list-item {
  background-color: var(--ththao-card-bg-color);
  border: 1px solid var(--ththao-border-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: var(--ththao-text-main-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-ththao__list-item::before {
  content: '⭐';
  font-size: 1.2em;
  color: var(--ththao-gold-color);
}

/* Guide Section */
.page-ththao__guide-section {
  padding: 60px 0;
  background-color: var(--ththao-bg-color);
}

.page-ththao__guide-list {
  list-style: decimal;
  padding-left: 20px;
  color: var(--ththao-text-secondary-color);
  margin-top: 30px;
}

.page-ththao__guide-list .page-ththao__list-item {
  background-color: transparent;
  border: none;
  padding: 10px 0;
  margin-bottom: 10px;
  color: var(--ththao-text-secondary-color);
}

.page-ththao__guide-list .page-ththao__list-item::before {
  content: none;
}

.page-ththao__guide-list strong {
  color: var(--ththao-text-main-color);
}

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

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

.page-ththao__faq-item {
  background-color: var(--ththao-card-bg-color);
  border: 1px solid var(--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;
  cursor: pointer;
  font-weight: bold;
  color: var(--ththao-text-main-color);
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-ththao__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3);
}

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

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

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

/* Bottom CTA */
.page-ththao__cta-bottom {
  padding: 60px 0;
  background-color: var(--ththao-deep-green-color);
}

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

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

  .page-ththao__main-title {
    font-size: clamp(2.2em, 5vw, 3em);
  }

  .page-ththao__hero-description {
    font-size: clamp(1em, 2vw, 1.2em);
  }

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

@media (max-width: 768px) {
  .page-ththao__content-area {
    padding: 30px 15px;
  }

  .page-ththao__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

  .page-ththao__hero-description {
    font-size: clamp(0.95em, 3vw, 1.1em);
  }

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

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

  .page-ththao__section-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 20px;
  }

  .page-ththao__sub-section-title {
    font-size: clamp(1.3em, 4vw, 1.6em);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-ththao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__sport-card-image {
    height: 180px;
  }

  .page-ththao__list-item {
    padding: 12px 15px;
    font-size: 0.9em;
  }

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

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

  /* Mobile specific image and container rules */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__hero-section,
  .page-ththao__intro-section,
  .page-ththao__sports-overview,
  .page-ththao__odds-live-betting,
  .page-ththao__promotions,
  .page-ththao__guide-section,
  .page-ththao__faq-section,
  .page-ththao__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-ththao__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-ththao__main-title {
    font-size: clamp(1.8em, 10vw, 2.2em);
  }

  .page-ththao__hero-description {
    font-size: clamp(0.9em, 4vw, 1em);
  }

  .page-ththao__section-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-ththao__sport-card-image {
    height: 150px;
  }

  .page-ththao__sport-card-title {
    font-size: 1.3em;
  }
}