:root {
  --bg: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

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

.page-nh__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-nh__section-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-nh__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-nh__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  opacity: 0.9;
}

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

.page-nh__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  color: #fff;
}

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

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-nh__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-nh__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-nh__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-nh__hero-description {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-nh__intro-section {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider);
}

/* Advantages Section */
.page-nh__advantages-section {
  background-color: var(--bg);
}

.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-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(34, 199, 104, 0.3);
}

.page-nh__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-nh__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How to Start Section */
.page-nh__how-to-start-section {
  background-color: var(--deep-green);
}

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

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

.page-nh__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--button-gradient);
  color: var(--text-main);
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.5);
}

.page-nh__step-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-nh__step-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Video Section */
.page-nh__video-section {
  background-color: var(--bg);
  padding-top: 10px; /* Small padding top for video section */
}

.page-nh__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  width: 100%; /* For desktop, ensure it's 100% of its container */
}

.page-nh__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-nh__video-cta {
  margin-top: 40px;
  font-size: 20px;
  padding: 16px 35px;
}

/* Popular Games Section */
.page-nh__popular-games-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

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

.page-nh__game-card {
  background-color: var(--bg);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(34, 199, 104, 0.3);
}

.page-nh__game-image {
  width: 100%;
  height: 220px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-nh__game-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-nh__game-card .page-nh__btn-secondary {
  width: 100%;
}

.page-nh__view-all-games {
  margin-top: 50px;
}

/* Promotions Section */
.page-nh__promotions-section {
  background-color: var(--deep-green);
}

.page-nh__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-nh__promotion-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

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

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

.page-nh__view-all-promos {
  margin-top: 50px;
}

/* Tips Section */
.page-nh__tips-section {
  background-color: var(--bg);
}

.page-nh__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-nh__tip-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main);
  border-left: 5px solid var(--glow);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__tip-item strong {
  color: var(--gold);
}

.page-nh__image-with-text {
  margin-top: 40px;
  text-align: center;
}

.page-nh__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.page-nh__image-caption {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 15px;
}

/* FAQ Section */
.page-nh__faq-section {
  background-color: var(--deep-green);
}

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

.page-nh__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
}

.page-nh__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-nh__faq-qtext {
  flex-grow: 1;
  color: var(--gold);
}

.page-nh__faq-toggle {
  font-size: 24px;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: var(--glow);
}

.page-nh__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA Bottom Section */
.page-nh__cta-bottom-section {
  background-color: var(--bg);
  padding-bottom: 80px;
}

.page-nh__btn-large {
  font-size: 22px;
  padding: 18px 40px;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-nh__grid-3-col, .page-nh__game-list, .page-nh__promotion-list, .page-nh__steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-nh__hero-title {
    font-size: clamp(32px, 5vw, 50px);
  }

  .page-nh__hero-description {
    font-size: 18px;
  }

  .page-nh__section-title {
    font-size: clamp(26px, 4vw, 36px);
  }

  .page-nh__section-text {
    font-size: 16px;
  }
}

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

  .page-nh__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-nh__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

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

  .page-nh__section {
    padding: 40px 15px;
  }

  .page-nh__container {
    padding: 0;
  }

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

  .page-nh__card-image, .page-nh__game-image {
    height: auto; /* Allow height to adjust */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
  }

  /* Video responsive */
  .page-nh__video-section, .page-nh__video-container, .page-nh__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-nh__video-section {
    padding-top: 10px !important;
  }

  .page-nh__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* General container padding for mobile */
  .page-nh__section > .page-nh__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-nh__card, .page-nh__step-item, .page-nh__game-card, .page-nh__promotion-item, .page-nh__faq-item {
    padding: 20px;
  }

  .page-nh__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-nh__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  .page-nh__btn-large {
    font-size: 18px;
    padding: 15px 30px;
  }

  .page-nh__image-full-width {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-nh__hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-nh__section-title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .page-nh__card-title, .page-nh__step-title, .page-nh__game-title, .page-nh__promotion-title {
    font-size: 20px;
  }
}