.page-no-hu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-no-hu__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
  overflow: hidden;
}

.page-no-hu__hero-image-wrapper {
  margin-bottom: 20px;
}

.page-no-hu__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-no-hu__hero-title {
  font-size: clamp(2.2em, 3.5vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0; /* Brand primary color for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-no-hu__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #555555;
}

.page-no-hu__hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-no-hu__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-no-hu__btn-primary:hover {
  background-color: #1f8ac2;
  transform: translateY(-2px);
}

.page-no-hu__btn-secondary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-no-hu__btn-secondary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-no-hu__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-no-hu__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-no-hu__section-title--light {
  color: #FFFFFF;
}

.page-no-hu__intro-section,
.page-no-hu__popular-games-section,
.page-no-hu__winning-tips-section,
.page-no-hu__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-no-hu__why-choose-section,
.page-no-hu__how-to-play-section,
.page-no-hu__promotions-section,
.page-no-hu__cta-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Primary brand color for dark sections */
  color: #FFFFFF;
}

.page-no-hu__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #555555;
}

.page-no-hu__text-block--light-text {
  color: #f0f0f0;
}

.page-no-hu__highlight {
  font-weight: 600;
  color: #26A9E0; /* Ensure contrast for highlights on light backgrounds */
}

.page-no-hu__dark-bg .page-no-hu__highlight {
  color: #FFFFFF; /* Ensure contrast for highlights on dark backgrounds */
}

.page-no-hu__text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
}

.page-no-hu__dark-bg .page-no-hu__text-link {
  color: #FFFFFF;
}

.page-no-hu__flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-no-hu__flex-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-no-hu__content-block {
  flex: 1;
  min-width: 300px;
}

.page-no-hu__content-block--light-text p, .page-no-hu__content-block--light-text li {
  color: #f0f0f0;
}

.page-no-hu__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-no-hu__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-no-hu__image--promo {
  margin-top: 40px;
}

.page-no-hu__feature-list,
.page-no-hu__tip-list {
  list-style: none;
  padding: 0;
}

.page-no-hu__feature-item,
.page-no-hu__tip-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark sections */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #FFFFFF; /* Light text for dark background */
}

.page-no-hu__feature-item h3,
.page-no-hu__tip-item h3 {
  color: #FFFFFF;
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-no-hu__feature-item p, .page-no-hu__tip-item p {
  color: #f0f0f0;
}

.page-no-hu__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-no-hu__game-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-no-hu__game-card:hover {
  transform: translateY(-5px);
}

.page-no-hu__game-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  display: block;
}

.page-no-hu__game-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-no-hu__game-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-no-hu__step-list {
  list-style: none;
  padding: 0;
}

.page-no-hu__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #FFFFFF;
}

.page-no-hu__step-item h3 {
  color: #FFFFFF;
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-no-hu__step-item p {
  color: #f0f0f0;
}

.page-no-hu__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-no-hu__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__promo-card h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-no-hu__promo-card p {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-no-hu__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-no-hu__faq-list {
  margin-top: 30px;
}

.page-no-hu__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: #FFFFFF;
  list-style: none; /* For details/summary */
}

.page-no-hu__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-no-hu__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
  transform: rotate(45deg);
}

.page-no-hu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

.page-no-hu__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
  color: #555555;
}

.page-no-hu__cta-container {
  text-align: center;
}

.page-no-hu__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-no-hu__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-no-hu__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }
  .page-no-hu__container {
    padding: 20px 30px;
  }
  .page-no-hu__flex-wrapper {
    flex-direction: column;
  }
  .page-no-hu__flex-wrapper--reverse {
    flex-direction: column;
  }
  .page-no-hu__content-block, .page-no-hu__image-block {
    min-width: unset;
    width: 100%;
  }
  .page-no-hu__game-grid, .page-no-hu__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-no-hu__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 10px;
  }
  .page-no-hu__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-no-hu__hero-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-no-hu__btn,
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu a[class*="button"],
  .page-no-hu 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 !important;
    padding-right: 15px !important;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px;
  }

  /* 2. 单栏长文容器 */
  .page-no-hu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__section-title {
    font-size: clamp(1.5em, 5vw, 2em) !important;
    margin-bottom: 20px;
  }
  .page-no-hu__text-block {
    font-size: 0.95em;
  }
  .page-no-hu__why-choose-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__promotions-section,
  .page-no-hu__cta-section {
    padding: 40px 0;
  }
  .page-no-hu__feature-item,
  .page-no-hu__tip-item,
  .page-no-hu__step-item,
  .page-no-hu__promo-card {
    padding: 15px;
    margin-bottom: 15px;
  }
  .page-no-hu__feature-item h3,
  .page-no-hu__tip-item h3,
  .page-no-hu__step-item h3,
  .page-no-hu__promo-card h3 {
    font-size: 1.15em;
  }

  /* 3. 通用图片与 figure */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-no-hu__hero-image {
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-no-hu__image {
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-no-hu__game-image {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 4. 按钮与按钮容器 (重复以确保优先级) */
  .page-no-hu__btn,
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu a[class*="button"],
  .page-no-hu 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 !important;
    padding-right: 15px !important;
  }
  .page-no-hu__hero-cta,
  .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column !important; /* Force vertical stacking for main CTAs */
  }
  .page-no-hu__game-card .page-no-hu__btn-small {
    max-width: calc(100% - 30px) !important; /* Account for card padding */
    width: auto !important;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-no-hu__game-grid, .page-no-hu__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-no-hu__game-card {
    padding: 15px;
  }
  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-no-hu__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
}