/* style/nh.css */

:root {
  --page-nh-primary-color: #11A84E;
  --page-nh-secondary-color: #22C768;
  --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-color: #2E7A4E;
  --page-nh-glow-color: #57E38D;
  --page-nh-gold-color: #F2C14E;
  --page-nh-divider-color: #1E3A2A;
  --page-nh-deep-green: #0A4B2C;
  --page-nh-light-text: #ffffff;
  --page-nh-dark-text: #333333;
}

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

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

.page-nh__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-nh-text-main);
  text-align: center;
  margin-bottom: 40px;
  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: var(--page-nh-glow-color);
  border-radius: 2px;
}

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

.page-nh__text-center {
  text-align: center;
}

/* Color Contrast Specifics */
.page-nh__dark-bg {
  background-color: var(--page-nh-background);
  color: var(--page-nh-text-main);
}

.page-nh__light-bg {
  background-color: var(--page-nh-text-main);
  color: var(--page-nh-dark-text);
}

.page-nh__light-bg .page-nh__section-title, 
.page-nh__light-bg .page-nh__text-contrast-fix {
  color: var(--page-nh-dark-text);
}

.page-nh__light-bg .page-nh__section-title::after {
  background: var(--page-nh-primary-color);
}

.page-nh__card {
  background-color: var(--page-nh-card-bg);
  color: var(--page-nh-text-main);
  border: 1px solid var(--page-nh-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-nh__btn-primary, .page-nh__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
}

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

.page-nh__btn-primary:hover {
  box-shadow: 0 0 15px var(--page-nh-glow-color);
  transform: translateY(-2px);
}

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

.page-nh__btn-secondary:hover {
  background: var(--page-nh-glow-color);
  color: var(--page-nh-dark-text);
  transform: translateY(-2px);
}

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

.page-nh__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

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

.page-nh__hero-content {
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

.page-nh__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  color: var(--page-nh-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-nh__hero-description {
  font-size: 1.2em;
  color: var(--page-nh-text-secondary);
  margin-bottom: 40px;
}

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

/* Intro Section */
.page-nh__intro-section {
  padding: 80px 0;
  text-align: center;
}

/* Why Choose Section */
.page-nh__why-choose-section {
  padding: 80px 0;
}

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

.page-nh__feature-item {
  text-align: center;
}

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

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

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

/* Game Types Section */
.page-nh__game-types-section {
  padding: 80px 0;
}

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

.page-nh__game-type-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-nh__game-type-description {
  color: var(--page-nh-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Play Section */
.page-nh__how-to-play-section {
  padding: 80px 0;
}

.page-nh__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-nh__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-nh__step-item {
  margin-bottom: 25px;
  padding-left: 30px;
  position: relative;
}

.page-nh__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--page-nh-primary-color);
  color: var(--page-nh-light-text);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 0.9em;
}

.page-nh__step-title {
  font-size: 1.3em;
  color: var(--page-nh-dark-text);
  margin-bottom: 5px;
}

.page-nh__step-description {
  color: var(--page-nh-dark-text);
}

.page-nh__guide-image-wrapper {
  text-align: center;
}

.page-nh__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-nh__guide-cta {
  margin-top: 30px;
}

/* Strategy Section */
.page-nh__strategy-section {
  padding: 80px 0;
}

.page-nh__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-nh__strategy-item {
  background-color: var(--page-nh-card-bg);
  border: 1px solid var(--page-nh-border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

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

.page-nh__strategy-item-description {
  color: var(--page-nh-text-secondary);
}

/* Promotions Section */
.page-nh__promotions-section {
  padding: 80px 0;
}

.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;
}

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

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

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

.page-nh__btn-container {
  margin-top: 50px;
}

/* FAQ Section */
.page-nh__faq-section {
  padding: 80px 0;
}

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

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

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-nh-gold-color);
  cursor: pointer;
  background-color: var(--page-nh-card-bg);
  border: 1px solid var(--page-nh-border-color);
  border-radius: 8px;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-nh__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-nh__faq-question:hover {
  background-color: var(--page-nh-deep-green);
}

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

.page-nh__faq-answer {
  padding: 15px 25px 5px 25px;
  font-size: 1.1em;
  color: var(--page-nh-text-secondary);
  background-color: var(--page-nh-card-bg);
  border-left: 1px solid var(--page-nh-border-color);
  border-right: 1px solid var(--page-nh-border-color);
  border-bottom: 1px solid var(--page-nh-border-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

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

.page-nh__final-cta .page-nh__section-title {
  color: var(--page-nh-gold-color);
}

.page-nh__final-cta .page-nh__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    max-width: 768px;
  }
  .page-nh__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-nh__guide-grid {
    grid-template-columns: 1fr;
  }
  .page-nh__guide-image-wrapper {
    order: -1; /* Image appears above steps on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px !important;
  }
  .page-nh__section-title {
    font-size: 2em;
  }
  .page-nh__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-nh__hero-description {
    font-size: 1em;
  }
  .page-nh__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__btn-primary, .page-nh__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-nh__features-grid, .page-nh__game-type-grid, .page-nh__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-nh__feature-image, .page-nh__game-type-image, .page-nh__promo-image {
    height: auto !important;
    min-height: 200px;
  }
  .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__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;
  }
  .page-nh__video-section {
    padding-top: 10px !important;
  }
  .page-nh__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-nh__faq-answer {
    padding: 10px 20px 5px 20px;
    font-size: 1em;
  }
  .page-nh__final-cta .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__step-item {
    padding-left: 25px;
  }
  .page-nh__step-item::before {
    width: 22px;
    height: 22px;
    font-size: 0.8em;
  }
}