/* style/nh.css */

/* --- Base Styles & Variables (Inherited from shared.css where possible) --- */
/* body already has padding-top from shared.css, so .page-nh should not add it */
.page-nh {
  font-family: 'Arial', sans-serif; /* Placeholder, assume a modern font is loaded by shared */
  color: #F2FFF6; /* Text Main - for dark background #08160F */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

/* --- Typography --- */
.page-nh__main-title {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem); /* Flexible H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
}

.page-nh__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  font-weight: 600;
  line-height: 1.3;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
}

.page-nh__section-subtitle {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
}

.page-nh__description,
.page-nh__text-block,
.page-nh p,
.page-nh li {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-nh__text-block strong {
  color: #F2FFF6; /* Highlight strong text */
}

/* --- Buttons --- */
.page-nh__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping 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.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
  text-align: center;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main for button */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-nh__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F;
}

.page-nh__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main for button */
  transform: translateY(-2px);
}

/* --- Sections --- */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  background-color: #08160F; /* Ensure background matches body for seamless look */
}

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

.page-nh__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-nh__intro-section,
.page-nh__features-section,
.page-nh__games-section,
.page-nh__tips-section,
.page-nh__promotions-section,
.page-nh__faq-section,
.page-nh__cta-bottom-section {
  padding: 60px 0;
}

.page-nh__dark-section {
  background-color: #0A4B2C; /* Deep Green for alternating sections */
}

/* --- Features Section --- */
.page-nh__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__feature-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-nh__feature-item:hover {
  transform: translateY(-5px);
}

.page-nh__feature-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-nh__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-nh__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-nh__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-nh__game-card h4 {
  padding: 15px 20px 0;
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
}

.page-nh__game-card h4 a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-nh__game-card h4 a:hover {
  color: #2AD16F;
}

.page-nh__game-card p {
  padding: 0 20px 15px;
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-nh__game-card .page-nh__btn-secondary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  font-size: 1rem;
}

/* --- Tips Section --- */
.page-nh__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__tip-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #11A84E; /* Main color accent */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #A7D9B8; /* Text Secondary */
}

.page-nh__tip-item strong {
  color: #F2FFF6; /* Text Main */
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* --- Promotions Section --- */
.page-nh__promotions-section .page-nh__image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-nh__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  position: relative;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-nh__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-nh__faq-question:hover {
  background-color: #1E3A2A; /* Divider for hover */
}

.page-nh__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F; /* Button color */
  transition: transform 0.3s ease;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-nh__faq-answer {
  padding: 0 25px 18px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
}

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

/* --- Call To Action Bottom Section --- */
.page-nh__cta-bottom-section {
  text-align: center;
}

/* --- Image & Video Responsive (Global for .page-nh) --- */
.page-nh img,
.page-nh video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px; /* Smaller padding for mobile */
  }

  .page-nh__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-nh__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .page-nh__section-subtitle {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .page-nh__description,
  .page-nh__text-block,
  .page-nh p,
  .page-nh li {
    font-size: 0.95rem;
  }

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-nh__feature-list,
  .page-nh__game-cards {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-nh__game-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-nh__game-card h4 {
    font-size: 1.2rem;
  }

  .page-nh__game-card p {
    font-size: 0.85rem;
  }

  .page-nh__tip-item {
    padding: 12px 15px;
  }

  .page-nh__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

  /* --- Mobile Image & Container Adaptation --- */
  .page-nh img,
  .page-nh video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__cta-buttons, /* Also a container for buttons */
  .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-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-nh__video-section {
    padding-top: 10px !important; /* Small top padding, not --header-offset */
  }
}