.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #0D0E12;
  text-align: center;
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-ththao__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.6);
}

.page-ththao__description {
  font-size: 1.2rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  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, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-ththao__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-ththao__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
}

/* General Section Styling */
.page-ththao__intro-section,
.page-ththao__top-bookmakers-section,
.page-ththao__promotions-section,
.page-ththao__conclusion-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-ththao__criteria-section,
.page-ththao__bet-types-section,
.page-ththao__tips-section {
  padding: 80px 0;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-ththao__faq-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-ththao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 0 8px rgba(255, 165, 58, 0.4);
}

.page-ththao__text-block {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 25px;
  text-align: justify;
}

.page-ththao__text-centered {
  text-align: center;
}

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

/* Card Styling */
.page-ththao__card,
.page-ththao__promo-card {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-ththao__card--light {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for contrast on light section */
  color: #FFF3E6; /* Light text on dark background */
}

.page-ththao__card-image,
.page-ththao__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Min size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ththao__card-title,
.page-ththao__promo-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-ththao__card-text,
.page-ththao__promo-text {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
  flex-grow: 1;
}

/* Bookmaker Card Styling */
.page-ththao__bookmaker-card-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-ththao__bookmaker-card {
  display: flex;
  background-color: #17191F; /* Card BG */\  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  color: #FFF3E6;
}

.page-ththao__bookmaker-logo {
  width: 40%;
  min-width: 300px; /* Ensure image is not too small */
  height: auto;
  object-fit: cover;
  display: block;
}

.page-ththao__bookmaker-info {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-ththao__bookmaker-name {
  font-size: 2rem;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-ththao__bookmaker-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-ththao__bookmaker-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-ththao__bookmaker-features li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #FFF3E6;
  display: flex;
  align-items: center;
}

.page-ththao__bookmaker-features li::before {
  content: '✓';
  color: #FFA53A;
  font-weight: bold;
  margin-right: 10px;
}

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

.page-ththao__tips-item {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #FFA53A;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
}

.page-ththao__tips-item strong {
  color: #FFB04D; /* Glow */
}

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

.page-ththao__faq-item {
  background-color: #17191F; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #A84F0C; /* Border */
}

.page-ththao__faq-item details > summary {
  list-style: none; /* Hide default marker for details */
}

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

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 140, 26, 0.1); /* Slightly transparent main color */
  color: #FFB04D; /* Glow */
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 140, 26, 0.2);
}

.page-ththao__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.2);
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFA53A;
  margin-left: 15px;
}

.page-ththao__faq-answer {
  padding: 20px 25px;
  color: #FFF3E6;
  font-size: 1rem;
  text-align: justify;
}

/* Color Contrast Fixes (as per instructions) */
.page-ththao__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-ththao__light-bg {
  background-color: #17191F;
  color: #FFF3E6;
}

.page-ththao__text-contrast-fix {
  color: #FFF3E6; /* Ensure light text on dark/medium backgrounds */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-ththao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-ththao__bookmaker-card {
    flex-direction: column;
  }

  .page-ththao__bookmaker-logo {
    width: 100%;
    min-width: unset;
    height: 300px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .page-ththao__bookmaker-info {
    padding: 25px;
  }
}

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

  .page-ththao__hero-section,
  .page-ththao__intro-section,
  .page-ththao__criteria-section,
  .page-ththao__top-bookmakers-section,
  .page-ththao__bet-types-section,
  .page-ththao__promotions-section,
  .page-ththao__tips-section,
  .page-ththao__faq-section,
  .page-ththao__conclusion-section {
    padding: 40px 0;
  }

  .page-ththao__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-ththao__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

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

  .page-ththao__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__card,
  .page-ththao__promo-card {
    padding: 20px;
  }

  .page-ththao__card-image,
  .page-ththao__promo-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__card-title,
  .page-ththao__promo-title {
    font-size: 1.4rem;
  }

  .page-ththao__bookmaker-card {
    border-radius: 8px;
  }

  .page-ththao__bookmaker-info {
    padding: 20px;
  }

  .page-ththao__bookmaker-name {
    font-size: 1.6rem;
  }

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

  .page-ththao__tips-item {
    font-size: 1rem;
    padding: 15px;
  }

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

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

  /* Image and Video responsive rules */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ththao video,
  .page-ththao__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .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; /* Ensure no overflow */
  }
  
  .page-ththao__hero-section,
  .page-ththao__video-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }
}

@media (max-width: 480px) {
  .page-ththao__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

  .page-ththao__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    font-size: 0.95rem !important;
    padding: 10px 15px !important;
  }

  .page-ththao__bookmaker-name {
    font-size: 1.4rem;
  }
}