/* style/nh.css */

/* Custom Color Variables */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-bg-card: #11271B;
  --color-bg-main: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --color-dark-text: #333333;
  --color-light-text: #ffffff;
}

.page-nh {
  font-family: 'Arial', sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-main); /* Fallback, body background is from shared.css */
}

.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: bold;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--color-bg-main);
}

.page-nh__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-nh__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-nh__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: var(--color-light-text);
}

.page-nh__hero-content h1 {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive font size */
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-nh__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--color-text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__cta-button {
  display: inline-block;
  background: var(--color-button-gradient-start); /* Fallback */
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-light-text);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
  filter: brightness(1.1);
}

.page-nh__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 30px;
}

.page-nh__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-nh__cta-button--final {
  margin-top: 30px;
}

/* Sections */
.page-nh__introduction-section,
.page-nh__game-types-section,
.page-nh__benefits-section,
.page-nh__how-to-play-section,
.page-nh__promotions-section,
.page-nh__faq-section,
.page-nh__conclusion-section,
.page-nh__disclaimer-section {
  padding: 60px 0;
}

.page-nh__dark-section {
  background-color: var(--color-bg-card);
  color: var(--color-text-main);
}

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

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

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

.page-nh__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--color-divider);
}

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

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

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

.page-nh__benefit-item {
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  background-color: var(--color-deep-green);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-border);
}

.page-nh__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-nh__benefit-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.page-nh__benefit-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* How to Play Section */
.page-nh__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-nh__step-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-nh__step-title {
  font-size: 1.6em;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-nh__step-item p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-nh__video-wrapper {
  margin-top: 40px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-border);
}

.page-nh__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  cursor: pointer;
}

/* Promotions Section */
.page-nh__promo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__promo-item {
  background-color: var(--color-deep-green);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-nh__promo-item:hover {
  transform: translateY(-5px);
}

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

.page-nh__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

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

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

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

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-text-main);
  background-color: var(--color-deep-green);
  list-style: none; /* For details/summary */
}

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

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

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

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

/* Disclaimer Section */
.page-nh__disclaimer-section {
  padding: 30px 0;
  background-color: var(--color-bg-main);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

.page-nh__disclaimer-text {
  font-size: 0.85em;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__section-title {
    font-size: 2em;
  }
  .page-nh__hero-content h1 {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-nh__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px; /* Add padding for smaller screens */
  }

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

  .page-nh__hero-content h1 {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-nh__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

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

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

  .page-nh__game-grid,
  .page-nh__benefits-grid,
  .page-nh__promo-list {
    grid-template-columns: 1fr;
  }

  .page-nh__game-card,
  .page-nh__benefit-item,
  .page-nh__promo-item,
  .page-nh__step-item {
    padding: 20px;
  }

  .page-nh__card-image {
    height: 200px;
  }

  .page-nh__card-title,
  .page-nh__benefit-title,
  .page-nh__promo-title,
  .page-nh__step-title {
    font-size: 1.2em;
  }

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

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

  /* Mobile Image Responsiveness */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile Video Responsiveness */
  .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;
  }

  .page-nh__video-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  /* Mobile Button Responsiveness */
  .page-nh__cta-button,
  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh a[class*="button"],
  .page-nh a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-nh__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}