/* style/ththao.css */

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

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

.page-ththao__dark-bg {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
}

.page-ththao__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-ththao__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #A7D9B8; /* Custom Text Secondary */
}

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

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
}

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

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Custom Glow */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-ththao__btn-secondary:hover {
  background-color: #2E7A4E; /* Custom Border */
  color: #F2FFF6; /* Custom Text Main */
}

.page-ththao__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

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

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-ththao__hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-ththao__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Intro Section */
.page-ththao__intro-section {
  padding: 80px 0;
}

/* Video Highlights Section */
.page-ththao__video-highlights {
  padding: 60px 0;
  text-align: center;
}

.page-ththao__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  transform: scale(0.98);
  transition: transform 0.3s ease;
}

.page-ththao__video-wrapper:hover {
  transform: scale(1);
}

.page-ththao__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__video-description {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-top: 20px;
}

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

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

.page-ththao__card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  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;
  justify-content: space-between;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-ththao__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
}

.page-ththao__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

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

.page-ththao__step-item {
  text-align: center;
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-ththao__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

.page-ththao__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-ththao__step-description {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.6;
}

.page-ththao__step-description a {
  color: #57E38D; /* Custom Glow */
  text-decoration: none;
}

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

.page-ththao__guide-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-ththao__guide-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-ththao__card--promo {
  background-color: #11271B; /* Custom Card BG */
  padding: 25px;
}

/* Tips Section */
.page-ththao__tips-section {
  padding: 80px 0;
}

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

.page-ththao__tips-list li {
  background-color: #11271B; /* Custom Card BG */
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1.7;
  color: #A7D9B8; /* Custom Text Secondary */
  border-left: 5px solid #2AD16F; /* Highlight with Custom Button color */
}

.page-ththao__tips-list li strong {
  color: #F2FFF6; /* Custom Text Main */
}

/* Features Section */
.page-ththao__features-section {
  padding: 80px 0;
}

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

.page-ththao__feature-card {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  text-align: center;
}

.page-ththao__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin: 0 auto 20px auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-ththao__feature-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.6;
}

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

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

.page-ththao__faq-item {
  background-color: #11271B; /* Custom Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  cursor: pointer;
  background-color: #11271B; /* Custom Card BG */
  border-bottom: 1px solid #1E3A2A; /* Custom Divider */
  list-style: none; /* For details/summary */
}

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

.page-ththao__faq-question:hover {
  background-color: #0A4B2C; /* Custom Deep Green */
}

.page-ththao__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #57E38D; /* Custom Glow */
  margin-left: 15px;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: '−';
}

.page-ththao__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8; /* Custom Text Secondary */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }
  .page-ththao__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }
  .page-ththao__section-title {
    font-size: clamp(26px, 3.2vw, 40px);
  }
}

@media (max-width: 768px) {
  .page-ththao__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-ththao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ththao__hero-section,
  .page-ththao__intro-section,
  .page-ththao__video-highlights,
  .page-ththao__sports-types,
  .page-ththao__betting-guide,
  .page-ththao__promotions-section,
  .page-ththao__tips-section,
  .page-ththao__features-section,
  .page-ththao__faq-section,
  .page-ththao__conclusion-section {
    padding: 40px 0;
  }
  
  .page-ththao__hero-image-wrapper {
    margin-bottom: 30px;
  }

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

  .page-ththao__hero-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: 15px;
  }

  .page-ththao__hero-description {
    font-size: clamp(16px, 4.5vw, 18px);
    margin-bottom: 30px;
  }

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao a[class*="button"],
  .page-ththao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ththao__btn-center {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-ththao__video-highlights .page-ththao__container,
  .page-ththao__promo-cards,
  .page-ththao__guide-steps,
  .page-ththao__features-grid,
  .page-ththao__sports-types .page-ththao__grid-layout {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    grid-template-columns: 1fr;
  }
  
  .page-ththao__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0;
  }

  .page-ththao img,
  .page-ththao__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-ththao__card,
  .page-ththao__step-item,
  .page-ththao__feature-card,
  .page-ththao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ththao__text-block,
  .page-ththao__card-text,
  .page-ththao__step-description,
  .page-ththao__feature-text,
  .page-ththao__faq-answer p {
    font-size: 16px;
  }

  .page-ththao__faq-question {
    font-size: 18px;
  }
  
  .page-ththao__video-highlights {
    padding-top: 10px !important; /* body has padding-top, this is for visual spacing */
  }

  .page-ththao__tips-list li {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-section {
    padding-bottom: 40px;
  }
  .page-ththao__hero-title {
    font-size: clamp(24px, 10vw, 36px);
  }
  .page-ththao__hero-description {
    font-size: clamp(14px, 4.5vw, 16px);
  }
  .page-ththao__section-title {
    font-size: clamp(22px, 8vw, 32px);
  }
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
}