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

  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--dark-bg); /* Body background is dark, so text is light */
  line-height: 1.6;
}

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

.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--dark-bg);
  padding-top: 10px; /* Small top padding for visual separation, body handles --header-offset */
}

.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;
  filter: brightness(0.7); /* Slightly darken image for better text contrast */
}

.page-nh__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* Ensure content is above image */
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-nh__main-title {
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--glow-color);
}

.page-nh__description {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 14px 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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-nh__btn-secondary {
  background: var(--card-bg);
  color: var(--light-green);
  border: 2px solid var(--light-green);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-nh__btn-secondary:hover {
  background: var(--light-green);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.page-nh__btn-center {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-nh__introduction-section,
.page-nh__how-to-play-section,
.page-nh__features-section,
.page-nh__faq-section,
.page-nh__conclusion-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

.page-nh__game-types-section,
.page-nh__strategy-section,
.page-nh__promotions-section {
  padding: 80px 0;
  background-color: var(--deep-green);
}

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

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

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

.page-nh__game-card,
.page-nh__feature-card,
.page-nh__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-nh__game-card:hover,
.page-nh__feature-card:hover,
.page-nh__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-nh__game-card-image,
.page-nh__content-image,
.page-nh__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-nh__game-card-title,
.page-nh__feature-title,
.page-nh__promo-title {
  color: var(--light-green);
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-nh__game-card-text,
.page-nh__feature-text,
.page-nh__promo-text {
  color: var(--text-secondary);
  font-size: 1em;
  flex-grow: 1;
}

.page-nh__numbered-list,
.page-nh__bullet-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-nh__numbered-list li,
.page-nh__bullet-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 1.1em;
  line-height: 1.5;
  position: relative;
  padding-left: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__numbered-list li:last-child,
.page-nh__bullet-list li:last-child {
  margin-bottom: 0;
}

.page-nh__numbered-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--light-green);
  color: var(--dark-bg);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-nh__bullet-list li::before {
  content: '◆';
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--light-green);
  font-size: 1.2em;
}

.page-nh__list-item-title {
  color: var(--gold-color);
}

.page-nh__content-image {
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

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

.page-nh__faq-item summary:hover {
  background-color: rgba(var(--light-green), 0.1);
}

.page-nh__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

.page-nh__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--light-green);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__main-title {
    font-size: 2.5em;
  }
  .page-nh__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-nh__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Adjust overlay for mobile */
    border-radius: 0;
    margin-top: -100px; /* Pull content up slightly over image */
  }

  .page-nh__hero-section {
    padding-bottom: 40px;
  }

  .page-nh__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em); /* Use clamp for H1 on mobile */
    margin-bottom: 10px;
  }

  .page-nh__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%;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-nh__btn-center {
    width: 100%;
  }

  .page-nh__introduction-section,
  .page-nh__game-types-section,
  .page-nh__how-to-play-section,
  .page-nh__strategy-section,
  .page-nh__features-section,
  .page-nh__promotions-section,
  .page-nh__faq-section,
  .page-nh__conclusion-section {
    padding: 40px 0;
  }

  .page-nh__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-nh__container {
    padding: 0 15px;
  }

  .page-nh__game-grid,
  .page-nh__feature-grid,
  .page-nh__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-nh__text-block {
    font-size: 0.95em;
  }

  .page-nh__numbered-list li,
  .page-nh__bullet-list li {
    font-size: 0.95em;
    padding: 12px 20px 12px 45px;
  }

  .page-nh__numbered-list li::before {
    width: 24px;
    height: 24px;
    font-size: 0.8em;
    left: 10px;
  }

  .page-nh__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-nh__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px 20px;
  }

  /* Mobile image and video responsiveness */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-nh__hero-image-wrapper,
  .page-nh__game-card,
  .page-nh__feature-card,
  .page-nh__promo-card,
  .page-nh__container,
  .page-nh__cta-buttons,
  .page-nh__game-grid,
  .page-nh__feature-grid,
  .page-nh__promo-cards,
  .page-nh__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-nh__hero-image-wrapper {
    overflow: hidden;
  }
  
  /* Override specific padding for containers if needed, but general container padding should be 15px */
  .page-nh__introduction-section .page-nh__container,
  .page-nh__game-types-section .page-nh__container,
  .page-nh__how-to-play-section .page-nh__container,
  .page-nh__strategy-section .page-nh__container,
  .page-nh__features-section .page-nh__container,
  .page-nh__promotions-section .page-nh__container,
  .page-nh__faq-section .page-nh__container,
  .page-nh__conclusion-section .page-nh__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}