/* style/nh.css */
:root {
  --nh-primary-color: #11A84E;
  --nh-secondary-color: #22C768;
  --nh-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --nh-background-color: #08160F;
  --nh-card-bg-color: #11271B;
  --nh-text-main-color: #F2FFF6;
  --nh-text-secondary-color: #A7D9B8;
  --nh-border-color: #2E7A4E;
  --nh-glow-color: #57E38D;
  --nh-gold-color: #F2C14E;
  --nh-divider-color: #1E3A2A;
  --nh-deep-green-color: #0A4B2C;
}

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

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

/* Section Styling */
.page-nh__hero-section,
.page-nh__intro-section,
.page-nh__features-section,
.page-nh__game-types-section,
.page-nh__how-to-play-section,
.page-nh__video-section,
.page-nh__promotions-section,
.page-nh__faq-section,
.page-nh__cta-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-nh__hero-section {
  padding-top: 10px; /* Small padding top for initial visual, body handles header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for large screens */
  overflow: hidden;
}

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-nh__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--nh-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-nh__description {
  font-size: 1.2rem;
  color: var(--nh-text-secondary-color);
  margin-bottom: 30px;
}

.page-nh__section-title {
  font-size: 2.5rem;
  color: var(--nh-gold-color);
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-nh__text-block {
  font-size: 1.1rem;
  color: var(--nh-text-main-color);
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-nh__highlight {
  color: var(--nh-gold-color);
  font-weight: bold;
}

.page-nh__inline-link {
  color: var(--nh-secondary-color);
  text-decoration: underline;
}

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

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

.page-nh__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-primary {
  background: var(--nh-button-gradient);
  color: var(--nh-text-main-color);
  border: 2px solid var(--nh-glow-color);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-nh__btn-secondary {
  background-color: transparent;
  color: var(--nh-secondary-color);
  border: 2px solid var(--nh-secondary-color);
}

.page-nh__btn-secondary:hover {
  background-color: var(--nh-secondary-color);
  color: var(--nh-background-color);
}

/* Cards */
.page-nh__card {
  background-color: var(--nh-card-bg-color);
  border: 1px solid var(--nh-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--nh-text-main-color);
  text-align: left;
  box-sizing: border-box;
}

/* Feature Section */
.page-nh__features-section {
  background-color: var(--nh-deep-green-color);
}

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

.page-nh__feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-nh__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-nh__feature-title {
  font-size: 1.5rem;
  color: var(--nh-gold-color);
  margin-bottom: 15px;
}

.page-nh__feature-description {
  font-size: 1rem;
  color: var(--nh-text-secondary-color);
  line-height: 1.7;
}

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

.page-nh__game-card {
  text-align: center;
}

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

.page-nh__game-title {
  font-size: 1.3rem;
  color: var(--nh-gold-color);
  margin-bottom: 10px;
}

.page-nh__game-description {
  font-size: 0.95rem;
  color: var(--nh-text-secondary-color);
}

/* How to Play Section */
.page-nh__how-to-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-nh__how-to-list li {
  background-color: var(--nh-card-bg-color);
  border: 1px solid var(--nh-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--nh-text-main-color);
  line-height: 1.7;
}

.page-nh__list-title {
  color: var(--nh-gold-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: block;
}

/* Video Section */
.page-nh__video-section {
  background-color: var(--nh-deep-green-color);
  padding-top: 10px; /* body handles header offset, this is for visual spacing */
}

.page-nh__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%; /* Ensure width is 100% for desktop */
}

.page-nh__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

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

.page-nh__promo-card {
  text-align: center;
  padding-bottom: 20px;
}

.page-nh__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-nh__promo-title {
  font-size: 1.5rem;
  color: var(--nh-gold-color);
  margin-bottom: 10px;
}

.page-nh__promo-description {
  font-size: 1rem;
  color: var(--nh-text-secondary-color);
  margin-bottom: 20px;
}

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

.page-nh__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  text-align: left;
}

.page-nh__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--nh-gold-color);
  background-color: var(--nh-card-bg-color);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-nh__faq-item summary:hover {
  background-color: var(--nh-border-color);
}

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

.page-nh__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--nh-glow-color);
}

.page-nh__faq-answer {
  padding: 15px 20px 5px;
  font-size: 1rem;
  color: var(--nh-text-secondary-color);
  line-height: 1.7;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card bg */
  border-radius: 0 0 8px 8px;
}

/* CTA Section */
.page-nh__cta-section .page-nh__container {
  padding: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-nh__section-title {
    font-size: 2rem;
  }
  .page-nh__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-nh__container {
    padding: 15px;
  }
  .page-nh__hero-section,
  .page-nh__intro-section,
  .page-nh__features-section,
  .page-nh__game-types-section,
  .page-nh__how-to-play-section,
  .page-nh__video-section,
  .page-nh__promotions-section,
  .page-nh__faq-section,
  .page-nh__cta-section {
    padding: 40px 0;
  }
  .page-nh__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-nh__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-nh__description,
  .page-nh__text-block {
    font-size: 1rem;
  }
  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-nh video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-nh__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-nh__video-section {
    padding-top: 10px !important; /* Small padding top for initial visual */
  }
  .page-nh__feature-grid, .page-nh__game-grid, .page-nh__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-nh__card {
    padding: 20px;
  }
  .page-nh__faq-item summary {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-nh__faq-answer {
    padding: 12px 15px 5px;
  }
  .page-nh__hero-image-wrapper {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .page-nh__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-nh__section-title {
    font-size: 1.5rem;
  }
  .page-nh__hero-content {
    padding: 15px;
  }
  .page-nh__hero-image-wrapper {
    max-height: 250px;
  }
}