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

.page-nh {
  background-color: var(--page-nh-background);
  color: var(--page-nh-text-main);
  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 {
  padding: 60px 0;
  text-align: center;
}

.page-nh__dark-bg {
  background-color: var(--page-nh-background);
}

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

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

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

.page-nh__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
}

.page-nh__main-title {
  color: var(--page-nh-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-nh__subtitle {
  color: var(--page-nh-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-nh__section-title {
  color: var(--page-nh-text-main);
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-nh__text-main {
  color: var(--page-nh-text-main);
}

.page-nh__text-secondary {
  color: var(--page-nh-text-secondary);
}

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

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: var(--page-nh-button-gradient);
  color: #ffffff; /* Always white text on dark button */
  border: 2px solid transparent;
}

.page-nh__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-nh__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-nh__card {
  background-color: var(--page-nh-card-bg);
  border: 1px solid var(--page-nh-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-nh__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-nh__card-title {
  color: var(--page-nh-text-main);
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-nh__card-text {
  color: var(--page-nh-text-secondary);
  font-size: 0.95em;
  flex-grow: 1; /* Allow text to grow and push buttons to bottom */
}

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

.page-nh__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-nh-border);
  background-color: var(--page-nh-card-bg);
  color: var(--page-nh-text-main);
  box-sizing: border-box;
}

.page-nh__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-nh-text-main);
}

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

.page-nh__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-nh__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-nh-primary-color);
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
  content: '−';
}

.page-nh__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--page-nh-text-secondary);
  line-height: 1.6;
  font-size: 1em;
}

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

.page-nh__faq-answer .page-nh__btn-secondary {
  margin-top: 15px;
}

.page-nh__cta-bottom {
  padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    margin-top: -50px;
  }
  .page-nh__main-title {
    font-size: 2.2em;
  }
  .page-nh__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-nh__section {
    padding: 40px 0;
  }
  .page-nh__hero-content {
    margin-top: 0;
    padding: 30px 15px;
  }
  .page-nh__main-title {
    font-size: 1.8em;
  }
  .page-nh__subtitle {
    font-size: 1em;
  }
  .page-nh__section-title {
    font-size: 1.8em;
  }
  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-nh__features-grid,
  .page-nh__game-types-grid,
  .page-nh__guide-steps,
  .page-nh__strategy-grid,
  .page-nh__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-nh__card-image {
    height: 180px;
  }
  .page-nh__card {
    padding: 20px;
  }
  .page-nh__text-block {
    font-size: 0.95em;
  }
  .page-nh__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-nh__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Mobile responsive images/videos/containers (MUST HAVE) */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-nh video,
  .page-nh__video {
    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__video-section,
  .page-nh__video-container,
  .page-nh__video-wrapper,
  .page-nh__cta-buttons,
  .page-nh__button-group,
  .page-nh__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-nh__hero-section, .page-nh__video-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
  .page-nh__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-nh__main-title {
    font-size: 1.5em;
  }
  .page-nh__section-title {
    font-size: 1.5em;
  }
  .page-nh__hero-content {
    padding: 20px 10px;
  }
  .page-nh__card-image {
    height: 150px;
  }
}