.page-huong-dan-choi-game-bai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color); /* Assuming shared.css sets body background to this */
}

.page-huong-dan-choi-game-bai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-huong-dan-choi-game-bai__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-huong-dan-choi-game-bai__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-huong-dan-choi-game-bai__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-huong-dan-choi-game-bai__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #017439; /* Brand color background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-huong-dan-choi-game-bai__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-huong-dan-choi-game-bai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: Cover to fill space */
  max-width: 100%;
  min-height: 200px; /* Ensure minimum size */
}

.page-huong-dan-choi-game-bai__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-choi-game-bai__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 60ch; /* Limit title width for readability */
}

.page-huong-dan-choi-game-bai__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 80ch;
}

.page-huong-dan-choi-game-bai__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.page-huong-dan-choi-game-bai__btn-primary,
.page-huong-dan-choi-game-bai__btn-secondary,
.page-huong-dan-choi-game-bai__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  flex-grow: 1; /* Allow buttons to grow */
  max-width: 280px; /* Max width for individual buttons */
  min-width: 180px;
}

.page-huong-dan-choi-game-bai__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-huong-dan-choi-game-bai__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

.page-huong-dan-choi-game-bai__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #ffffff;
}

.page-huong-dan-choi-game-bai__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-huong-dan-choi-game-bai__btn-link {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-huong-dan-choi-game-bai__btn-link:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-huong-dan-choi-game-bai__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-huong-dan-choi-game-bai__feature-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px;
}

.page-huong-dan-choi-game-bai__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure min size for all images */
  min-height: 200px;
}

.page-huong-dan-choi-game-bai__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-huong-dan-choi-game-bai__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-huong-dan-choi-game-bai__game-image {
  width: 100%;
  height: 200px; /* Fixed height for game images */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-huong-dan-choi-game-bai__game-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-huong-dan-choi-game-bai__game-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-huong-dan-choi-game-bai__game-card .page-huong-dan-choi-game-bai__btn-primary {
  margin: 0 15px;
  width: auto; /* Override flex-grow for game card buttons */
  max-width: none;
}

.page-huong-dan-choi-game-bai__guide-steps .page-huong-dan-choi-game-bai__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-huong-dan-choi-game-bai__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-huong-dan-choi-game-bai__step-image {
  width: 100%;
  height: 250px; /* Fixed height for step images */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-huong-dan-choi-game-bai__step-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-huong-dan-choi-game-bai__step-item p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-huong-dan-choi-game-bai__step-item .page-huong-dan-choi-game-bai__btn-link,
.page-huong-dan-choi-game-bai__step-item .page-huong-dan-choi-game-bai__btn-primary {
  margin: 0 15px;
  width: auto;
  max-width: none;
}

.page-huong-dan-choi-game-bai__tip-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-huong-dan-choi-game-bai__tip-list li {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-huong-dan-choi-game-bai__tip-title {
  font-size: 1.25em;
  color: #017439;
  margin-bottom: 10px;
}

.page-huong-dan-choi-game-bai__tip-list p {
  color: #555555;
}

.page-huong-dan-choi-game-bai__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-huong-dan-choi-game-bai__promotions .page-huong-dan-choi-game-bai__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-huong-dan-choi-game-bai__promo-cards .page-huong-dan-choi-game-bai__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-huong-dan-choi-game-bai__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-huong-dan-choi-game-bai__promo-cards .page-huong-dan-choi-game-bai__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-huong-dan-choi-game-bai__promo-cards .page-huong-dan-choi-game-bai__card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-huong-dan-choi-game-bai__promo-cards .page-huong-dan-choi-game-bai__btn-primary {
  margin: 0 15px;
  width: auto;
  max-width: none;
}

.page-huong-dan-choi-game-bai__cta-bottom {
  text-align: center;
}

.page-huong-dan-choi-game-bai__faq-section {
  background-color: #f9f9f9; /* Light background for FAQ */
}

.page-huong-dan-choi-game-bai__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
}

.page-huong-dan-choi-game-bai__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: none;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

.page-huong-dan-choi-game-bai__faq-item:first-of-type {
  border-top: 1px solid #e0e0e0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.page-huong-dan-choi-game-bai__faq-item:last-of-type {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-huong-dan-choi-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-huong-dan-choi-game-bai__faq-question::-webkit-details-marker {
  display: none;
}

.page-huong-dan-choi-game-bai__faq-item summary {
  list-style: none;
}

.page-huong-dan-choi-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
  margin-left: 15px;
}

.page-huong-dan-choi-game-bai__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-huong-dan-choi-game-bai__cta-final {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.page-huong-dan-choi-game-bai__cta-final .page-huong-dan-choi-game-bai__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-huong-dan-choi-game-bai__cta-final .page-huong-dan-choi-game-bai__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-huong-dan-choi-game-bai__cta-final .page-huong-dan-choi-game-bai__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-huong-dan-choi-game-bai__cta-final .page-huong-dan-choi-game-bai__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

/* General image responsiveness */
.page-huong-dan-choi-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-huong-dan-choi-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-huong-dan-choi-game-bai__container {
    padding: 15px;
  }

  .page-huong-dan-choi-game-bai__section {
    padding: 30px 0;
  }

  .page-huong-dan-choi-game-bai__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-huong-dan-choi-game-bai__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-huong-dan-choi-game-bai__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-huong-dan-choi-game-bai__hero-image {
    object-fit: contain !important; /* Mobile: Contain to show full image */
    aspect-ratio: unset !important;
    max-height: none !important;
    min-height: 200px !important;
  }

  .page-huong-dan-choi-game-bai__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-huong-dan-choi-game-bai__hero-description {
    font-size: 1em;
  }

  .page-huong-dan-choi-game-bai__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
  }

  .page-huong-dan-choi-game-bai__btn-primary,
  .page-huong-dan-choi-game-bai__btn-secondary,
  .page-huong-dan-choi-game-bai__btn-link,
  .page-huong-dan-choi-game-bai a[class*="button"],
  .page-huong-dan-choi-game-bai 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;
  }

  /* Feature List */
  .page-huong-dan-choi-game-bai__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-choi-game-bai__feature-icon {
    width: 60px;
    height: 60px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Game Grid */
  .page-huong-dan-choi-game-bai__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-choi-game-bai__game-image {
    height: auto !important;
    aspect-ratio: 4/3;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Guide Steps */
  .page-huong-dan-choi-game-bai__guide-steps .page-huong-dan-choi-game-bai__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-choi-game-bai__step-image {
    height: auto !important;
    aspect-ratio: 4/3;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Tips & Strategies */
  .page-huong-dan-choi-game-bai__tip-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-huong-dan-choi-game-bai__strategy-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Promotions */
  .page-huong-dan-choi-game-bai__promotions .page-huong-dan-choi-game-bai__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-choi-game-bai__promo-image {
    height: auto !important;
    aspect-ratio: 4/3;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* FAQ */
  .page-huong-dan-choi-game-bai__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-huong-dan-choi-game-bai__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Ensure all content containers are constrained */
  .page-huong-dan-choi-game-bai__section,
  .page-huong-dan-choi-game-bai__card,
  .page-huong-dan-choi-game-bai__container,
  .page-huong-dan-choi-game-bai__game-grid,
  .page-huong-dan-choi-game-bai__step-list,
  .page-huong-dan-choi-game-bai__promo-cards,
  .page-huong-dan-choi-game-bai__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* General image rules for mobile */
  .page-huong-dan-choi-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* No winner list/jackpot for this page, but including placeholder for completeness based on '必写清单' */
/* Winner List (Module 7, 8) - Not applicable for this page, but for global CSS completeness */
.page-huong-dan-choi-game-bai__winner-list { /* Placeholder */ }
@media (max-width: 768px) {
  .page-huong-dan-choi-game-bai__winner-list { /* Placeholder mobile styles */ }
}