/* style/nh.css */
.page-nh {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-nh__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background layers */
  z-index: 2;
}

.page-nh__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-nh__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

.page-nh__btn-primary,
.page-nh__btn-secondary,
.page-nh__btn-play-now {
  padding: 14px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

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

.page-nh__btn-secondary,
.page-nh__btn-play-now {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-nh__btn-secondary:hover,
.page-nh__btn-play-now:hover {
  background-color: #2AD16F;
  color: #08160F;
}

.page-nh__section {
  padding: 60px 20px;
}

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

.page-nh__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-nh__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #A7D9B8;
  text-align: justify;
}

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

.page-nh__feature-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-nh__feature-icon {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-nh__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-nh__feature-description {
  font-size: 1rem;
  color: #A7D9B8;
  flex-grow: 1;
}

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

.page-nh__game-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-nh__game-image {
  width: 100%;
  height: auto;
  max-height: 300px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-nh__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-nh__game-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-nh__game-title a:hover {
  color: #2AD16F;
}

.page-nh__game-description {
  font-size: 0.95rem;
  color: #A7D9B8;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-nh__btn-play-now {
  width: auto; /* Allow button to size to content */
  min-width: 150px;
}

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

.page-nh__step-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.page-nh__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-nh__step-item p {
  font-size: 1rem;
  color: #A7D9B8;
}

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

.page-nh__promo-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-nh__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-nh__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8;
  flex-grow: 1;
}

/* Tips Section */
.page-nh__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-nh__tip-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.page-nh__tip-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-nh__tip-item p {
  font-size: 1rem;
  color: #A7D9B8;
}

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

.page-nh__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-nh__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #11271B;
  position: relative;
  user-select: none;
}

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

.page-nh__faq-item summary:hover {
  background-color: #0A4B2C;
}

.page-nh__faq-qtext {
  flex-grow: 1;
}

.page-nh__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
  content: '−';
}

.page-nh__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
}

.page-nh__faq-answer p {
  margin: 0;
}

/* Conclusion Section */
.page-nh__conclusion-section {
  text-align: center;
}

.page-nh__conclusion-section .page-nh__text-block {
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-nh__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

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

  .page-nh__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  }

  .page-nh__feature-card, .page-nh__game-card, .page-nh__promo-card {
    padding: 20px;
  }

  .page-nh__feature-title, .page-nh__game-title, .page-nh__promo-title, .page-nh__step-title, .page-nh__tip-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-nh {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-nh__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-nh__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-nh__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh__btn-play-now {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__section {
    padding: 40px 15px;
  }

  .page-nh__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

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