:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --background-color: #140C0C; /* Main background */
  --card-background: #2A1212;
  --text-main-color: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Main text color for dark body */
  background-color: var(--background-color); /* Fallback, body handles main background */
}

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

.page-nh__section {
  padding: 60px 0;
  text-align: center;
}

.page-nh__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-nh__light-bg {
  background-color: #f9f9f9;
  color: #333333; /* Dark text for light background */
}

.page-nh__section-title {
  font-size: 3em;
  margin-bottom: 40px;
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-nh h1 {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--text-main-color);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-nh h2 {
  font-size: clamp(2em, 4vw, 2.8em);
  margin-bottom: 30px;
  color: var(--gold-color);
}

.page-nh h3 {
  font-size: clamp(1.5em, 3vw, 2em);
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-nh p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-nh__link {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-nh__link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

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

/* 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(--deep-red-color); /* Deep red background for hero */
  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 it takes full width within max-width */
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-nh__hero-content p {
  font-size: 1.2em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-nh__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-nh__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  margin-left: 20px;
  transition: all 0.3s ease;
}

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

.page-nh__center-content {
  text-align: center;
}

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

.page-nh__card {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-nh__card-title {
  color: var(--gold-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

.page-nh__game-card {
  background-color: var(--card-background);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-nh__game-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-nh__game-title {
  color: var(--gold-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

.page-nh__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-nh__step-title {
  color: #333333;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-nh__download-image img {
  max-width: 80%;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Promotions */
.page-nh__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-nh__promo-list li {
  background-color: var(--card-background);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--gold-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
}

.page-nh__promo-list li strong {
  color: var(--gold-color);
}

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

.page-nh__feature-item {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-nh__feature-item img {
  
  height: auto;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter is applied */
}

.page-nh__feature-item h3 {
  color: var(--gold-color);
}

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

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

details.page-nh__faq-item summary.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: rgba(var(--primary-color), 0.1);
}

.page-nh__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-nh__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-nh__faq-item .page-nh__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-background);
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}

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

/* Call to Action */
.page-nh__cta {
  padding-bottom: 80px;
}

.page-nh__cta .page-nh__section-title {
  color: var(--text-main-color);
}

.page-nh__cta p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

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

/* Global Image Styles */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no filter is applied */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__container {
    padding: 30px 15px;
  }
  .page-nh__section-title {
    font-size: 2.5em;
  }
  .page-nh h1 {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-nh h2 {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-nh__hero-content p {
    font-size: 1.1em;
  }
  .page-nh__cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-nh__btn-secondary {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-nh__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-nh__section {
    padding: 40px 0;
  }
  .page-nh__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-nh h1 {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-nh h2 {
    font-size: clamp(1.6em, 5vw, 2.2em);
  }
  .page-nh h3 {
    font-size: clamp(1.3em, 4vw, 1.8em);
  }
  .page-nh p {
    font-size: 1em;
  }
  .page-nh__hero-image img {
    border-radius: 8px;
  }
  .page-nh__cta-button, .page-nh__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }
  .page-nh__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__game-showcase, .page-nh__steps-grid, .page-nh__features-grid, .page-nh__grid-3-col {
    grid-template-columns: 1fr;
  }
  .page-nh__card, .page-nh__game-card, .page-nh__step-card, .page-nh__feature-item {
    padding: 25px;
  }
  .page-nh__download-image img {
    max-width: 100%;
  }
  details.page-nh__faq-item summary.page-nh__faq-question {
    padding: 15px;
  }
  .page-nh__faq-qtext {
    font-size: 1em;
  }
  .page-nh__faq-toggle {
    font-size: 1.8em;
    width: 25px;
  }
  details.page-nh__faq-item .page-nh__faq-answer {
    padding: 0 15px 15px;
  }
  .page-nh__promo-list li {
    padding: 15px;
  }
  /* Mobile image and container overflow fix */
  .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__game-showcase, .page-nh__steps-grid, .page-nh__features-grid, .page-nh__grid-3-col, .page-nh__faq-list, .page-nh__promo-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-nh__section-title {
    font-size: 1.8em;
  }
  .page-nh h1 {
    font-size: clamp(1.6em, 7vw, 2.5em);
  }
  .page-nh__cta-button {
    font-size: 1.1em;
    padding: 14px 30px;
  }
  .page-nh__btn-secondary {
    font-size: 0.9em;
    padding: 10px 25px;
  }
}