/* style/nh.css */

/* Base styles for the page-nh scope */
.page-nh {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

.page-nh__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-nh__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #0a0a0a; /* Ensure dark background for hero */
  overflow: hidden;
}

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  margin-bottom: 40px;
}

.page-nh__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements */
  padding: 0 20px;
}

.page-nh__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-nh__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-nh__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-nh__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-nh__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-nh__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  background-color: #26A9E0;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-link:hover {
  background-color: #1a7fb3;
}

.page-nh__btn-text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-nh__btn-text-link:hover {
  color: #1a7fb3;
}

/* Introduction Section */
.page-nh__introduction .page-nh__text-block {
  color: #f0f0f0;
}

/* Features Section */
.page-nh__features {
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-nh__features .page-nh__section-title {
  color: #26A9E0;
}

.page-nh__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-nh__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-nh__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  width: 200px;
  height: 200px;
}

.page-nh__feature-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-nh__feature-description {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

/* Game Collection Section */
.page-nh__game-collection .page-nh__text-block {
  color: #f0f0f0;
}

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

.page-nh__game-type-card {
  background-color: rgba(38, 169, 224, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-nh__game-type-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-nh__game-type-description {
  font-size: 0.95em;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Guide Section */
.page-nh__guide {
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-nh__guide .page-nh__section-title {
  color: #26A9E0;
}

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

.page-nh__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-nh__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-nh__step-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-nh__promotions .page-nh__text-block {
  color: #f0f0f0;
}

.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: rgba(38, 169, 224, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-nh__promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-nh__promo-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-nh__promo-description {
  font-size: 0.95em;
  color: #e0e0e0;
  flex-grow: 1;
}

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

/* Benefits Section */
.page-nh__benefits {
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-nh__benefits .page-nh__section-title {
  color: #26A9E0;
}

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

.page-nh__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-nh__benefit-heading {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-nh__benefit-text {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

/* FAQ Section */
.page-nh__faq {
  background-color: #0a0a0a;
}

.page-nh__faq .page-nh__section-title {
  color: #26A9E0;
}

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

.page-nh__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-nh__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-nh__faq-item summary:hover {
  background-color: rgba(38, 169, 224, 0.25);
}

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

.page-nh__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-nh__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Conclusion Section */
.page-nh__conclusion {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-nh__conclusion .page-nh__section-title {
  color: #FFFFFF;
  font-size: clamp(2em, 4vw, 3em);
}

.page-nh__conclusion .page-nh__description {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-nh__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

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

@media (max-width: 768px) {
  .page-nh__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh__btn-link,
  .page-nh__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-nh__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-nh__text-block {
    font-size: 0.95em;
  }

  .page-nh__feature-icon,
  .page-nh__promo-img,
  .page-nh__game-type-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }
  
  .page-nh__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-height: 400px; /* Adjust max height for mobile hero */
  }

  .page-nh__feature-card,
  .page-nh__game-type-card,
  .page-nh__step-card,
  .page-nh__promo-card,
  .page-nh__benefit-item,
  .page-nh__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }
  
  .page-nh__hero-section,
  .page-nh__introduction,
  .page-nh__features,
  .page-nh__game-collection,
  .page-nh__guide,
  .page-nh__promotions,
  .page-nh__benefits,
  .page-nh__faq,
  .page-nh__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Reset padding for sections to use container padding */
    padding-right: 0 !important; /* Reset padding for sections to use container padding */
    overflow-x: hidden !important;
  }

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

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

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

  .page-nh__video-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    overflow: hidden !important;
  }

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

/* Specific colors based on requirements */
.page-nh__login-btn {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-nh__login-btn:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-nh__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-nh__light-bg {
  background-color: #0a0a0a; /* Still dark, but using a class name that implies a different conceptual background */
  color: #ffffff;
}

.page-nh__medium-bg {
  background-color: #FFFFFF; /* Not used for dark body, but for consistency if it were */
  color: #000000;
}

.page-nh__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-nh__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-nh__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}