.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--deep-navy);
}

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

.page-nh__light-bg {
  background-color: #08162B; /* Adjusted for contrast on dark body, simulating a slightly lighter section */
  color: var(--text-main);
}

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

.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  text-align: center;
  overflow: hidden;
}

.page-nh__hero-content {
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.page-nh__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold);
  letter-spacing: 1px;
}

.page-nh__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

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

.page-nh__btn-secondary:hover {
  background-color: var(--gold);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

.page-nh__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px; /* Space between content and image, if not already positioned */
  object-fit: cover;
  border-radius: 10px;
}

.page-nh__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold);
  padding-top: 40px;
}

.page-nh__text-block {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-nh__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.page-nh__text-block a {
  color: var(--gold);
  text-decoration: none;
}

.page-nh__text-block a:hover {
  text-decoration: underline;
}

.page-nh__content-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
  object-fit: cover;
}

.page-nh__feature-list,
.page-nh__game-list,
.page-nh__step-list,
.page-nh__tip-list,
.page-nh__promotion-list,
.page-nh__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-nh__feature-list li,
.page-nh__game-list li,
.page-nh__step-list li,
.page-nh__tip-list li,
.page-nh__promotion-list li,
.page-nh__security-list li {
  background-color: var(--card-bg);
  border-left: 5px solid var(--gold);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.page-nh__step-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 45px;
}

.page-nh__step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 15px;
  background-color: var(--gold);
  color: var(--deep-navy);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.page-nh__gold-text {
  color: var(--gold);
  font-weight: bold;
}

.page-nh__highlight-text {
  color: var(--glow);
  font-weight: bold;
}

/* FAQ Section */
.page-nh__faq-section {
  padding: 60px 0;
}

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

.page-nh__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: #10233F; /* Slightly different from card-bg for distinction */
  border-bottom: 1px solid var(--divider);
  list-style: none; /* For details/summary */
}

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

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

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

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

.page-nh__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

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

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

.page-nh__conclusion-section .page-nh__section-title {
  margin-bottom: 20px;
}

.page-nh__conclusion-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Color Palette Variables */
:root {
  --main-color: #113B7A;
  --accent-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider: #1B3357;
  --deep-navy: #08162B;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__hero-section .page-nh__container {
    flex-direction: column-reverse;
  }

  .page-nh__hero-content {
    margin-top: 40px;
    margin-bottom: 0;
  }

  .page-nh__hero-image {
    margin-top: 40px;
  }
}

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

  .page-nh__container {
    padding: 0 15px;
  }

  .page-nh__hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-nh__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-nh__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    padding-top: 30px;
  }

  .page-nh__text-block {
    padding: 30px 0;
  }

  .page-nh__text-block p,
  .page-nh__feature-list li,
  .page-nh__game-list li,
  .page-nh__step-list li,
  .page-nh__tip-list li,
  .page-nh__promotion-list li,
  .page-nh__security-list li,
  .page-nh__faq-question,
  .page-nh__faq-answer {
    font-size: 1rem;
  }

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-nh__hero-image,
  .page-nh__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__hero-section,
  .page-nh__introduction-section,
  .page-nh__why-k9cc-section,
  .page-nh__popular-games-section,
  .page-nh__how-to-play-section,
  .page-nh__tips-strategy-section,
  .page-nh__promotions-section,
  .page-nh__security-section,
  .page-nh__faq-section,
  .page-nh__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  
  .page-nh__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-nh__faq-question {
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-nh__hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .page-nh__section-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}