/* style/nh.css */

/* BEM Naming: page-nh__element-name */
/* Colors: #11A84E (Primary), #22C768 (Secondary), #2AD16F, #13994A (Button Gradient), #11271B (Card BG), #08160F (Background), #F2FFF6 (Text Main), #A7D9B8 (Text Secondary), #2E7A4E (Border), #57E38D (Glow), #F2C14E (Gold), #1E3A2A (Divider), #0A4B2C (Deep Green) */

.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for overall page on dark body bg */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

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

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-nh__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-nh__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-nh__hero-description {
  font-size: 1.25rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-nh__btn-secondary {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.2);
}

.page-nh__btn-secondary:hover {
  background: #11A84E; /* Primary */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

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

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

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

.page-nh__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-nh__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

.page-nh__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-nh__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-nh__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

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

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

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

.page-nh__step-number {
  width: 60px;
  height: 60px;
  background-color: #11A84E; /* Primary */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

.page-nh__step-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-nh__step-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

.page-nh__step-button {
  width: auto;
  padding-left: 25px;
  padding-right: 25px;
}

.page-nh__dark-bg-card {
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-nh__game-cards-grid {
  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;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-nh__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-nh__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.page-nh__game-content {
  padding: 25px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-nh__game-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-nh__game-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-nh__promotions-section {
  background-color: #08160F; /* Background */
}

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

.page-nh__promo-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-nh__promo-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-nh__promo-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-nh__responsible-gaming-section {
  padding: 80px 0;
}

.page-nh__faq-section {
  background-color: #08160F; /* Background */
}

.page-nh__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.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-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

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

.page-nh__faq-item summary:hover {
  background-color: #11A84E; /* Primary */
}

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

.page-nh__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

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

.page-nh__final-cta-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-nh {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-nh__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-nh__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-nh__hero-description {
    font-size: 1rem;
  }

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh a[class*="button"],
  .page-nh a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-nh__section-description {
    font-size: 0.95rem;
  }

  .page-nh__features-grid,
  .page-nh__steps-grid,
  .page-nh__game-cards-grid,
  .page-nh__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-nh__feature-card,
  .page-nh__step-item,
  .page-nh__game-card,
  .page-nh__promo-card {
    padding: 25px;
  }

  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__hero-image-wrapper,
  .page-nh__game-card,
  .page-nh__promo-card,
  .page-nh__feature-card,
  .page-nh__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

/* Ensure all images are responsive and do not cause overflow */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* For video elements, if any */
.page-nh video,
.page-nh__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-nh__video-section,
.page-nh__video-container,
.page-nh__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-nh video,
  .page-nh__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}