.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--bg-color); /* #08160F */
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  background-color: var(--card-bg); /* Darker background for the section */
  padding-top: 10px; /* Small top padding */
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-ththao__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ththao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ththao__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

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

/* Buttons */
.page-ththao__btn-primary,
.page-ththao__btn-secondary,
.page-ththao__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Responsive button */
  word-wrap: break-word; /* Responsive button */
  text-align: center;
}

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

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-ththao__btn-secondary {
  background-color: transparent;
  color: var(--glow); /* #57E38D */
  border: 2px solid var(--glow); /* #57E38D */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-ththao__btn-secondary:hover {
  background-color: var(--glow); /* #57E38D */
  color: var(--deep-green); /* #0A4B2C */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
}

.page-ththao__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* General Section Styles */
.page-ththao__introduction-section,
.page-ththao__features-section,
.page-ththao__sports-categories,
.page-ththao__betting-types,
.page-ththao__promotions-section,
.page-ththao__how-to-start-section,
.page-ththao__security-section,
.page-ththao__faq-section,
.page-ththao__cta-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* #08160F */
}

.page-ththao__features-section,
.page-ththao__promotions-section,
.page-ththao__security-section {
  background-color: var(--card-bg); /* #11271B */
}

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

.page-ththao__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-ththao__text-block {
  font-size: 1.1em;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  text-align: justify;
}

/* Feature Grid */
.page-ththao__feature-grid,
.page-ththao__sports-grid,
.page-ththao__promo-grid,
.page-ththao__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ththao__feature-card,
.page-ththao__sport-card,
.page-ththao__promo-card,
.page-ththao__security-card {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
}

.page-ththao__feature-card:hover,
.page-ththao__sport-card:hover,
.page-ththao__promo-card:hover,
.page-ththao__security-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-ththao__feature-icon,
.page-ththao__sport-image,
.page-ththao__promo-image,
.page-ththao__security-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-ththao__card-title {
  font-size: 1.4em;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ththao__card-description {
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
  flex-grow: 1; /* Push buttons to bottom */
}

/* Betting Types List */
.page-ththao__betting-list,
.page-ththao__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ththao__list-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-ththao__list-item:hover {
  transform: translateX(5px);
}

.page-ththao__list-title {
  font-size: 1.3em;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ththao__list-description {
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Promotions Section specific */
.page-ththao__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-ththao__faq-list {
  margin-top: 40px;
}

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

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

.page-ththao__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* var(--border) with opacity */
}

.page-ththao__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-ththao__faq-qtext {
  flex-grow: 1;
  color: var(--gold); /* #F2C14E */
}

.page-ththao__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow); /* #57E38D */
  margin-left: 15px;
}

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

.page-ththao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
  text-align: justify;
}

/* CTA Section */
.page-ththao__cta-section {
  text-align: center;
  background-color: var(--deep-green); /* #0A4B2C */
  padding: 60px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__hero-section {
    padding-bottom: 40px;
  }
  .page-ththao__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-ththao__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-ththao__introduction-section,
  .page-ththao__features-section,
  .page-ththao__sports-categories,
  .page-ththao__betting-types,
  .page-ththao__promotions-section,
  .page-ththao__how-to-start-section,
  .page-ththao__security-section,
  .page-ththao__faq-section,
  .page-ththao__cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-bottom: 30px;
  }
  .page-ththao__hero-content {
    padding: 0 15px;
  }
  .page-ththao__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-ththao__hero-description {
    font-size: 1em;
  }
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ththao__container {
    padding: 0 15px;
  }
  .page-ththao__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }
  .page-ththao__text-block {
    font-size: 0.95em;
  }
  .page-ththao__feature-grid,
  .page-ththao__sports-grid,
  .page-ththao__promo-grid,
  .page-ththao__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ththao__feature-card,
  .page-ththao__sport-card,
  .page-ththao__promo-card,
  .page-ththao__security-card {
    padding: 20px;
  }
  .page-ththao__card-title {
    font-size: 1.2em;
  }
  .page-ththao__list-item {
    padding: 20px;
  }
  .page-ththao__list-title {
    font-size: 1.1em;
  }
  .page-ththao__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-ththao__faq-answer {
    padding: 0 20px 15px;
  }

  /* Image responsive rules */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  /* Video responsive rules - if any video was added */
  .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;
  }
  .page-ththao__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-section {
    padding-bottom: 20px;
  }
  .page-ththao__hero-content {
    padding: 0 10px;
  }
  .page-ththao__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-ththao__section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }
  .page-ththao__cta-buttons {
    gap: 10px;
  }
  .page-ththao__introduction-section,
  .page-ththao__features-section,
  .page-ththao__sports-categories,
  .page-ththao__betting-types,
  .page-ththao__promotions-section,
  .page-ththao__how-to-start-section,
  .page-ththao__security-section,
  .page-ththao__faq-section,
  .page-ththao__cta-section {
    padding: 40px 0;
  }
}

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

/* Ensure text contrast for dark background */
.page-ththao {
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--bg-color);
}

.page-ththao h1, .page-ththao h2, .page-ththao h3 {
  color: var(--gold); /* Headings use gold for prominence */
}

.page-ththao p, .page-ththao li {
  color: var(--text-secondary); /* Paragraphs and list items use secondary text color */
}

.page-ththao__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-ththao__btn-secondary {
  color: var(--glow);
  border-color: var(--glow);
}

.page-ththao__card-title {
  color: var(--gold);
}

.page-ththao__faq-qtext {
  color: var(--gold);
}

.page-ththao__faq-toggle {
  color: var(--glow);
}

.page-ththao__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Using var(--border) with opacity for hover */
}