/* style/nh.css */

/* Base styles for the page */
.page-nh {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main color for dark background */
  background-color: #140C0C; /* Background color */
}

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

.page-nh__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold color for titles */
  line-height: 1.2;
}

.page-nh__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F3C54D;
}

.page-nh__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #FFF1E8;
}

.page-nh__highlight {
  color: #FFB04A;
  font-weight: bold;
}

.page-nh a {
  color: #FFB04A;
  text-decoration: none;
}

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

/* Buttons */
.page-nh__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-nh__cta-buttons--center {
  justify-content: center;
}

.page-nh__btn-primary,
.page-nh__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
  color: #FFF1E8; /* Text Main for buttons */
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  border: none;
}

.page-nh__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-nh__btn-secondary {
  background: none;
  border: 2px solid #FFB04A; /* Gold color for border */
}

.page-nh__btn-secondary:hover {
  background: rgba(255, 176, 74, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

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

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-nh__hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background layering issue */
  z-index: 1;
}

.page-nh__main-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold color */
  line-height: 1.2;
  /* clamp for responsive font size without fixed large values */
  font-size: clamp(2.2em, 5vw, 3.5em);
}

.page-nh__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

/* General Section Styling */
.page-nh__intro-section,
.page-nh__games-section,
.page-nh__registration-section,
.page-nh__strategy-section,
.page-nh__support-section,
.page-nh__faq-section {
  padding: 60px 0;
}

.page-nh__dark-section {
  background-color: #2A1212; /* Card BG color */
  padding: 60px 0;
}

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

.page-nh__grid--reverse {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-nh__grid--reverse .page-nh__content-block:first-child {
  order: 2;
}

.page-nh__grid--reverse .page-nh__image-block:first-child {
  order: 1;
}

.page-nh__content-block {
  padding: 20px;
}

.page-nh__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-nh__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Benefit Cards */
.page-nh__benefit-card {
  background-color: #2A1212; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #6A1E1E; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__benefit-card .page-nh__card-title {
  color: #F3C54D;
}

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

.page-nh__game-card {
  background-color: #2A1212; /* Card BG color */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #6A1E1E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__game-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-nh__game-card .page-nh__card-title {
  color: #F3C54D;
}

/* Step Lists */
.page-nh__step-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-nh__step-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 8px;
  border-left: 5px solid #FFB04A;
  color: #FFF1E8;
}

.page-nh__step-list li strong {
  color: #F3C54D;
}

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

.page-nh__promo-card {
  background-color: #2A1212; /* Card BG color */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #6A1E1E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__promo-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-nh__promo-card .page-nh__card-title {
  color: #F3C54D;
}

/* Contact Methods */
.page-nh__contact-methods {
  margin-top: 30px;
  text-align: center;
}

.page-nh__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-nh__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Video Section */
.page-nh__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
}

.page-nh__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video container */
  margin: 0 auto 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-nh__video-wrapper .page-nh__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-nh__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* FAQ Section */
.page-nh__faq-list {
  margin-top: 40px;
}

.page-nh__faq-item {
  background-color: #2A1212; /* Card BG color */
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  color: #F3C54D; /* Gold color */
  background-color: #2A1212;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
}

.page-nh__faq-item[open] > .page-nh__faq-question {
  border-bottom: 1px solid #6A1E1E;
}

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

.page-nh__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFB04A;
}

.page-nh__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #FFF1E8;
}

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

/* Call to Action Section */
.page-nh__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-nh__cta-content {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-nh__grid--reverse .page-nh__content-block:first-child {
    order: 1;
  }

  .page-nh__grid--reverse .page-nh__image-block:first-child {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-nh__section-title {
    font-size: 2em;
  }

  .page-nh__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }

  .page-nh__description {
    font-size: 1em;
  }

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important; /* Ensure full width on mobile */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__hero-section,
  .page-nh__intro-section,
  .page-nh__benefits-section,
  .page-nh__games-section,
  .page-nh__download-guide-section,
  .page-nh__registration-section,
  .page-nh__promotions-section,
  .page-nh__strategy-section,
  .page-nh__security-section,
  .page-nh__support-section,
  .page-nh__video-section,
  .page-nh__faq-section,
  .page-nh__cta-section {
    padding: 40px 0;
  }

  .page-nh__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Image responsive rules */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive rules */
  .page-nh video,
  .page-nh__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-nh__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-nh__video-section {
    padding-top: 10px !important;
  }

  .page-nh__content-area,
  .page-nh__text-block,
  .page-nh__card {
    font-size: 1em;
  }

  .page-nh__faq-question {
    font-size: 1em;
  }

  .page-nh__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-nh__section-title {
    font-size: 1.8em;
  }

  .page-nh__sub-title {
    font-size: 1.5em;
  }
}