/* style/nh.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-nh {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--secondary-color); /* Body background is light, so default text is dark */
}

.page-nh__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-nh__light-bg {
  background: var(--secondary-color);
  color: var(--text-dark);
}

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

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

.page-nh__section-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
  line-height: 1.2;
}

.page-nh__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-nh__text-center {
  text-align: center;
  margin-top: 30px;
}

/* 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, header offset handled by body */
  overflow: hidden;
}

.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%; /* Ensure width 100% on desktop */
}

.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__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-nh__hero-content .page-nh__description {
  color: var(--text-light);
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-nh__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

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

.page-nh__btn-primary {
  background: var(--button-login);
  color: var(--text-light);
  border: 2px solid var(--button-login);
}

.page-nh__btn-primary:hover {
  background: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-nh__btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-nh__btn-secondary:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-nh__intro-section .page-nh__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-nh__intro-section .page-nh__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-nh__card {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  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.15);
}

.page-nh__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-nh__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-nh__card p {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 15px;
}

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

.page-nh__step-item {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.page-nh__step-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-nh__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-nh__step-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-nh__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
  display: inline-block;
}

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

.page-nh__strategy-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-nh__strategy-card .page-nh__strategy-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-nh__strategy-card p {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-nh__promo-card {
  background: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-nh__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-nh__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: var(--primary-color);
}

.page-nh__promo-card p {
  padding: 0 15px 20px;
  color: var(--text-dark);
}

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

.page-nh__security-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.page-nh__security-item .page-nh__security-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-nh__security-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

/* FAQ Section */
details.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
}
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;
}
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: var(--background-light);
}
.page-nh__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-dark);
}
.page-nh__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: var(--background-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__section-title {
    font-size: 2.5em;
  }
  .page-nh__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-nh__intro-section .page-nh__content-grid {
    grid-template-columns: 1fr;
  }
  .page-nh__intro-section .page-nh__image-block {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .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__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-nh__hero-content .page-nh__description {
    font-size: 1em;
  }
  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .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__section {
    padding: 40px 15px;
  }
  .page-nh__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-nh__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-nh__card img {
    
  }
  .page-nh__card-title {
    font-size: 1.3em;
  }
  .page-nh__step-item {
    padding: 25px 15px;
  }
  .page-nh__step-icon {
    font-size: 2em;
  }
  .page-nh__step-title {
    font-size: 1.2em;
  }
  .page-nh__promo-card img {
    
  }
  .page-nh__promo-title {
    font-size: 1.3em;
  }
  .page-nh__security-item {
    padding: 25px;
  }
  .page-nh__security-item .page-nh__security-title {
    font-size: 1.3em;
  }
  details.page-nh__faq-item summary.page-nh__faq-question { padding: 15px; }
  .page-nh__faq-qtext { font-size: 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;
    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: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}