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

.page-nh__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-nh__section-title {
  font-size: 38px;
  color: #F2C14E; /* Main color */
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-nh__main-title {
  font-size: clamp(32px, 5vw, 48px);
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-nh__subtitle {
  font-size: 20px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
  overflow: hidden;
}

.page-nh__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-nh__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-nh__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-nh__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-nh__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-nh__cta-button:hover {
  background: linear-gradient(180deg, #FFE07B 0%, #E8B32C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.page-nh__btn-secondary:hover {
  background: #FFD36B;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-nh__feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.page-nh__card {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 calc(33% - 25px);
  max-width: calc(33% - 25px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  text-align: left;
}

.page-nh__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-nh__card-title {
  font-size: 24px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-nh__game-item {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-nh__game-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-nh__game-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-nh__game-item h3 {
  font-size: 22px;
  color: #FFD36B; /* Auxiliary color */
  margin: 20px 15px 10px;
}

.page-nh__game-item p {
  font-size: 16px;
  color: #FFF6D6;
  padding: 0 15px 20px;
}

.page-nh__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-nh__steps-list li {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-nh__step-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-nh__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-nh__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.page-nh__promo-list li {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 calc(33% - 25px);
  max-width: calc(33% - 25px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #FFF6D6;
}

.page-nh__promo-list li img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-nh__promo-title {
  font-size: 20px;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-nh__security-features {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.page-nh__security-features li {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  flex: 1 1 calc(33% - 25px);
  max-width: calc(33% - 25px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #FFF6D6;
}

.page-nh__security-features li img {
  width: 100%;
  
  object-fit: contain;
  margin-bottom: 15px;
}

.page-nh__feature-title {
  font-size: 20px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

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

details.page-nh__faq-item summary.page-nh__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;
}

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

details.page-nh__faq-item summary.page-nh__faq-question:hover {
  background: #1a1a1a;
}

.page-nh__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Main color */
}

.page-nh__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-nh__faq-item .page-nh__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
  font-size: 16px;
  text-align: left;
}

/* 移动端响应式设计 */
@media (max-width: 1024px) {
  .page-nh__feature-cards,
  .page-nh__promo-list,
  .page-nh__security-features {
    flex-direction: column;
    align-items: center;
  }

  .page-nh__card,
  .page-nh__promo-list li,
  .page-nh__security-features li {
    flex: 1 1 90%;
    max-width: 90%;
  }

  .page-nh__game-item img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-nh__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-nh__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-nh__subtitle {
    font-size: 16px;
  }

  .page-nh__section-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .page-nh p {
    font-size: 16px;
  }

  .page-nh__cta-button,
  .page-nh__btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-nh__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-nh__hero-image img {
    border-radius: 4px;
  }

  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__game-item,
  .page-nh__promo-list li,
  .page-nh__security-features li,
  .page-nh__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-nh__card,
  .page-nh__promo-list li,
  .page-nh__security-features li {
    padding: 20px;
  }

  .page-nh__card-title,
  .page-nh__game-title,
  .page-nh__step-title,
  .page-nh__promo-title,
  .page-nh__feature-title {
    font-size: 20px;
  }

  details.page-nh__faq-item summary.page-nh__faq-question { padding: 15px; }
  .page-nh__faq-qtext { font-size: 16px; }
  details.page-nh__faq-item .page-nh__faq-answer { padding: 0 15px 15px; }
}