/* style/nh.css */
/* body đã có padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */
.page-nh {
  color: #ffffff; /* Body nền tối (#000000), dùng chữ sáng */
}

.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 60px 20px; /* Top padding handled by body, adjust bottom/sides */
}

.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;
}

.page-nh__hero-content {
  max-width: 1200px;
  width: 100%; /* Ensure content block is full width within its max-width */
  margin-top: 20px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-nh__main-title {
  color: #26A9E0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  /* No fixed font-size for H1, relying on responsive scaling */
}

.page-nh__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-nh__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  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: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-nh__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-nh__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark body */
  color: #ffffff;
}

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

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

.page-nh__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-nh__dark-section .page-nh__section-title {
  color: #ffffff;
}

.page-nh__text-block {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-nh__dark-section .page-nh__text-block {
  color: #f0f0f0;
}

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

.page-nh__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.page-nh__game-card:hover {
  transform: translateY(-10px);
}

.page-nh__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

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

.page-nh__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-nh__card-button {
  background-color: #EA7C07; /* Màu cam cho nút chơi */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__card-button:hover {
  background-color: #c96806;
}

.page-nh__ordered-list,
.page-nh__unordered-list {
  list-style-position: inside;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding-left: 0;
}

.page-nh__list-item {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #f0f0f0;
  padding-left: 25px;
  position: relative;
}

.page-nh__ordered-list .page-nh__list-item {
  list-style: decimal;
}

.page-nh__unordered-list .page-nh__list-item {
  list-style: none;
}

.page-nh__unordered-list .page-nh__list-item::before {
  content: '•';
  color: #26A9E0;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

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

.page-nh__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  color: #ffffff;
}

.page-nh__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__feature-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

.page-nh__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-nh__faq-item[open] .page-nh__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.page-nh__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 20px;
}

.page-nh__faq-item details > summary {
  list-style: none;
}

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

.page-nh__faq-answer {
  padding: 20px 25px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

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

.page-nh__contact-cta {
  padding: 80px 20px;
}

.page-nh__contact-cta .page-nh__section-title {
  color: #ffffff;
}

.page-nh__contact-cta .page-nh__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__main-title {
    font-size: 2.8rem;
  }
  .page-nh__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-nh__main-title {
    font-size: 2.2rem;
  }

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

  .page-nh__section-title {
    font-size: 1.8rem;
  }

  .page-nh__text-block,
  .page-nh__list-item,
  .page-nh__faq-answer {
    font-size: 0.9375rem;
  }

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

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

  .page-nh__section,
  .page-nh__hero-section,
  .page-nh__container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-nh__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for internal spacing */
    padding-bottom: 40px;
  }

  .page-nh__hero-image,
  .page-nh__card-image,
  .page-nh__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

@media (max-width: 480px) {
  .page-nh__main-title {
    font-size: 1.8rem;
  }
  .page-nh__section-title {
    font-size: 1.5rem;
  }
  .page-nh__hero-section {
    padding-bottom: 30px;
  }
  .page-nh__section {
    padding: 40px 15px;
  }
}