.page-no-hu-huong-dan-choi-slot-game {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--page-bg, #f8f8f8); /* Fallback to light grey if --page-bg is not set */
}

.page-no-hu-huong-dan-choi-slot-game__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-no-hu-huong-dan-choi-slot-game__section {
  padding: 60px 0;
  text-align: center;
}

.page-no-hu-huong-dan-choi-slot-game__section--dark {
  background-color: #B71C1C; /* Background color from custom palette */
  color: #FFF5E1; /* Text Main color for dark background */
}

.page-no-hu-huong-dan-choi-slot-game__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 40px;
  color: inherit;
  line-height: 1.2;
}

.page-no-hu-huong-dan-choi-slot-game__sub-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
  color: inherit;
}

.page-no-hu-huong-dan-choi-slot-game__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  padding-bottom: 60px;
  background-color: #7A0E0E;
}

.page-no-hu-huong-dan-choi-slot-game__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-no-hu-huong-dan-choi-slot-game__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-no-hu-huong-dan-choi-slot-game__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 0;
  color: #FFF5E1; /* Text Main color */
  text-align: center;
}

.page-no-hu-huong-dan-choi-slot-game__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-no-hu-huong-dan-choi-slot-game__intro-text {
  font-size: 19px;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-no-hu-huong-dan-choi-slot-game__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-no-hu-huong-dan-choi-slot-game__btn-primary,
.page-no-hu-huong-dan-choi-slot-game__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu-huong-dan-choi-slot-game__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color from custom palette */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-no-hu-huong-dan-choi-slot-game__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-no-hu-huong-dan-choi-slot-game__btn-secondary {
  background: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #F2B544; /* Border color from custom palette */
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-no-hu-huong-dan-choi-slot-game__btn-secondary:hover {
  transform: translateY(-3px);
  background: #C91F17; /* Primary color */
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-no-hu-huong-dan-choi-slot-game__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 17px;
  color: inherit;
}

.page-no-hu-huong-dan-choi-slot-game__article-body p {
  margin-bottom: 20px;
  color: inherit;
}

.page-no-hu-huong-dan-choi-slot-game__article-body ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  text-align: left;
  color: inherit;
}

.page-no-hu-huong-dan-choi-slot-game__article-body li {
  margin-bottom: 10px;
  color: inherit;
}

.page-no-hu-huong-dan-choi-slot-game__article-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-no-hu-huong-dan-choi-slot-game__article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-no-hu-huong-dan-choi-slot-game__article-figure figcaption {
  font-style: italic;
  font-size: 15px;
  color: #666;
  margin-top: 10px;
}

.page-no-hu-huong-dan-choi-slot-game__section--dark .page-no-hu-huong-dan-choi-slot-game__article-figure figcaption {
  color: #FFD86A;
}

.page-no-hu-huong-dan-choi-slot-game__text-link {
  color: #F4D34D; /* Gold color for links */
  text-decoration: underline;
}

.page-no-hu-huong-dan-choi-slot-game__text-link:hover {
  color: #FFD86A;
}

/* FAQ Section */
details.page-no-hu-huong-dan-choi-slot-game__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333;
  text-align: left;
}
details.page-no-hu-huong-dan-choi-slot-game__faq-item summary.page-no-hu-huong-dan-choi-slot-game__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: #fefefe;
}
details.page-no-hu-huong-dan-choi-slot-game__faq-item summary.page-no-hu-huong-dan-choi-slot-game__faq-question::-webkit-details-marker {
  display: none;
}
details.page-no-hu-huong-dan-choi-slot-game__faq-item summary.page-no-hu-huong-dan-choi-slot-game__faq-question:hover {
  background: #f5f5f5;
}
.page-no-hu-huong-dan-choi-slot-game__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-no-hu-huong-dan-choi-slot-game__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #C91F17; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-no-hu-huong-dan-choi-slot-game__faq-item .page-no-hu-huong-dan-choi-slot-game__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-no-hu-huong-dan-choi-slot-game__section--cta {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #C91F17 0%, #E53935 100%);
  color: #FFF5E1;
}

.page-no-hu-huong-dan-choi-slot-game__section-title--cta {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 25px;
}

.page-no-hu-huong-dan-choi-slot-game__cta-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-no-hu-huong-dan-choi-slot-game__container {
    padding: 15px;
  }

  .page-no-hu-huong-dan-choi-slot-game__section {
    padding: 50px 0;
  }

  .page-no-hu-huong-dan-choi-slot-game__section-title {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .page-no-hu-huong-dan-choi-slot-game__sub-title {
    font-size: 24px;
    margin-top: 30px;
  }

  .page-no-hu-huong-dan-choi-slot-game__hero-content {
    padding: 60px 15px 0;
  }

  .page-no-hu-huong-dan-choi-slot-game__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-no-hu-huong-dan-choi-slot-game__btn-primary,
  .page-no-hu-huong-dan-choi-slot-game__btn-secondary {
    padding: 12px 25px;
    font-size: 17px;
  }

  .page-no-hu-huong-dan-choi-slot-game__article-body {
    font-size: 16px;
  }

  details.page-no-hu-huong-dan-choi-slot-game__faq-item summary.page-no-hu-huong-dan-choi-slot-game__faq-question {
    padding: 15px 18px;
  }

  .page-no-hu-huong-dan-choi-slot-game__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-no-hu-huong-dan-choi-slot-game__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-no-hu-huong-dan-choi-slot-game__section {
    padding: 40px 0;
  }

  .page-no-hu-huong-dan-choi-slot-game__section-title {
    font-size: clamp(28px, 8vw, 32px);
    margin-bottom: 25px;
  }

  .page-no-hu-huong-dan-choi-slot-game__sub-title {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  /* HERO 主图区域 */
  .page-no-hu-huong-dan-choi-slot-game__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 40px;
  }

  .page-no-hu-huong-dan-choi-slot-game__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    height: auto !important;
    position: relative;
    filter: brightness(0.8);
  }

  .page-no-hu-huong-dan-choi-slot-game__hero-image-wrapper {
    position: relative;
    height: 250px; /* Adjust height for mobile */
  }

  .page-no-hu-huong-dan-choi-slot-game__hero-content {
    padding: 30px 15px 0;
    margin-top: -80px; /* Pull content up slightly over the image */
  }

  .page-no-hu-huong-dan-choi-slot-game__main-title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-no-hu-huong-dan-choi-slot-game__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-no-hu-huong-dan-choi-slot-game__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-no-hu-huong-dan-choi-slot-game__btn-primary,
  .page-no-hu-huong-dan-choi-slot-game__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-no-hu-huong-dan-choi-slot-game img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-no-hu-huong-dan-choi-slot-game__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-no-hu-huong-dan-choi-slot-game__article-body {
    font-size: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-no-hu-huong-dan-choi-slot-game__article-body ul {
    margin-left: 20px;
  }

  .page-no-hu-huong-dan-choi-slot-game__article-body p,
  .page-no-hu-huong-dan-choi-slot-game__article-body li {
    text-align: left;
  }

  details.page-no-hu-huong-dan-choi-slot-game__faq-item summary.page-no-hu-huong-dan-choi-slot-game__faq-question {
    padding: 15px;
  }

  .page-no-hu-huong-dan-choi-slot-game__faq-qtext {
    font-size: 16px;
  }

  .page-no-hu-huong-dan-choi-slot-game__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-no-hu-huong-dan-choi-slot-game__faq-item .page-no-hu-huong-dan-choi-slot-game__faq-answer {
    padding: 0 15px 15px;
  }

  .page-no-hu-huong-dan-choi-slot-game__section-title--cta {
    font-size: clamp(26px, 7vw, 36px);
  }

  .page-no-hu-huong-dan-choi-slot-game__cta-description {
    font-size: 17px;
    padding: 0 15px;
  }
}