/* Base styles */
.page-huong-dan-choi-game-bai {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  background-color: #ffffff; /* Explicitly white background */
}

.page-huong-dan-choi-game-bai strong {
  font-weight: bold;
  color: #017439; /* Brand color for emphasis */
}

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

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

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

.page-huong-dan-choi-game-bai__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-huong-dan-choi-game-bai__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-huong-dan-choi-game-bai__hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (1080/1920) */
  overflow: hidden;
}

.page-huong-dan-choi-game-bai__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-huong-dan-choi-game-bai__hero-content {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  padding: 0 15px;
}

.page-huong-dan-choi-game-bai__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: #017439;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-huong-dan-choi-game-bai__hero-description {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-huong-dan-choi-game-bai__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-huong-dan-choi-game-bai__btn-primary,
.page-huong-dan-choi-game-bai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-huong-dan-choi-game-bai__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

.page-huong-dan-choi-game-bai__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-huong-dan-choi-game-bai__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  color: #017439;
  border: 1px solid #017439;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Image content */
.page-huong-dan-choi-game-bai__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Cards Grid */
.page-huong-dan-choi-game-bai__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-choi-game-bai__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-huong-dan-choi-game-bai__game-card:hover {
  transform: translateY(-5px);
}

.page-huong-dan-choi-game-bai__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-huong-dan-choi-game-bai__game-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-huong-dan-choi-game-bai__game-card-title a {
  color: #017439;
  text-decoration: none;
}

.page-huong-dan-choi-game-bai__game-card-title a:hover {
  text-decoration: underline;
}

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

.page-huong-dan-choi-game-bai__cta-play-now {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.page-huong-dan-choi-game-bai__cta-text {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Registration Guide Section */
.page-huong-dan-choi-game-bai__registration-guide-section {
  background-color: #017439;
  color: #ffffff;
}

.page-huong-dan-choi-game-bai__registration-guide-section .page-huong-dan-choi-game-bai__section-title {
  color: #ffffff;
}

.page-huong-dan-choi-game-bai__registration-guide-section .page-huong-dan-choi-game-bai__text-block {
  color: #f0f0f0;
}

.page-huong-dan-choi-game-bai__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-huong-dan-choi-game-bai__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi-game-bai__step-item:last-child {
  margin-bottom: 0;
}

.page-huong-dan-choi-game-bai__step-title {
  font-size: 1.8em;
  color: #FFFF00; /* Custom color for step titles */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-huong-dan-choi-game-bai__step-item p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-huong-dan-choi-game-bai__step-item a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-huong-dan-choi-game-bai__step-item a:hover {
  color: #FFFFFF;
}

.page-huong-dan-choi-game-bai__cta-buttons--centered {
  justify-content: center;
  margin-top: 40px;
}

/* Tips Section */
.page-huong-dan-choi-game-bai__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-huong-dan-choi-game-bai__tips-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi-game-bai__tips-item:last-child {
  margin-bottom: 0;
}

.page-huong-dan-choi-game-bai__tips-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-huong-dan-choi-game-bai__tips-item p {
  color: #555555;
}

.page-huong-dan-choi-game-bai__tips-item a {
  color: #017439;
  text-decoration: underline;
}

.page-huong-dan-choi-game-bai__tips-item a:hover {
  color: #005a2e;
}

/* Promotions Section */
.page-huong-dan-choi-game-bai__promotions-section {
  background-color: #f9f9f9;
}

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

.page-huong-dan-choi-game-bai__promotion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-huong-dan-choi-game-bai__promotion-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-huong-dan-choi-game-bai__promotion-item p {
  color: #555555;
  flex-grow: 1;
}

.page-huong-dan-choi-game-bai__promotion-item a {
  color: #017439;
  text-decoration: underline;
}

.page-huong-dan-choi-game-bai__promotion-item a:hover {
  color: #005a2e;
}

/* FAQ Section */
.page-huong-dan-choi-game-bai__faq-list {
  margin-top: 40px;
}

.page-huong-dan-choi-game-bai__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi-game-bai__faq-item:last-child {
  margin-bottom: 0;
}

.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: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  user-select: none; /* Prevent text selection on click */
}

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

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

.page-huong-dan-choi-game-bai__faq-item[open] .page-huong-dan-choi-game-bai__faq-toggle {
  content: '-';
  transform: rotate(45deg);
}

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

/* Contact CTA Section */
.page-huong-dan-choi-game-bai__contact-cta-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.page-huong-dan-choi-game-bai__contact-cta-section .page-huong-dan-choi-game-bai__section-title {
  color: #ffffff;
}

.page-huong-dan-choi-game-bai__contact-cta-section .page-huong-dan-choi-game-bai__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-choi-game-bai__hero-title {
    font-size: clamp(2.2em, 4.5vw, 3.2em);
  }

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

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

  .page-huong-dan-choi-game-bai__game-cards-grid,
  .page-huong-dan-choi-game-bai__promotion-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@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: 0 15px;
  }

  /* HERO 主图区域 */
  .page-huong-dan-choi-game-bai__hero-section {
    padding-top: 10px !important; /* Small top padding */
  }

  .page-huong-dan-choi-game-bai__hero-content {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-huong-dan-choi-game-bai__hero-title {
    font-size: clamp(2em, 8vw, 2.8em) !important;
    margin-bottom: 15px;
  }

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

  .page-huong-dan-choi-game-bai__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 按钮与按钮容器 */
  .page-huong-dan-choi-game-bai__btn-primary,
  .page-huong-dan-choi-game-bai__btn-secondary,
  .page-huong-dan-choi-game-bai__btn-outline,
  .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;
  }

  .page-huong-dan-choi-game-bai__hero-buttons,
  .page-huong-dan-choi-game-bai__cta-buttons,
  .page-huong-dan-choi-game-bai__cta-play-now .page-huong-dan-choi-game-bai__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-huong-dan-choi-game-bai__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi-game-bai__text-block {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-huong-dan-choi-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-huong-dan-choi-game-bai__image-content {
    margin: 20px auto;
  }

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

  .page-huong-dan-choi-game-bai__game-card-image {
    height: 180px;
  }

  .page-huong-dan-choi-game-bai__cta-play-now {
    padding: 20px;
    margin-top: 30px;
  }

  .page-huong-dan-choi-game-bai__cta-text {
    font-size: 1.2em;
    margin-bottom: 15px;
  }

  .page-huong-dan-choi-game-bai__step-item {
    padding: 20px;
  }

  .page-huong-dan-choi-game-bai__step-title {
    font-size: 1.5em;
  }

  .page-huong-dan-choi-game-bai__tips-item {
    padding: 20px;
  }

  .page-huong-dan-choi-game-bai__tips-title {
    font-size: 1.4em;
  }

  .page-huong-dan-choi-game-bai__promotion-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-choi-game-bai__promotion-item {
    padding: 20px;
  }

  .page-huong-dan-choi-game-bai__promotion-title {
    font-size: 1.3em;
  }

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

  .page-huong-dan-choi-game-bai__faq-toggle {
    font-size: 1.3em;
  }

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

  .page-huong-dan-choi-game-bai__contact-cta-section {
    padding: 40px 0;
  }

  .page-huong-dan-choi-game-bai__contact-cta-content {
    padding: 0 15px;
  }
}

/* Placeholder styles for consistency with homepage requirements, even if not used directly on this page */
/* Long text gold border area (if applicable) */
.page-huong-dan-choi-game-bai__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: auto; /* Not fixed height for guide page */
  overflow-y: visible;
  padding: 20px;
  margin-bottom: 30px;
}

/* Game carousel (not used on this page, but included for completeness) */
.page-huong-dan-choi-game-bai__row-games {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  display: none; /* Hide if not applicable */
}

.page-huong-dan-choi-game-bai__slider-wrapper {
  overflow: hidden;
}

.page-huong-dan-choi-game-bai__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.page-huong-dan-choi-game-bai__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}

/* Partner brand grid (not used on this page, but included for completeness) */
.page-huong-dan-choi-game-bai__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  display: none; /* Hide if not applicable */
}

.page-huong-dan-choi-game-bai__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Blog card area (general blog layout, not specific to this page but for completeness) */
.page-huong-dan-choi-game-bai__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-huong-dan-choi-game-bai__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-huong-dan-choi-game-bai__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.page-huong-dan-choi-game-bai__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

@media (max-width: 768px) {
  /* Long text gold border area */
  .page-huong-dan-choi-game-bai__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 15px !important;
  }

  /* Game carousel */
  .page-huong-dan-choi-game-bai__row-games {
    padding: 20px 0 !important;
  }

  .page-huong-dan-choi-game-bai__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .page-huong-dan-choi-game-bai__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start;
  }

  /* Partner brand grid */
  .page-huong-dan-choi-game-bai__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .page-huong-dan-choi-game-bai__banner-item img {
    
    
  }

  /* Blog card area */
  .page-huong-dan-choi-game-bai__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .page-huong-dan-choi-game-bai__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .page-huong-dan-choi-game-bai__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
}