:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --deep-green-rgb: 10, 75, 44; /* RGB for rgba usage */
}

.page-ththao {
  /* Default text color for the page, assuming a dark background from shared.css or ensuring contrast */
  color: var(--text-main, #F2FFF6); /* Default to Text Main if not overridden by contrast system */
  background-color: var(--bg-color, #08160F); /* Fallback to custom background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Ensure main content areas have appropriate background/text for contrast */
.page-ththao__container,
.page-ththao__about-section,
.page-ththao__sports-categories,
.page-ththao__guide-section,
.page-ththao__betting-odds,
.page-ththao__promotions-section,
.page-ththao__support-section,
.page-ththao__faq-section,
.page-ththao__conclusion-section {
  background-color: var(--bg-color, #08160F); /* Ensure background for content sections */
  color: var(--text-main, #F2FFF6);
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content below image */
  background-color: var(--bg-color, #08160F);
  overflow: hidden;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative; /* Changed to relative as text is below */
  z-index: 1;
  max-height: 600px; /* Limit height to prevent image from being too large */
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 40px; /* Space between image and content */
  padding: 0 20px;
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-ththao__description {
  font-size: 1.2rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-ththao__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ththao__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ththao__small-button {
    padding: 10px 20px;
    font-size: 1rem;
}

.page-ththao__large-button {
    padding: 18px 35px;
    font-size: 1.2rem;
}

.page-ththao__section-title {
  font-size: 2.5rem;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-ththao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 2px;
}

.page-ththao__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

.page-ththao__features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.page-ththao__feature-item {
  flex: 1;
  min-width: 300px;
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-ththao__feature-title {
  font-size: 1.8rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-ththao__feature-list {
  list-style: none;
  padding: 0;
}

.page-ththao__feature-list li {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-ththao__feature-list li::before {
  content: '✔';
  color: var(--glow, #57E38D);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-ththao__feature-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-ththao__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

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

.page-ththao__sport-card {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
  text-align: center;
}

.page-ththao__sport-title {
  font-size: 1.6rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-ththao__sport-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
}

.page-ththao__sports-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-ththao__guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

.page-ththao__step-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
  text-align: center;
}

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

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

.page-ththao__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-ththao__odds-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.page-ththao__odds-text {
  flex: 1;
  min-width: 300px;
}

.page-ththao__odds-subtitle {
  font-size: 1.8rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-ththao__odds-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-ththao__odds-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

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

.page-ththao__promo-card {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
  text-align: center;
}

.page-ththao__promo-title {
  font-size: 1.6rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-ththao__promo-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
}

.page-ththao__promotion-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-ththao__support-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

.page-ththao__channel-card {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-ththao__channel-title {
  font-size: 1.8rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-ththao__channel-list {
  list-style: none;
  padding: 0;
}

.page-ththao__channel-list li {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.page-ththao__channel-list li::before {
  content: '•';
  color: var(--gold, #F2C14E);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-ththao__channel-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
}

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

.page-ththao__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-ththao__faq-question:hover {
  background-color: rgba(var(--deep-green-rgb, 10, 75, 44), 0.5); /* Use rgba for hover effect */
}

.page-ththao__faq-qtext {
  flex-grow: 1;
}

.page-ththao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

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

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

.page-ththao__conclusion-section {
  text-align: center;
  padding-bottom: 60px;
}

.page-ththao__conclusion-section .page-ththao__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-ththao__link-text {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

.page-ththao__link-text:hover {
  color: var(--gold, #F2C14E);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-ththao__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-ththao__section-title {
    font-size: 2rem;
  }
  .page-ththao__features-grid,
  .page-ththao__odds-content {
    flex-direction: column;
  }
  .page-ththao__feature-item,
  .page-ththao__feature-image-wrapper,
  .page-ththao__odds-text,
  .page-ththao__odds-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-ththao__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-ththao__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-ththao__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ththao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-ththao__text-block {
    font-size: 0.95rem;
  }

  .page-ththao__features-grid,
  .page-ththao__sports-grid,
  .page-ththao__guide-steps,
  .page-ththao__odds-content,
  .page-ththao__promotion-grid,
  .page-ththao__support-channels {
    gap: 20px;
  }

  .page-ththao__feature-item,
  .page-ththao__sport-card,
  .page-ththao__step-card,
  .page-ththao__promo-card,
  .page-ththao__channel-card {
    padding: 20px;
    min-width: unset;
    width: 100%;
  }

  .page-ththao__feature-title,
  .page-ththao__sport-title,
  .page-ththao__step-title,
  .page-ththao__odds-subtitle,
  .page-ththao__promo-title,
  .page-ththao__channel-title {
    font-size: 1.4rem;
  }

  .page-ththao__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  .page-ththao__faq-toggle {
    font-size: 1.5rem;
  }

  .page-ththao__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }

  /* Image responsive styles */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__feature-image-wrapper,
  .page-ththao__sports-categories,
  .page-ththao__guide-section,
  .page-ththao__betting-odds,
  .page-ththao__promotions-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure all images in content areas are at least 200px wide for display, but responsive */
  .page-ththao__feature-image,
  .page-ththao__sports-image,
  .page-ththao__guide-image,
  .page-ththao__odds-image,
  .page-ththao__promotion-image {
    min-width: 200px;
    min-height: 200px;
  }

  /* Video responsive styles - no video in this page, but keeping for completeness if added later */
  .page-ththao video,
  .page-ththao__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__video-section,
  .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__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  /* Button responsive styles */
  .page-ththao__cta-button,
  .page-ththao__small-button,
  .page-ththao__large-button,
  .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;
  }
  .page-ththao__guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-ththao__guide-steps .page-ththao__step-card {
    max-width: 100%;
  }
  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-ththao__cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile vertical stacking */
  }
}

/* Color contrast enforcement (example, will be applied to relevant elements) */
.page-ththao h1, .page-ththao h2, .page-ththao h3, .page-ththao h4, .page-ththao h5, .page-ththao h6 {
  color: var(--text-main, #F2FFF6); /* Ensure good contrast on dark background */
}

.page-ththao p, .page-ththao li {
  color: var(--text-secondary, #A7D9B8); /* Ensure good contrast on dark background */
}

.page-ththao__card, .page-ththao__feature-item, .page-ththao__sport-card, .page-ththao__step-card, .page-ththao__promo-card, .page-ththao__channel-card, .page-ththao__faq-item {
  background-color: var(--card-bg, #11271B); /* Dark card background */
  color: var(--text-main, #F2FFF6); /* Light text on dark card */
}

/* Specific text color for links on dark backgrounds to ensure visibility */
.page-ththao a {
  color: var(--glow, #57E38D); /* Green for links */
}
.page-ththao a:hover {
  color: var(--gold, #F2C14E); /* Gold on hover */
}