/* style/ththao.css */
.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
}

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

.page-ththao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-ththao__tagline {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

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

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

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F;
}

.page-ththao__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
}

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

.page-ththao__section {
  padding: 80px 20px;
  text-align: center;
}

.page-ththao__intro-section {
  background-color: #08160F;
}

.page-ththao__bet-types-section,
.page-ththao__tips-section,
.page-ththao__promotions-section {
  background-color: #0A1F16; /* Slightly darker green */
}

.page-ththao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
}

.page-ththao__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 20px auto;
}

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

.page-ththao__image-full-width {
  width: 100%;
  height: auto;
  max-height: 563px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 40px;
  display: block;
}

.page-ththao__image-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.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: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ththao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-ththao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-ththao__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-ththao__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-ththao__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
}

.page-ththao__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-ththao__list-item {
  font-size: 1rem;
  line-height: 1.8;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-ththao__list-item::before {
  content: '✓';
  color: #2AD16F; /* Green for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-ththao__card--sport {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  padding: 20px;
  align-items: center;
  text-align: center;
}

.page-ththao__card--sport .page-ththao__card-image {
  width: 100%;
  max-width: 200px; /* Adjust max-width for smaller card images */
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-ththao__card--sport .page-ththao__card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-ththao__card--sport .page-ththao__card-text {
  font-size: 0.9rem;
}

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

.page-ththao__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #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: #1E3A2A; /* Divider for hover */
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-ththao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  /* For details tag, browser handles open/close */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__hero-section {
    padding: 50px 15px;
  }

  .page-ththao__section {
    padding: 60px 15px;
  }

  .page-ththao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-ththao__section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

  .page-ththao__tagline {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ththao__section {
    padding: 40px 15px;
  }

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

  .page-ththao__paragraph {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

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

  .page-ththao__card,
  .page-ththao__step-item {
    padding: 25px;
  }

  .page-ththao__list {
    margin-top: 30px;
  }

  .page-ththao__list-item {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

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

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

  /* Mobile image responsiveness */
  .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 .page-ththao__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-ththao__video-section {
    padding-top: 10px !important;
  }

  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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 content area images are at least 200x200 */
.page-ththao img {
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast fixes based on dark background */
.page-ththao__dark-section {
  color: #F2FFF6; /* Light text */
}

.page-ththao__section-title,
.page-ththao__card-title,
.page-ththao__step-title,
.page-ththao__faq-question .page-ththao__faq-qtext {
  color: #F2FFF6; /* Main text color for titles */
}

.page-ththao__paragraph,
.page-ththao__card-text,
.page-ththao__step-text,
.page-ththao__list-item,
.page-ththao__faq-answer {
  color: #A7D9B8; /* Secondary text color */
}

.page-ththao__btn-primary {
  color: #F2FFF6;
}

.page-ththao__btn-secondary {
  color: #2AD16F;
}

.page-ththao__btn-secondary:hover {
  color: #F2FFF6;
}