/* style/nh.css */
.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: var(--bg-color, #0A0A0A); /* Background */
}

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

.page-nh__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-nh__text-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  font-size: 17px;
  line-height: 1.8;
  color: #FFF6D6;
}

.page-nh__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-nh__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-nh__card h3 {
  color: #FFD36B; /* Accent Color */
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-nh__card h3 a {
  color: #FFD36B;
  text-decoration: none;
}

.page-nh__card h3 a:hover {
  text-decoration: underline;
}

.page-nh__card p {
  font-size: 15px;
  color: #FFF6D6;
  flex-grow: 1;
}

.page-nh__cta-button,
.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1a1a1a; /* Dark text for light button */
  border: none;
  margin-top: 20px;
}

.page-nh__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 216, 106, 0.4);
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1a1a1a;
  border: none;
}

.page-nh__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 216, 106, 0.4);
}

.page-nh__btn-secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-nh__btn-secondary:hover {
  transform: translateY(-2px);
  background: #F2C14E;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.4);
}

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

.page-nh__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-nh__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-nh__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-nh__hero-content h1 {
  color: #FFF6D6;
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-nh__hero-content p {
  font-size: 19px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

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

.page-nh__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Quick Access */
.page-nh__quick-access {
  padding: 60px 20px;
  background-color: var(--bg-color, #0A0A0A);
}

.page-nh__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Game Showcase */
.page-nh__game-showcase {
  padding: 60px 20px;
  background-color: var(--bg-color, #0A0A0A);
}

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

/* Promotions Section */
.page-nh__promotions-section {
  padding: 60px 20px;
  background-color: var(--bg-color, #0A0A0A);
}

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

.page-nh__promo-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Security & Support */
.page-nh__security-support {
  padding: 60px 20px;
  background-color: var(--bg-color, #0A0A0A);
}

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

.page-nh__info-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-nh__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-color, #0A0A0A);
}

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

details.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}

details.page-nh__faq-item summary.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  font-size: 18px;
  color: #FFD36B;
}

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

details.page-nh__faq-item summary.page-nh__faq-question:hover {
  background: rgba(255, 216, 106, 0.1);
}

.page-nh__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-nh__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-nh__faq-item .page-nh__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly darker for answer background */
  border-radius: 0 0 10px 10px;
  font-size: 15px;
  color: #FFF6D6;
}

/* Blog Section */
.page-nh__blog-section {
  padding: 60px 20px;
  background-color: var(--bg-color, #0A0A0A);
}

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

.page-nh__blog-card img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-nh__blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-nh__blog-card h3 a {
  color: #FFD36B;
  text-decoration: none;
}

.page-nh__blog-card h3 a:hover {
  text-decoration: underline;
}

.page-nh__blog-date {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
  display: block;
}

.page-nh__blog-all-link {
  text-align: center;
  margin-top: 50px;
}

/* Global Image/Button Responsiveness */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__button-group,
.page-nh__cta-buttons,
.page-nh__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-nh {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-nh__hero-image img {
    border-radius: 4px;
  }

  .page-nh__hero-content h1 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-nh__hero-content p {
    font-size: 16px;
  }

  .page-nh__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-nh__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-nh__card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-nh__card h3 {
    font-size: 20px;
  }

  .page-nh__card p {
    font-size: 14px;
  }

  .page-nh__cta-button,
  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__button-group {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-nh__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-nh__section,
  .page-nh__card,
  .page-nh__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  details.page-nh__faq-item summary.page-nh__faq-question {
    padding: 15px;
    font-size: 16px;
  }

  .page-nh__faq-qtext {
    font-size: 15px;
  }

  .page-nh__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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