.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main for general content, as body background is dark */
  background-color: var(--deep-navy); /* From shared.css, which is #08162B */
}

/* Base styles for sections and containers */
.page-ththao__section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

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

.page-ththao__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); 
  color: #F2C14E; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #08162B; /* Deep Navy */
  min-height: 500px;
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-ththao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(17, 59, 122, 0.7); /* Main color with transparency for content readability */
  border-radius: 10px;
  margin-top: 60px; /* To ensure it appears below the image when image is first */
}

.page-ththao__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-ththao__hero-description {
  font-size: 1.1rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__hero-cta-button,
.page-ththao__guide-cta-button,
.page-ththao__promo-cta-button,
.page-ththao__conclusion-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__hero-cta-button:hover,
.page-ththao__guide-cta-button:hover,
.page-ththao__promo-cta-button:hover,
.page-ththao__conclusion-cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

/* Intro Section */
.page-ththao__intro-section {
  background-color: #08162B; /* Deep Navy */
}

.page-ththao__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-ththao__content-wrapper p {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: justify;
}

.page-ththao__content-wrapper strong {
    color: #F2C14E; /* Gold for keywords */
}

.page-ththao__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

/* Popular Sports Section */
.page-ththao__popular-sports {
  background-color: #10233F; /* Card BG */
}

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

.page-ththao__sport-card {
  background-color: #08162B; /* Deep Navy */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border color */
}

.page-ththao__sport-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__sport-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  padding: 20px 20px 10px;
}

.page-ththao__sport-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
  text-align: justify;
}

/* Advantages Section */
.page-ththao__advantages-section {
  background-color: #08162B; /* Deep Navy */
}

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

.page-ththao__advantage-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #244D84; /* Border color */
}

.page-ththao__advantage-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-ththao__advantage-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ththao__advantage-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
}

/* Guide Section */
.page-ththao__guide-section {
  background-color: #10233F; /* Card BG */
}

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

.page-ththao__guide-step {
  background-color: #08162B; /* Deep Navy */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border color */
}

.page-ththao__guide-step-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-ththao__guide-step p {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-ththao__bet-types {
  background-color: #08162B; /* Deep Navy */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border color */
}

.page-ththao__bet-types-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-align: center;
}

.page-ththao__bet-types ul {
  list-style: none;
  padding: 0;
}

.page-ththao__bet-types li {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-ththao__bet-types li::before {
  content: '✔';
  color: #F2C14E; /* Gold checkmark */
  position: absolute;
  left: 0;
  top: 0;
}

/* Promotions Section */
.page-ththao__promotions-section {
  background-color: #08162B; /* Deep Navy */
}

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

.page-ththao__promo-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  border: 1px solid #244D84; /* Border color */
}

.page-ththao__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__promo-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  padding: 20px 20px 10px;
}

.page-ththao__promo-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
  flex-grow: 1; /* Make paragraphs take available space */
}

.page-ththao__promo-cta-button {
  margin: 0 20px 20px;
  text-align: center;
}

.page-ththao__promo-text {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
}

.page-ththao__promo-text a {
    color: #4FA8FF; /* Glow color for links */
    text-decoration: none;
    font-weight: bold;
}

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

/* FAQ Section */
.page-ththao__faq-section {
  background-color: #10233F; /* Card BG */
}

.page-ththao__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-ththao__faq-item {
  background-color: #08162B; /* Deep Navy */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #244D84; /* Border color */
  color: #F3F8FF; /* Text Main */
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #F2C14E; /* Gold for question */
  list-style: none; /* For details/summary */
}

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

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

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
}

.page-ththao__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
}

/* Conclusion Section */
.page-ththao__conclusion-section {
  background-color: #08162B; /* Deep Navy */
  text-align: center;
}

.page-ththao__conclusion-section p {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Copyright */
.page-ththao__copyright {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #AFC4E8; /* Text Secondary */
  background-color: #08162B; /* Deep Navy */
  margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-ththao__section {
    padding: 40px 0;
  }

  .page-ththao__container {
    padding: 0 15px;
  }

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

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

  .page-ththao__hero-title {
    font-size: 2rem;
  }

  .page-ththao__hero-description {
    font-size: 1rem;
  }

  .page-ththao__hero-cta-button,
  .page-ththao__guide-cta-button,
  .page-ththao__promo-cta-button,
  .page-ththao__conclusion-cta-button {
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ththao__sport-grid,
  .page-ththao__advantage-grid,
  .page-ththao__promo-grid,
  .page-ththao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-ththao__advantage-image {
    width: 80px;
    height: 80px;
  }

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

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

  /* Image responsive enforcement */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ththao__section,
  .page-ththao__container,
  .page-ththao__sport-card,
  .page-ththao__advantage-card,
  .page-ththao__guide-step,
  .page-ththao__promo-card,
  .page-ththao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Remove extra padding from container within sections that already have padding */
  .page-ththao__hero-section .page-ththao__container,
  .page-ththao__intro-section .page-ththao__container,
  .page-ththao__popular-sports .page-ththao__container,
  .page-ththao__advantages-section .page-ththao__container,
  .page-ththao__guide-section .page-ththao__container,
  .page-ththao__promotions-section .page-ththao__container,
  .page-ththao__faq-section .page-ththao__container,
  .page-ththao__conclusion-section .page-ththao__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-ththao__video-section {
    padding-top: 10px !important; /* body already handles --header-offset, this is for aesthetic spacing */
  }

  /* Specific button container for flex-wrap */
  .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;
  }
}

/* Ensure minimum image size for content images */
.page-ththao img:not(.page-ththao__hero-image) { /* Exclude hero image from this specific rule if it's already large */
    min-width: 200px;
    min-height: 200px;
}

/* General text color for p and li */
.page-ththao p,
.page-ththao li {
  color: #AFC4E8; /* Text Secondary for general text */
}

/* Ensure h1 does not have fixed large font-size */
.page-ththao__hero-title {
    /* clamp already used, no fixed large font-size */
}

/* No CSS filter on images */
.page-ththao img {
    filter: none;
}