/* style/nh.css */
.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #B71C1C; /* Custom Background */
  color: #FFF5E1; /* Custom Text Main */
}

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

.page-nh__dark-section {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-nh__hero-section {
  padding-top: 10px; /* Small top padding as per requirement */
  padding-bottom: 60px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-nh__hero-image {
  width: 100%;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-nh__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-nh__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF5E1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-nh__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

.page-nh__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF5E1;
}

.page-nh__about-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

.page-nh__game-list {
  padding: 60px 0;
  background-color: #B71C1C;
}

.page-nh__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-nh__card {
  background-color: #D32F2F; /* Custom Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #F2B544; /* Custom Border */
  color: #FFF5E1;
}

.page-nh__game-card-image,
.page-nh__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #F2B544;
}

.page-nh__game-card-title,
.page-nh__promo-card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F4D34D; /* Custom Gold */
}

.page-nh__game-card-description,
.page-nh__promo-card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-nh__guide-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

.page-nh__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-nh__guide-item {
  background-color: #D32F2F;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544;
  color: #FFF5E1;
}

.page-nh__guide-item-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #F4D34D;
}

.page-nh__guide-item p {
  font-size: 1em;
  line-height: 1.5;
  text-align: left;
}

.page-nh__promotions-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

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

.page-nh__features-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

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

.page-nh__feature-item {
  background-color: #D32F2F;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544;
  color: #FFF5E1;
}

.page-nh__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px #FFCC66); /* Custom Glow */
}

.page-nh__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F4D34D;
}

.page-nh__feature-text {
  font-size: 1em;
  line-height: 1.5;
}

.page-nh__faq-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

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

.page-nh__faq-item {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #FFF5E1;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #F4D34D;
  list-style: none;
}

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

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

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

.page-nh__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
  color: #FFF5E1;
}

.page-nh__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

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

.page-nh__cta-bottom-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

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

.page-nh__cta-buttons--centered {
    margin-top: 40px;
}

.page-nh__cta-buttons--margin-top {
    margin-top: 40px;
}

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

.page-nh__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 15px #FFCC66; /* Custom Glow */
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6), 0 0 20px #FFCC66;
}

.page-nh__btn-secondary {
  background-color: transparent;
  color: #F4D34D; /* Custom Gold */
  border: 2px solid #F2B544; /* Custom Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-nh__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFD86A;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Ensure all images are responsive */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-nh__main-title {
    font-size: 2.8em;
  }
  .page-nh__section-title {
    font-size: 2.2em;
  }
  .page-nh__hero-image {
    max-height: 500px;
  }
  .page-nh__game-grid,
  .page-nh__promo-grid,
  .page-nh__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-nh__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-nh__hero-image {
    max-height: 300px !important;
    width: 100% !important;
  }
  .page-nh__hero-content {
    padding: 0 15px;
  }
  .page-nh__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }
  .page-nh__hero-description {
    font-size: 1em !important;
    margin-bottom: 25px;
  }

  /* 产品展示图区域 (Game Grid) */
  .page-nh__game-grid {
    grid-template-columns: 1fr !important; /* Single column */
    gap: 20px;
  }
  .page-nh__game-card {
    padding: 20px;
  }
  .page-nh__game-card-image {
    height: auto !important;
  }

  /* 通用图片与容器 */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-nh__container,
  .page-nh__card,
  .page-nh__section,
  .page-nh__box,
  .page-nh__guide-item,
  .page-nh__promo-card,
  .page-nh__feature-item,
  .page-nh__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-nh__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .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: 12px 20px;
  }
  .page-nh__cta-buttons--centered {
      margin-top: 30px;
  }

  /* 其他内容模块 */
  .page-nh__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }
  .page-nh__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px;
  }
  .page-nh__guide-item-title,
  .page-nh__promo-card-title,
  .page-nh__feature-title {
    font-size: 1.2em !important;
  }
  .page-nh__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px;
  }
  .page-nh__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-nh__feature-grid {
    grid-template-columns: 1fr !important;
  }
  .page-nh__about-section,
  .page-nh__game-list,
  .page-nh__guide-section,
  .page-nh__promotions-section,
  .page-nh__features-section,
  .page-nh__faq-section,
  .page-nh__cta-bottom-section {
    padding: 40px 0;
  }
}