.page-nh {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-nh__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-nh__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-nh__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

.page-nh__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-nh__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a8cc4;
}

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

.page-nh__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-nh__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
  color: inherit;
}

.page-nh__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

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

.page-nh__content-area {
  font-size: 1rem;
}

.page-nh__content-area p {
  margin-bottom: 15px;
}

.page-nh__text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
}

.page-nh__dark-bg .page-nh__text-link {
  color: #ffffff;
}

.page-nh__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-nh__list-item {
  margin-bottom: 10px;
}

.page-nh__description-text {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: inherit;
}

.page-nh__games-section .page-nh__description-text {
  color: #f0f0f0;
}

.page-nh__game-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-nh__game-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-nh__game-types {
  max-width: 800px;
  text-align: left;
}

.page-nh__guide-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.page-nh__guide-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-nh__guide-item .page-nh__sub-title {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-nh__guide-item .page-nh__sub-title::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.page-nh__guide-item .page-nh__btn-primary,
.page-nh__guide-item .page-nh__btn-secondary {
  margin-top: 20px;
  align-self: flex-start;
}

.page-nh__promotions-section {
  text-align: center;
}

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

.page-nh__promo-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-nh__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-nh__promo-card .page-nh__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-nh__promo-card .page-nh__card-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-nh__promo-card .page-nh__btn-secondary {
  margin-top: auto;
}

.page-nh__security-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-nh__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-nh__security-text {
  text-align: left;
  max-width: 800px;
}

.page-nh__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-nh__mobile-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-nh__mobile-text {
  text-align: left;
  max-width: 800px;
  color: #ffffff;
}

.page-nh__mobile-text .page-nh__sub-title {
  color: #ffffff;
}

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

.page-nh__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-nh__faq-item[open] .page-nh__faq-question {
  background-color: #e6f7ff;
  border-bottom-color: #26A9E0;
}

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

.page-nh__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
  transform: rotate(45deg);
}

.page-nh__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.5;
  color: #555555;
}

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

.page-nh__conclusion-section {
  text-align: center;
}

.page-nh__conclusion-section .page-nh__section-title,
.page-nh__conclusion-section .page-nh__description-text {
  color: #ffffff;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-nh__game-showcase {
    flex-direction: row;
    text-align: left;
  }

  .page-nh__security-content {
    flex-direction: row;
    text-align: left;
  }

  .page-nh__mobile-content {
    flex-direction: row-reverse;
    text-align: left;
  }

  .page-nh__game-types,
  .page-nh__security-text,
  .page-nh__mobile-text {
    flex: 1;
  }

  .page-nh__game-image,
  .page-nh__security-image,
  .page-nh__mobile-image {
    flex-shrink: 0;
    width: 50%;
    max-width: 500px;
  }

  .page-nh__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 80px;
  }

  .page-nh__hero-content {
    margin-top: 60px;
  }
}

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

  .page-nh__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-nh__main-title {
    font-size: 2rem;
  }

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

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

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

  .page-nh__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-nh__sub-title {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

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

  .page-nh__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-nh__promo-card {
    padding: 20px;
  }

  .page-nh__promo-image {
    height: 180px;
  }

  .page-nh__security-content,
  .page-nh__mobile-content {
    flex-direction: column;
    padding: 0 15px;
  }

  .page-nh__security-image,
  .page-nh__mobile-image {
    width: 100%;
    max-width: 100%;
  }

  .page-nh__game-showcase {
    padding: 0 15px;
  }

  .page-nh__guide-item {
    padding: 15px;
  }

  .page-nh__guide-item .page-nh__sub-title::before {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

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

  .page-nh__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-nh img,
  .page-nh__hero-image,
  .page-nh__game-image,
  .page-nh__promo-image,
  .page-nh__security-image,
  .page-nh__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__game-showcase,
  .page-nh__promo-grid,
  .page-nh__security-content,
  .page-nh__mobile-content,
  .page-nh__cta-buttons,
  .page-nh__button-group,
  .page-nh__btn-container,
  .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; /* Ensure no overflow */
  }

  .page-nh__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  .page-nh__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}

/* Ensure content area images are not too small */
.page-nh__content-area img,
.page-nh__promo-card img,
.page-nh__game-showcase img,
.page-nh__security-content img,
.page-nh__mobile-content img {
  min-width: 200px;
  min-height: 200px;
}