/* style/nh.css */
/* Custom Colors */
: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 {
  font-family: 'Arial', sans-serif;
  color: var(--page-nh-text-main); /* Default text color for dark background */
  background-color: var(--page-nh-background); /* Ensure consistent background */
}

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

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

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-nh__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--page-nh-border);
}

.page-nh__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-nh-text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-nh__hero-description {
  font-size: 1.1rem;
  color: var(--page-nh-text-secondary);
  line-height: 1.6;
  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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-nh__btn-primary {
  background: var(--page-nh-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  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: transparent;
  color: var(--page-nh-glow);
  border: 2px solid var(--page-nh-glow);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-nh__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

/* Section Common Styles */
.page-nh__intro-section,
.page-nh__games-showcase,
.page-nh__how-to-play,
.page-nh__tips-section,
.page-nh__cta-section {
  padding: 80px 0;
  background-color: var(--page-nh-background);
}

.page-nh__dark-section {
  background-color: var(--page-nh-deep-green);
  color: var(--page-nh-text-main);
}

.page-nh__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-nh-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-nh__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-nh-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

/* Feature Grid */
.page-nh__feature-grid, .page-nh__game-grid, .page-nh__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-nh-text-main);
}

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

.page-nh__feature-icon, .page-nh__game-image, .page-nh__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-nh__card-title {
  font-size: 1.5rem;
  color: var(--page-nh-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* How to Play / Tips List */
.page-nh__steps-list, .page-nh__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-nh__list-title {
  font-size: 1.35rem;
  color: var(--page-nh-glow);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-nh__list-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-nh-text-secondary);
}

/* FAQ Section */
.page-nh__faq-list {
  margin-top: 40px;
}

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

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

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

.page-nh__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

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

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

/* CTA Center */
.page-nh__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-nh__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-nh__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-nh__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    width: calc(100% - 30px);
  }

  .page-nh__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-nh__hero-description {
    font-size: 1rem;
  }

  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__intro-section,
  .page-nh__games-showcase,
  .page-nh__how-to-play,
  .page-nh__tips-section,
  .page-nh__cta-section,
  .page-nh__features-section,
  .page-nh__promotions-section,
  .page-nh__faq-section {
    padding: 40px 0;
  }

  .page-nh__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-nh__text-block,
  .page-nh__card-description,
  .page-nh__list-item p,
  .page-nh__faq-answer p {
    font-size: 0.95rem;
  }

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

  .page-nh__card {
    padding: 25px;
  }

  .page-nh__card-title {
    font-size: 1.3rem;
  }

  .page-nh__list-item {
    padding: 20px;
  }

  .page-nh__list-title {
    font-size: 1.2rem;
  }

  .page-nh__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-nh__faq-answer {
    padding: 0 20px 15px;
  }

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

  .page-nh__hero-image-wrapper,
  .page-nh__feature-card,
  .page-nh__game-card,
  .page-nh__promo-card,
  .page-nh__list-item,
  .page-nh__faq-item,
  .page-nh__cta-section,
  .page-nh__intro-section,
  .page-nh__games-showcase,
  .page-nh__how-to-play,
  .page-nh__tips-section,
  .page-nh__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Video responsive rules - if any video is added */
  .page-nh video,
  .page-nh__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-nh__video-section,
  .page-nh__video-container,
  .page-nh__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}