/* style/nh.css */
/* Body background color is #08160F (dark), so text should be light (#F2FFF6) for general content */
.page-nh {
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Overall page background */
}

.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px;
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-nh__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-nh__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-nh__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-nh__btn-secondary {
  background: #11271B;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-nh__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #2AD16F;
  color: #F2FFF6;
}

.page-nh__large-btn {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-nh__small-btn {
  padding: 10px 20px;
  font-size: 0.95rem;
}

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

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

.page-nh__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-nh__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

/* Color scheme application */
.page-nh__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-nh__light-bg {
  background-color: #11271B; /* Card BG for light sections */
  color: #F2FFF6;
}

.page-nh__text-main {
  color: #F2FFF6;
}

.page-nh__text-secondary {
  color: #A7D9B8;
}

.page-nh__card {
  background-color: #11271B;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.page-nh__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-nh__feature-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-nh__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

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

.page-nh__game-card {
  text-align: center;
}

.page-nh__game-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-nh__game-card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

/* How To Play Section */
.page-nh__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-nh__step-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-nh__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 20px;
}

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

.page-nh__promo-card {
  text-align: center;
}

.page-nh__promo-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-nh__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

/* Tips & Strategies Section */
.page-nh__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-nh__tip-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__tip-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-nh__tip-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

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

.page-nh__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  background-color: #11271B;
  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: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  transition: background-color 0.3s ease;
}

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

.page-nh__faq-item summary:hover {
  background-color: #1E3A2A;
}

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

.page-nh__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

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

.page-nh__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

/* Responsive Design */
/* All images responsive by default */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All image containers responsive by default */
.page-nh__hero-image-container,
.page-nh__image-content,
.page-nh__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* All buttons responsive by default */
.page-nh__cta-button,
.page-nh__btn-primary,
.page-nh__btn-secondary,
.page-nh a[class*="button"],
.page-nh a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers responsive by default */
.page-nh__cta-buttons,
.page-nh__button-group,
.page-nh__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-nh__hero-section,
  .page-nh__section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small decorative top padding, body handles header offset */
  }

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

  .page-nh__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-nh__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .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;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-nh__large-btn {
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
  }

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

  .page-nh__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-nh__features-grid,
  .page-nh__game-grid,
  .page-nh__steps-grid,
  .page-nh__promo-grid,
  .page-nh__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-nh__feature-title,
  .page-nh__game-card-title,
  .page-nh__step-title,
  .page-nh__promo-title,
  .page-nh__tip-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .page-nh__feature-description,
  .page-nh__game-card-description,
  .page-nh__step-description,
  .page-nh__promo-description,
  .page-nh__tip-description,
  .page-nh__faq-answer {
    font-size: 0.9rem;
  }

  .page-nh__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-nh__faq-toggle {
    font-size: 1.5rem;
  }

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

  /* Ensure all image containers and sections are 100% width on mobile */
  .page-nh__hero-image-container,
  .page-nh__image-content,
  .page-nh__section,
  .page-nh__card,
  .page-nh__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-nh__hero-image,
  .page-nh__image-content,
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-nh__video-section {
    padding-top: 10px !important; /* body đã đảm nhận --header-offset, đây chỉ là khoảng cách nhỏ */
  }

  /* If multiple buttons are in a row, ensure they wrap or stack */
  .page-nh__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}