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

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

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

.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: var(--deep-green-color);
}

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

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

.page-nh__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  position: relative;
  margin-top: -100px; /* Pull content up slightly over the image, but not on top of it */
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

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

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

.page-nh__btn-primary,
.page-nh__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
}

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

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

.page-nh__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

.page-nh__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
  padding-bottom: 15px;
}

.page-nh__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-nh__subsection-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-nh__content-area {
  font-size: 1.05em;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
}

.page-nh__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-nh__list li {
  margin-bottom: 10px;
}

.page-nh__game-types-section, .page-nh__promotions-section, .page-nh__features-section, .page-nh__guide-section, .page-nh__strategy-section, .page-nh__faq-section, .page-nh__call-to-action {
  padding: 40px 0;
}

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

.page-nh__game-card, .page-nh__promo-card, .page-nh__feature-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__game-card:hover, .page-nh__promo-card:hover, .page-nh__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-nh__card-image, .page-nh__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
}

.page-nh__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px;
    border: none;
    border-radius: 0;
}

.page-nh__card-title, .page-nh__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-nh__card-description, .page-nh__feature-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
}

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

.page-nh__btn-small {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: opacity 0.3s ease;
}

.page-nh__btn-small:hover {
  opacity: 0.9;
}

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

.page-nh__guide-step {
  flex: 1 1 calc(33% - 20px);
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  text-align: center;
}

.page-nh__step-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-nh__guide-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-list {
  margin-top: 30px;
}

.page-nh__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-nh__faq-item[open] .page-nh__faq-question {
  border-bottom: 1px solid var(--primary-color);
}

.page-nh__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
  transform: rotate(45deg);
}

.page-nh__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  background-color: var(--card-bg-color);
}

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

.page-nh__faq-answer .page-nh__btn-small {
  margin-top: 10px;
}

.page-nh__call-to-action {
  background-color: var(--deep-green-color);
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  border: 1px solid var(--border-color);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.page-nh__call-to-action .page-nh__section-title {
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 20px;
}

.page-nh__call-to-action .page-nh__description {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    margin-top: -80px;
  }
  .page-nh__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-nh__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-nh__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-nh__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-nh__description {
    font-size: 1em;
  }
  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__btn-primary, .page-nh__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-nh__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-nh__subsection-title {
    font-size: 1.5em;
  }
  .page-nh__content-area {
    font-size: 0.95em;
  }
  .page-nh__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-nh__guide-step {
    flex: 1 1 100%;
  }
  .page-nh__card-image, .page-nh__feature-icon {
    height: 180px;
  }

  /* Mobile responsive for images */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-nh__hero-image-wrapper,
  .page-nh__game-card,
  .page-nh__promo-card,
  .page-nh__feature-item,
  .page-nh__guide-step,
  .page-nh__guide-image,
  .page-nh__call-to-action,
  .page-nh__container,
  .page-nh__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-nh__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-nh__guide-section, .page-nh__promotions-section, .page-nh__features-section, .page-nh__strategy-section, .page-nh__faq-section {
    padding: 30px 0;
  }
  
  .page-nh__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-nh__faq-answer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-nh__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-nh__main-title {
    font-size: clamp(1.3em, 7vw, 2em);
  }
  .page-nh__description {
    font-size: 0.9em;
  }
  .page-nh__btn-primary, .page-nh__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
  .page-nh__section-title {
    font-size: 1.6em;
  }
  .page-nh__subsection-title {
    font-size: 1.3em;
  }
  .page-nh__guide-step {
    padding: 15px;
  }
  .page-nh__card-image, .page-nh__feature-icon {
    height: 150px;
  }
}