/* style/nh.css */
:root {
  --page-nh-primary-color: #11A84E;
  --page-nh-secondary-color: #22C768;
  --page-nh-bg-color: #08160F;
  --page-nh-card-bg-color: #11271B;
  --page-nh-text-main-color: #F2FFF6;
  --page-nh-text-secondary-color: #A7D9B8;
  --page-nh-border-color: #2E7A4E;
  --page-nh-glow-color: #57E38D;
  --page-nh-gold-color: #F2C14E;
  --page-nh-divider-color: #1E3A2A;
  --page-nh-deep-green-color: #0A4B2C;
}

.page-nh {
  background-color: var(--page-nh-bg-color);
  color: var(--page-nh-text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-nh__section-title {
  color: var(--page-nh-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-nh__text-block {
  color: var(--page-nh-text-secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-nh__hero-content-wrapper {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-nh__main-title {
  color: var(--page-nh-gold-color);
  margin-bottom: 20px;
  font-size: clamp(2.2em, 5vw, 3.5em);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-nh__hero-description {
  color: var(--page-nh-text-main-color);
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__btn-secondary {
  background-color: transparent;
  color: var(--page-nh-gold-color);
  border: 2px solid var(--page-nh-gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__btn-secondary:hover {
  background-color: var(--page-nh-gold-color);
  color: var(--page-nh-bg-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-nh__intro-section,
.page-nh__games-section,
.page-nh__benefits-section,
.page-nh__how-to-play-section,
.page-nh__faq-section,
.page-nh__final-cta-section {
  padding: 60px 0;
  border-top: 1px solid var(--page-nh-divider-color);
}

/* Dark sections for contrast */
.page-nh__dark-section {
  background-color: var(--page-nh-deep-green-color);
}

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

.page-nh__game-card {
  background-color: var(--page-nh-card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--page-nh-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-nh__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-nh__game-card .page-nh__card-title {
  color: var(--page-nh-gold-color);
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-nh__game-card .page-nh__card-description {
  color: var(--page-nh-text-secondary-color);
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-nh__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-nh__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-1px);
}

/* Promotions Section */
.page-nh__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-nh__promo-list li {
  background-color: var(--page-nh-card-bg-color);
  border: 1px solid var(--page-nh-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: var(--page-nh-text-main-color);
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__promo-list li strong {
  color: var(--page-nh-gold-color);
}

/* Benefits Section */
.page-nh__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__benefit-item {
  background-color: var(--page-nh-card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-nh-border-color);
}

.page-nh__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-nh__benefit-item .page-nh__card-title {
  color: var(--page-nh-gold-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-nh__benefit-item .page-nh__card-description {
  color: var(--page-nh-text-secondary-color);
  font-size: 0.95em;
}

/* How to Play Section */
.page-nh__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  counter-reset: step-counter;
}

.page-nh__steps-list li {
  background-color: var(--page-nh-card-bg-color);
  border: 1px solid var(--page-nh-border-color);
  border-radius: 8px;
  padding: 20px 20px 20px 60px;
  margin-bottom: 15px;
  color: var(--page-nh-text-main-color);
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.page-nh__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-nh-gold-color);
  color: var(--page-nh-bg-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1em;
}

.page-nh__steps-list li strong {
  color: var(--page-nh-gold-color);
}

/* FAQ Section */
.page-nh__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__faq-item {
  background-color: var(--page-nh-card-bg-color);
  border: 1px solid var(--page-nh-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--page-nh-gold-color);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-nh__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-nh-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;
  color: var(--page-nh-text-secondary-color);
  font-size: 1em;
  line-height: 1.6;
}

.page-nh__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

/* Final CTA Section */
.page-nh__final-cta-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__hero-image-wrapper {
    max-height: 500px;
  }
  .page-nh__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-nh__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px;
  }
  .page-nh__hero-section {
    padding-bottom: 40px;
  }
  .page-nh__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 20px;
  }
  .page-nh__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-nh__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__intro-section,
  .page-nh__games-section,
  .page-nh__benefits-section,
  .page-nh__how-to-play-section,
  .page-nh__faq-section,
  .page-nh__final-cta-section {
    padding: 40px 0;
  }
  .page-nh__section-title {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 30px;
  }
  .page-nh__text-block {
    font-size: 0.95em;
  }
  .page-nh__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-nh__game-image {
    height: 180px;
  }
  .page-nh__game-card .page-nh__card-title {
    font-size: 1.2em;
  }
  .page-nh__promo-list,
  .page-nh__steps-list {
    margin-top: 30px;
  }
  .page-nh__promo-list li,
  .page-nh__steps-list li {
    padding: 15px 15px 15px 50px;
    font-size: 1em;
  }
  .page-nh__steps-list li::before {
    left: 15px;
    width: 25px;
    height: 25px;
    font-size: 1em;
  }
  .page-nh__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-nh__benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-nh__benefit-item .page-nh__card-title {
    font-size: 1.3em;
  }
  .page-nh__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-nh__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.95em;
  }
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__hero-section,
  .page-nh__hero-image-wrapper,
  .page-nh__hero-content-wrapper,
  .page-nh__game-card,
  .page-nh__benefit-item,
  .page-nh__faq-item,
  .page-nh__promo-list li,
  .page-nh__steps-list li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-nh__container for main content */
  }
  .page-nh__hero-section { 
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-nh__hero-image-wrapper {
    max-height: 300px;
  }
  .page-nh__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-nh__hero-description {
    font-size: 0.9em;
  }
  .page-nh__section-title {
    font-size: clamp(18px, 6vw, 24px);
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-nh__game-card .page-nh__card-title,
  .page-nh__benefit-item .page-nh__card-title {
    font-size: 1.1em;
  }
}