.page-the-thao-cac-loai-keo-cuoc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Assuming body background from shared.css is light */
}

.page-the-thao-cac-loai-keo-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__hero-section {
  padding-top: 10px; /* Adjust for fixed header, as body padding-top is assumed from shared.css */
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-the-thao-cac-loai-keo-cuoc__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-the-thao-cac-loai-keo-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao-cac-loai-keo-cuoc__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao-cac-loai-keo-cuoc__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Using clamp for responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-the-thao-cac-loai-keo-cuoc__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-the-thao-cac-loai-keo-cuoc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary,
.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary:hover {
  background-color: #A00606;
  border-color: #A00606;
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-the-thao-cac-loai-keo-cuoc__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-the-thao-cac-loai-keo-cuoc__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-the-thao-cac-loai-keo-cuoc__intro-section,
.page-the-thao-cac-loai-keo-cuoc__bet-types-section,
.page-the-thao-cac-loai-keo-cuoc__tips-section,
.page-the-thao-cac-loai-keo-cuoc__how-to-join-section,
.page-the-thao-cac-loai-keo-cuoc__faq-section,
.page-the-thao-cac-loai-keo-cuoc__call-to-action-section {
  padding: 60px 0;
}

.page-the-thao-cac-loai-keo-cuoc__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  text-align: justify;
}

.page-the-thao-cac-loai-keo-cuoc__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao-cac-loai-keo-cuoc__bet-type-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.page-the-thao-cac-loai-keo-cuoc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao-cac-loai-keo-cuoc__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #017439;
}

.page-the-thao-cac-loai-keo-cuoc__card-description {
  font-size: 0.95em;
  color: #555555;
}

.page-the-thao-cac-loai-keo-cuoc__tips-list,
.page-the-thao-cac-loai-keo-cuoc__promo-list,
.page-the-thao-cac-loai-keo-cuoc__step-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-the-thao-cac-loai-keo-cuoc__tips-list li,
.page-the-thao-cac-loai-keo-cuoc__promo-list li,
.page-the-thao-cac-loai-keo-cuoc__step-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05em;
}

.page-the-thao-cac-loai-keo-cuoc__tips-list li::before,
.page-the-thao-cac-loai-keo-cuoc__promo-list li::before,
.page-the-thao-cac-loai-keo-cuoc__step-list li::before {
  content: '✓';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.2em;
}

.page-the-thao-cac-loai-keo-cuoc__step-list {
  counter-reset: step-counter;
}

.page-the-thao-cac-loai-keo-cuoc__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  left: 0;
  top: 2px;
}

.page-the-thao-cac-loai-keo-cuoc__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  object-fit: cover;
}

.page-the-thao-cac-loai-keo-cuoc__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-the-thao-cac-loai-keo-cuoc__dark-section .page-the-thao-cac-loai-keo-cuoc__section-title {
  color: #FFFFFF;
}

.page-the-thao-cac-loai-keo-cuoc__dark-section .page-the-thao-cac-loai-keo-cuoc__text-block {
  color: #F0F0F0;
}

.page-the-thao-cac-loai-keo-cuoc__faq-list {
  margin-top: 30px;
}

.page-the-thao-cac-loai-keo-cuoc__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao-cac-loai-keo-cuoc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 700;
  font-size: 1.1em;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Hide default details marker */
}

.page-the-thao-cac-loai-keo-cuoc__faq-item[open] .page-the-thao-cac-loai-keo-cuoc__faq-question {
  border-bottom: 1px solid transparent;
}

.page-the-thao-cac-loai-keo-cuoc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-the-thao-cac-loai-keo-cuoc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-the-thao-cac-loai-keo-cuoc__faq-item[open] .page-the-thao-cac-loai-keo-cuoc__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao-cac-loai-keo-cuoc__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-the-thao-cac-loai-keo-cuoc__faq-answer p {
  margin-bottom: 0;
}

/* Common image responsive styles */
.page-the-thao-cac-loai-keo-cuoc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao-cac-loai-keo-cuoc {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-the-thao-cac-loai-keo-cuoc__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-section {
    padding-top: 10px; /* Still 10px for mobile */
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-content {
    padding: 30px 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-the-thao-cac-loai-keo-cuoc__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__btn-primary,
  .page-the-thao-cac-loai-keo-cuoc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-the-thao-cac-loai-keo-cuoc__intro-section,
  .page-the-thao-cac-loai-keo-cuoc__bet-types-section,
  .page-the-thao-cac-loai-keo-cuoc__tips-section,
  .page-the-thao-cac-loai-keo-cuoc__how-to-join-section,
  .page-the-thao-cac-loai-keo-cuoc__faq-section,
  .page-the-thao-cac-loai-keo-cuoc__call-to-action-section {
    padding: 40px 0;
  }

  .page-the-thao-cac-loai-keo-cuoc__bet-type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__bet-type-card {
    padding: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__card-image {
    height: 180px;
  }

  .page-the-thao-cac-loai-keo-cuoc__tips-list li,
  .page-the-thao-cac-loai-keo-cuoc__promo-list li,
  .page-the-thao-cac-loai-keo-cuoc__step-list li {
    font-size: 1em;
    padding-left: 25px;
  }

  .page-the-thao-cac-loai-keo-cuoc__tips-list li::before,
  .page-the-thao-cac-loai-keo-cuoc__promo-list li::before,
  .page-the-thao-cac-loai-keo-cuoc__step-list li::before {
    font-size: 1em;
    width: 20px;
    height: 20px;
    top: 5px;
  }

  .page-the-thao-cac-loai-keo-cuoc__content-image {
    margin: 20px auto;
  }

  .page-the-thao-cac-loai-keo-cuoc__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-the-thao-cac-loai-keo-cuoc__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure all images are responsive */
  .page-the-thao-cac-loai-keo-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images/content are responsive */
  .page-the-thao-cac-loai-keo-cuoc__hero-image-wrapper,
  .page-the-thao-cac-loai-keo-cuoc__bet-type-card,
  .page-the-thao-cac-loai-keo-cuoc__tips-section,
  .page-the-thao-cac-loai-keo-cuoc__promo-section,
  .page-the-thao-cac-loai-keo-cuoc__how-to-join-section,
  .page-the-thao-cac-loai-keo-cuoc__faq-section,
  .page-the-thao-cac-loai-keo-cuoc__call-to-action-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}