.page-nh {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-dark);
}

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

.page-nh__section-title {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
  font-weight: bold;
}

.page-nh__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  border-radius: 2px;
}

.page-nh__description {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  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-wrapper {
  position: relative;
  padding: 40px 0 60px 0;
  text-align: center;
  width: 100%;
  z-index: 1; /* Ensure content is above any subtle image effects */
}

.page-nh__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-nh__hero-content-wrapper .page-nh__description {
  font-size: 20px;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-nh__cta-buttons.page-nh__cta-center {
  margin-top: 40px;
}

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

.page-nh__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

.page-nh__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-dark);
}

.page-nh__cta-button-lg {
  padding: 18px 40px;
  font-size: 20px;
}

/* Section Styling */
.page-nh__introduction-section,
.page-nh__benefits-section,
.page-nh__strategies-section,
.page-nh__cta-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-nh__game-types-section,
.page-nh__guide-section,
.page-nh__faq-section {
  padding: 80px 0;
  background-color: #0d1a14; /* Slightly lighter dark background for contrast */
  color: var(--text-main);
}

.page-nh__light-bg .page-nh__section-title,
.page-nh__light-bg .page-nh__text-contrast-fix {
  color: var(--text-main);
}

.page-nh__content-area p {
  font-size: 17px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-nh__content-area p:last-child {
  margin-bottom: 0;
}

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

.page-nh__game-card,
.page-nh__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-nh__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-nh__card-title {
  font-size: 22px;
  color: var(--text-main);
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

.page-nh__card-description {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 0 15px;
  flex-grow: 1;
}

.page-nh__card-button {
  margin-top: 20px;
  align-self: center;
  width: calc(100% - 30px);
}

/* Benefits Section */
.page-nh__grid-benefits {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-nh__benefit-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-nh__benefit-description {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Guide Section */
.page-nh__content-guide {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-nh__guide-list li {
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
}

.page-nh__guide-list li::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--button-gradient);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(34, 199, 104, 0.3);
}

.page-nh__guide-list li h3 {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-nh__guide-list li p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  text-align: left;
}

.page-nh__small-btn {
  padding: 10px 20px;
  font-size: 16px;
}

/* Strategies Section */
.page-nh__strategy-list {
  list-style: none;
  padding: 0;
}

.page-nh__strategy-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__strategy-list li:last-child {
  margin-bottom: 0;
}

.page-nh__strategy-list li h3 {
  font-size: 20px;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-nh__strategy-list li p {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: left;
}

/* FAQ Section */
.page-nh__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--deep-green);
  color: var(--text-main);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid var(--divider-color);
  list-style: none;
}

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

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

.page-nh__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

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

.page-nh__faq-answer {
  padding: 15px 25px 20px 25px;
  background-color: var(--card-bg);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  border-top: 1px solid var(--divider-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__hero-content-wrapper {
    padding: 30px 0 50px 0;
  }

  .page-nh__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }

  .page-nh__description {
    font-size: 16px;
  }

  .page-nh__introduction-section,
  .page-nh__benefits-section,
  .page-nh__strategies-section,
  .page-nh__cta-section,
  .page-nh__game-types-section,
  .page-nh__guide-section,
  .page-nh__faq-section {
    padding: 60px 0;
  }

  .page-nh__section-title {
    margin-bottom: 30px;
  }

  .page-nh__game-card {
    padding-bottom: 15px;
  }

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

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-nh__cta-button-lg {
    padding: 15px 35px;
    font-size: 18px;
  }

  .page-nh__guide-list li {
    padding-left: 50px;
  }

  .page-nh__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-nh__guide-list li h3 {
    font-size: 20px;
  }

  .page-nh__faq-question {
    padding: 18px 20px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-nh__hero-section {
    padding-top: 10px !important;
  }

  .page-nh__hero-content-wrapper {
    padding: 20px 0 40px 0;
  }

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

  .page-nh__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh a[class*="button"],
  .page-nh a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .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__introduction-section,
  .page-nh__benefits-section,
  .page-nh__strategies-section,
  .page-nh__cta-section,
  .page-nh__game-types-section,
  .page-nh__guide-section,
  .page-nh__faq-section {
    padding: 40px 0;
  }

  .page-nh__section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 25px;
  }

  .page-nh__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

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

  .page-nh__card-title {
    font-size: 18px;
  }

  .page-nh__card-description {
    font-size: 13px;
  }

  .page-nh__benefit-item,
  .page-nh__strategy-list li {
    padding: 20px;
  }

  .page-nh__benefit-title,
  .page-nh__strategy-list li h3 {
    font-size: 18px;
  }

  .page-nh__benefit-description,
  .page-nh__strategy-list li p {
    font-size: 15px;
  }

  .page-nh__guide-list li {
    padding-left: 45px;
    margin-bottom: 25px;
  }

  .page-nh__guide-list li::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .page-nh__guide-list li h3 {
    font-size: 18px;
  }

  .page-nh__faq-question {
    padding: 15px 18px;
    font-size: 16px;
  }

  .page-nh__faq-answer {
    padding: 12px 18px 15px 18px;
    font-size: 14px;
  }

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

  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__hero-section,
  .page-nh__introduction-section,
  .page-nh__game-types-section,
  .page-nh__benefits-section,
  .page-nh__guide-section,
  .page-nh__strategies-section,
  .page-nh__faq-section,
  .page-nh__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Color contrast specific styles */
.page-nh__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-nh__light-bg {
  background-color: #0d1a14;
  color: var(--text-main);
}

.page-nh__text-contrast-fix {
  color: var(--text-main);
}

.page-nh p,
.page-nh li {
  color: var(--text-secondary);
}

.page-nh h1, .page-nh h2, .page-nh h3, .page-nh h4, .page-nh h5, .page-nh h6 {
  color: var(--text-main);
}

.page-nh__card h3 {
  color: var(--text-main);
}

.page-nh__card p {
  color: var(--text-secondary);
}