/* style/ththao.css */

/* Base styles for the page, assuming a dark body background from shared.css */
.page-ththao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Light text for dark background */
  background-color: var(--bg-color, #08160F);
}

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

.page-ththao__section {
  padding: 60px 0;
  text-align: center;
}

.page-ththao__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-ththao__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for visual spacing */
  background-color: var(--bg-color, #08160F);
}

.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;
  object-fit: cover;
}

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

.page-ththao__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 800;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ththao__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-ththao__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-ththao__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
}

/* Overview Section */
.page-ththao__overview-section {
  background-color: var(--card-bg, #11271B);
}

/* Bet Types Section */
.page-ththao__bet-types-section {
  background-color: var(--bg-color, #08160F);
}

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

.page-ththao__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-ththao__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-ththao__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
}

/* Top Sports Section */
.page-ththao__top-sports-section {
  background-color: var(--card-bg, #11271B);
}

.page-ththao__sport-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ththao__sport-item {
  background-color: var(--bg-color, #08160F);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
}

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

.page-ththao__sport-name {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-ththao__sport-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
}

/* Why Choose Section */
.page-ththao__why-choose-section {
  background-color: var(--bg-color, #08160F);
}

.page-ththao__advantage-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-ththao__advantage-list li {
  background-color: var(--card-bg, #11271B);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary, #A7D9B8);
  border-left: 5px solid var(--main-color, #11A84E);
}

.page-ththao__advantage-list li strong {
  color: var(--text-main, #F2FFF6);
}

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

/* Getting Started Section */
.page-ththao__getting-started-section {
  background-color: var(--card-bg, #11271B);
}

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

.page-ththao__step-card {
  background-color: var(--bg-color, #08160F);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ththao__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__step-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-ththao__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-ththao__btn-text {
  color: var(--main-color, #11A84E);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-ththao__btn-text:hover {
  color: var(--secondary-color, #22C768);
}

/* Promotions Section */
.page-ththao__promotions-section {
  background-color: var(--bg-color, #08160F);
}

.page-ththao__promo-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-ththao__promo-list li {
  background-color: var(--card-bg, #11271B);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary, #A7D9B8);
  border-right: 5px solid var(--secondary-color, #22C768);
}

.page-ththao__promo-list li strong {
  color: var(--text-main, #F2FFF6);
}

/* FAQ Section */
.page-ththao__faq-section {
  background-color: var(--card-bg, #11271B);
}

.page-ththao__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-ththao__faq-item {
  background-color: var(--bg-color, #08160F);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-ththao__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C);
}

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

.page-ththao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color, #22C768);
}

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

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary, #A7D9B8);
}

/* Final CTA Section */
.page-ththao__cta-final-section {
  background-color: var(--bg-color, #08160F);
  padding-bottom: 80px;
}

.page-ththao__cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__section-title {
    font-size: 2.2em;
  }
  .page-ththao__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ththao__section {
    padding: 40px 0;
  }
  .page-ththao__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-ththao__text-block,
  .page-ththao__hero-description,
  .page-ththao__card-description,
  .page-ththao__sport-description,
  .page-ththao__advantage-list li,
  .page-ththao__promo-list li,
  .page-ththao__step-description,
  .page-ththao__faq-answer {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
  }
  .page-ththao__hero-content {
    padding: 0;
  }
  .page-ththao__container,
  .page-ththao__grid-container,
  .page-ththao__sport-list,
  .page-ththao__advantage-list,
  .page-ththao__steps-grid,
  .page-ththao__promo-list,
  .page-ththao__faq-list,
  .page-ththao__cta-content {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__card-image {
    height: auto;
  }
  .page-ththao__sport-icon {
    width: 80px;
    height: 80px;
  }
  .page-ththao__step-icon {
    width: 100px;
    height: 100px;
  }
  .page-ththao__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ththao__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-ththao__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-ththao__section-title {
    font-size: 1.6em;
  }
  .page-ththao__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }
  .page-ththao__hero-description {
    font-size: 0.95em;
  }
  .page-ththao__card-title {
    font-size: 1.3em;
  }
  .page-ththao__sport-name,
  .page-ththao__step-title {
    font-size: 1.2em;
  }
  .page-ththao__faq-question {
    font-size: 0.95em;
  }
}