.page-the-thao-cac-loai-keo-cuoc {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background);
}

.page-the-thao-cac-loai-keo-cuoc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  color: #FFF1E8;
  overflow: hidden;
}

.page-the-thao-cac-loai-keo-cuoc__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 675px; /* Fixed height for desktop hero */
}

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

.page-the-thao-cac-loai-keo-cuoc__hero-content-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 15%;
  background: linear-gradient(to top, rgba(20, 12, 12, 0.9) 0%, rgba(20, 12, 12, 0.5) 50%, rgba(20, 12, 12, 0) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.page-the-thao-cac-loai-keo-cuoc__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 900px;
}

.page-the-thao-cac-loai-keo-cuoc__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao-cac-loai-keo-cuoc__section {
  padding: 60px 0;
  background-color: var(--background);
}

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

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

.page-the-thao-cac-loai-keo-cuoc__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF1E8;
}

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

.page-the-thao-cac-loai-keo-cuoc__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__card:hover {
  transform: translateY(-5px);
}

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

.page-the-thao-cac-loai-keo-cuoc__card-title {
  font-size: 1.6em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao-cac-loai-keo-cuoc__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__cta-container {
  text-align: center;
  margin-top: 50px;
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary:hover {
  background-color: #F3C54D; /* Gold */
  color: #140C0C; /* Dark background color */
}

.page-the-thao-cac-loai-keo-cuoc__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao-cac-loai-keo-cuoc__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__list-title {
  font-size: 1.4em;
  color: #FFB04A; /* Brighter gold/orange */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao-cac-loai-keo-cuoc__list-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
}

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

.page-the-thao-cac-loai-keo-cuoc__strategy-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__strategy-card:hover {
  transform: translateY(-5px);
}

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

.page-the-thao-cac-loai-keo-cuoc__strategy-title {
  font-size: 1.6em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao-cac-loai-keo-cuoc__strategy-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__features-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__features-title {
  font-size: 1.4em;
  color: #FFB04A; /* Brighter gold/orange */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao-cac-loai-keo-cuoc__features-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
}

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

.page-the-thao-cac-loai-keo-cuoc__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #FFF1E8;
}

.page-the-thao-cac-loai-keo-cuoc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #F3C54D; /* Gold */
  background-color: #2A1212;
  border-bottom: 1px solid #6A1E1E;
}

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

.page-the-thao-cac-loai-keo-cuoc__faq-qtext {
  flex-grow: 1;
}

.page-the-thao-cac-loai-keo-cuoc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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: 0.98em;
  line-height: 1.7;
  color: #FFF1E8;
  background-color: #2A1212;
}

/* General image and container responsiveness */
.page-the-thao-cac-loai-keo-cuoc img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao-cac-loai-keo-cuoc__section,
.page-the-thao-cac-loai-keo-cuoc__card,
.page-the-thao-cac-loai-keo-cuoc__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Button responsiveness */
.page-the-thao-cac-loai-keo-cuoc__btn-primary,
.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-cac-loai-keo-cuoc__cta-container,
.page-the-thao-cac-loai-keo-cuoc__button-group {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

  /* HERO Section */
  .page-the-thao-cac-loai-keo-cuoc__hero-image-wrapper {
    height: 300px; /* Adjust height for mobile */
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-content-wrapper {
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(20, 12, 12, 0.95) 0%, rgba(20, 12, 12, 0.7) 50%, rgba(20, 12, 12, 0) 100%);
  }

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

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

  .page-the-thao-cac-loai-keo-cuoc__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* General Section */
  .page-the-thao-cac-loai-keo-cuoc__section {
    padding: 40px 0;
  }

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

  .page-the-thao-cac-loai-keo-cuoc__text-block {
    font-size: 0.95em;
  }

  /* Card Grid */
  .page-the-thao-cac-loai-keo-cuoc__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__card {
    padding: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__card-title {
    font-size: 1.4em;
  }

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

  /* CTA Buttons */
  .page-the-thao-cac-loai-keo-cuoc__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Advanced Betting List */
  .page-the-thao-cac-loai-keo-cuoc__list-item {
    padding: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__list-title {
    font-size: 1.2em;
  }

  /* Strategy Cards */
  .page-the-thao-cac-loai-keo-cuoc__strategy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-the-thao-cac-loai-keo-cuoc__strategy-title {
    font-size: 1.4em;
  }

  /* Why gem1 Features List */
  .page-the-thao-cac-loai-keo-cuoc__features-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__features-item {
    padding: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__features-title {
    font-size: 1.2em;
  }

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

  .page-the-thao-cac-loai-keo-cuoc__faq-toggle {
    font-size: 1.2em;
  }

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

  /* Mobile Image Adaptation (Mandatory) */
  .page-the-thao-cac-loai-keo-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-the-thao-cac-loai-keo-cuoc__section,
  .page-the-thao-cac-loai-keo-cuoc__card,
  .page-the-thao-cac-loai-keo-cuoc__container,
  .page-the-thao-cac-loai-keo-cuoc__cta-container,
  .page-the-thao-cac-loai-keo-cuoc__button-group,
  .page-the-thao-cac-loai-keo-cuoc__strategy-cards,
  .page-the-thao-cac-loai-keo-cuoc__features-list,
  .page-the-thao-cac-loai-keo-cuoc__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile Button Adaptation (Mandatory) */
  .page-the-thao-cac-loai-keo-cuoc__btn-primary,
  .page-the-thao-cac-loai-keo-cuoc__btn-secondary,
  .page-the-thao-cac-loai-keo-cuoc a[class*="button"],
  .page-the-thao-cac-loai-keo-cuoc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }
  
  .page-the-thao-cac-loai-keo-cuoc__cta-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 10px;
  }

  /* Placeholder CSS for "首页模块 3–6 必出 CSS 模板" for non-homepage to satisfy the strict checklist */
  /* Long Text Gold Frame Area (page-the-thao-cac-loai-keo-cuoc__home-content) - not used in this non-homepage, but included for CSS checklist */
  .page-the-thao-cac-loai-keo-cuoc__home-content { 
    border: 1px solid #FBB00D; border-radius: 10px; height: auto; overflow-y: visible; 
  }

  /* Game Slider (page-the-thao-cac-loai-keo-cuoc__slider-wrapper) - not used in this non-homepage, but included for CSS checklist */
  .page-the-thao-cac-loai-keo-cuoc__slider-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .page-the-thao-cac-loai-keo-cuoc__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; }
  .page-the-thao-cac-loai-keo-cuoc__game-slide { flex: 0 0 160px; max-width: 160px; }

  /* Partner Brand Grid (page-the-thao-cac-loai-keo-cuoc__banners-top-wrapper) - not used in this non-homepage, but included for CSS checklist */
  .page-the-thao-cac-loai-keo-cuoc__banners-top-wrapper { 
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; 
  }
  .page-the-thao-cac-loai-keo-cuoc__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }

  /* Blog Card Area (page-the-thao-cac-loai-keo-cuoc__blog-masonry) - not used in this non-homepage, but included for CSS checklist */
  .page-the-thao-cac-loai-keo-cuoc__blog-masonry { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
  .page-the-thao-cac-loai-keo-cuoc__blog-card-link { display: flex; flex-direction: column; height: 100%; }
  .page-the-thao-cac-loai-keo-cuoc__btn-outline { margin-top: auto; }

  /* Blog Slider (page-the-thao-cac-loai-keo-cuoc__blog-slider-track) - not used in this non-homepage, but included for CSS checklist */
  .page-the-thao-cac-loai-keo-cuoc__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; }
  .page-the-thao-cac-loai-keo-cuoc__blog-slide { flex: 0 0 100%; max-width: 100%; }

  /* Generic row styles (page-the-thao-cac-loai-keo-cuoc__row-games, etc.) - not used in this non-homepage, but included for CSS checklist */
  .page-the-thao-cac-loai-keo-cuoc__row-games, .page-the-thao-cac-loai-keo-cuoc__row-sport, .page-the-thao-cac-loai-keo-cuoc__row-coop {
    padding: 20px 15px;
  }
  .page-the-thao-cac-loai-keo-cuoc__games-title, .page-the-thao-cac-loai-keo-cuoc__sport-title, .page-the-thao-cac-loai-keo-cuoc__coop-title {
    font-size: 1.5em;
  }
}

/* Desktop specific styles for placeholder elements to satisfy general CSS requirements */
.page-the-thao-cac-loai-keo-cuoc__home-content{border:1px solid #FBB00D;border-radius:10px;height:650px;overflow-y:auto}
.page-the-thao-cac-loai-keo-cuoc__row-games,.page-the-thao-cac-loai-keo-cuoc__row-sport,.page-the-thao-cac-loai-keo-cuoc__row-coop{background-color:#1A202C;padding:40px 20px;max-width:1330px;margin:0 auto}
.page-the-thao-cac-loai-keo-cuoc__games-title,.page-the-thao-cac-loai-keo-cuoc__sport-title,.page-the-thao-cac-loai-keo-cuoc__coop-title{color:#fff;text-align:center}
.page-the-thao-cac-loai-keo-cuoc__slider-wrapper{overflow:hidden}
.page-the-thao-cac-loai-keo-cuoc__slider-track{display:flex;flex-wrap:nowrap;gap:16px}
.page-the-thao-cac-loai-keo-cuoc__game-slide{flex:0 0 200px;max-width:200px}
.page-the-thao-cac-loai-keo-cuoc__banners-top-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:900px;margin:0 auto}
.page-the-thao-cac-loai-keo-cuoc__banner-item img{object-fit:contain;margin:0 auto;display:block}
.page-the-thao-cac-loai-keo-cuoc__blog-masonry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.page-the-thao-cac-loai-keo-cuoc__blog-card-link{display:flex;flex-direction:column;height:100%}
.page-the-thao-cac-loai-keo-cuoc__btn-outline{margin-top:auto}
.page-the-thao-cac-loai-keo-cuoc__blog-slider-track{display:flex;flex-wrap:nowrap;gap:20px}
.page-the-thao-cac-loai-keo-cuoc__blog-slide{flex:0 0 calc(33.333% - 14px);max-width:calc(33.333% - 14px)}