.page-nh {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-nh__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-nh__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding for fixed header */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #0A0A0A;
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
}

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-nh__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -120px; /* Pull content slightly over image for visual flow */
  background-color: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-nh__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-nh__description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-nh__btn-primary,
.page-nh__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-nh__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-nh__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-nh__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-nh__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-nh__text-block {
  font-size: 1.05em;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-nh__intro-section,
.page-nh__games-showcase,
.page-nh__how-to-play-section,
.page-nh__promotions-section,
.page-nh__faq-section,
.page-nh__cta-final {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-nh__feature-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-nh__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__feature-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-nh__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-nh__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-nh__game-thumbnail {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-nh__game-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  min-height: 40px; /* Ensure consistent title height */
}

.page-nh__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-nh__game-title a:hover {
  text-decoration: underline;
}

.page-nh__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-nh__btn-play {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-play:hover {
  opacity: 0.9;
}

.page-nh__view-all-games,
.page-nh__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

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

.page-nh__step-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-nh__step-title {
  font-size: 1.8em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-nh__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-nh__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

.page-nh__promo-card {
  background: #111111; /* Card BG */\  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-nh__promo-thumbnail {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-nh__promo-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  min-height: 40px;
}

.page-nh__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-nh__promo-title a:hover {
  text-decoration: underline;
}

.page-nh__promo-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-nh__btn-details {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-details:hover {
  background: #F2C14E;
  color: #111111;
}

.page-nh__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-nh__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  list-style: none;
}

.page-nh__faq-question::-webkit-details-marker {
  display: none;
}

.page-nh__faq-qtext {
  flex-grow: 1;
}

.page-nh__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFD36B; /* Glow color */
  transition: transform 0.3s ease;
}

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

.page-nh__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #FFF6D6;
}

.page-nh__faq-answer p {
  margin: 0;
}

.page-nh__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-nh__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-nh__cta-final .page-nh__section-title {
  margin-bottom: 20px;
}

.page-nh__cta-final .page-nh__text-block {
  margin-bottom: 40px;
}

/* General image rules for content sections */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all content containers are responsive */
.page-nh__section,
.page-nh__card,
.page-nh__container,
.page-nh__cta-buttons,
.page-nh__view-all-games,
.page-nh__view-all-promos,
.page-nh__cta-bottom,
.page-nh__promo-grid,
.page-nh__games-grid,
.page-nh__steps-grid,
.page-nh__features-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    margin-top: -80px;
  }
  .page-nh__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-nh__section-title {
    font-size: 2em;
  }
  .page-nh__features-grid,
  .page-nh__games-grid,
  .page-nh__steps-grid,
  .page-nh__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-nh__feature-card,
  .page-nh__game-card,
  .page-nh__step-card,
  .page-nh__promo-card {
    padding: 20px;
  }
  .page-nh__game-thumbnail,
  .page-nh__promo-thumbnail {
    height: 180px;
  }
  .page-nh__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-nh__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-nh__hero-image-wrapper {
    max-height: 300px;
  }
  .page-nh__hero-content {
    margin-top: -60px; /* Adjust for smaller screens */
    padding: 15px;
  }
  .page-nh__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 10px;
  }
  .page-nh__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  
  /* 产品展示图区域 */
  .page-nh__games-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2x2 for first few, then 1x1 */
    gap: 15px;
    padding: 0 15px;
    overflow-x: hidden !important;
  }
  .page-nh__game-card {
    padding: 15px;
  }
  .page-nh__game-thumbnail {
    height: 150px;
  }
  .page-nh__game-title {
    font-size: 1.2em;
    min-height: auto;
  }
  .page-nh__game-description {
    font-size: 0.9em;
  }

  /* 通用图片与容器 */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__features-grid,
  .page-nh__steps-grid,
  .page-nh__promo-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-nh__intro-section,
  .page-nh__games-showcase,
  .page-nh__how-to-play-section,
  .page-nh__promotions-section,
  .page-nh__faq-section,
  .page-nh__cta-final {
    padding: 30px 0;
  }

  /* 按钮与按钮容器 */
  .page-nh__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh__btn-play,
  .page-nh__btn-details,
  .page-nh a[class*="button"],
  .page-nh 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-nh__view-all-games,
  .page-nh__view-all-promos,
  .page-nh__cta-bottom {
    padding: 0 15px;
  }

  /* 其他内容模块 */
  .page-nh__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-nh__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-nh__features-grid,
  .page-nh__steps-grid,
  .page-nh__promo-grid {
    grid-template-columns: 1fr !important;
  }
  .page-nh__feature-title,
  .page-nh__step-title,
  .page-nh__promo-title {
    font-size: 1.5em;
  }
  .page-nh__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-nh__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-nh__faq-list {
    padding: 0 15px;
  }
  .page-nh__feature-icon {
    max-width: 150px;
  }
}