/* style/nh.css */

/* Custom Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-nh {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Typography */
.page-nh__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-nh__sub-title {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--color-text-main);
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.page-nh__main-title {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-nh__description,
.page-nh__text-block {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 30px;
}

.page-nh__card-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--color-gold);
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-nh__card-text {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* Buttons */
.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: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-primary {
  background: var(--color-button-gradient-start);
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-nh__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-nh__btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.2);
}

.page-nh__btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-nh__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-nh__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Sections */
.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: var(--color-background);
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-nh__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  margin-top: -100px; /* Overlap image slightly for visual effect */
  background-color: var(--color-background);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 90%;
}

.page-nh__intro-section,
.page-nh__features-section,
.page-nh__game-showcase,
.page-nh__how-to-play-section,
.page-nh__strategy-section,
.page-nh__promotions-section,
.page-nh__security-section,
.page-nh__app-download-section,
.page-nh__faq-section {
  padding: 60px 0;
  background-color: var(--color-background);
}

.page-nh__intro-section .page-nh__text-block,
.page-nh__game-showcase .page-nh__text-block,
.page-nh__promotions-section .page-nh__text-block,
.page-nh__security-section .page-nh__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-nh__feature-card,
.page-nh__game-card,
.page-nh__promo-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__feature-card:hover,
.page-nh__game-card:hover,
.page-nh__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--color-glow);
}

.page-nh__feature-image,
.page-nh__game-image,
.page-nh__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* How-to-play Steps */
.page-nh__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-nh__step-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

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

.page-nh__step-title {
  color: var(--color-gold);
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-nh__step-description {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* Strategy List */
.page-nh__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-nh__strategy-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

.page-nh__strategy-item:hover {
  transform: translateX(5px);
}

.page-nh__strategy-heading {
  color: var(--color-gold);
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-nh__strategy-description {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* Security List */
.page-nh__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-nh__security-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

.page-nh__security-item:hover {
  transform: translateY(-3px);
}

.page-nh__security-heading {
  color: var(--color-gold);
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-nh__security-description {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* App Download Section */
.page-nh__app-download-section .page-nh__section-title {
  margin-bottom: 20px;
}

.page-nh__app-download-section .page-nh__text-block {
  margin-bottom: 40px;
}

.page-nh__download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap-reverse;
  justify-content: center;
}

.page-nh__download-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-nh__download-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-nh__download-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.page-nh__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-nh__benefit-item {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-nh__benefit-item::before {
  content: '✓';
  color: var(--color-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-nh__download-cta {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-nh__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-nh__faq-question:hover {
  background-color: var(--color-deep-green);
}

.page-nh__faq-qtext {
  flex-grow: 1;
  color: var(--color-text-main);
}

.page-nh__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--color-gold);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-nh__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Image responsiveness */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-nh__hero-image-wrapper,
.page-nh__download-image-wrapper,
.page-nh__feature-card,
.page-nh__game-card,
.page-nh__promo-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    margin-top: -50px;
    max-width: 95%;
  }
  .page-nh__description,
  .page-nh__text-block {
    font-size: 17px;
  }
  .page-nh__card-text,
  .page-nh__step-description,
  .page-nh__strategy-description,
  .page-nh__security-description,
  .page-nh__benefit-item,
  .page-nh__faq-answer {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px;
  }
  .page-nh__hero-section {
    padding-bottom: 40px;
  }
  .page-nh__hero-content {
    margin-top: -30px;
    padding: 15px;
    max-width: 98%;
  }
  .page-nh__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-nh__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }
  .page-nh__sub-title {
    font-size: clamp(20px, 6vw, 30px);
  }
  .page-nh__description,
  .page-nh__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-nh__intro-section,
  .page-nh__features-section,
  .page-nh__game-showcase,
  .page-nh__how-to-play-section,
  .page-nh__strategy-section,
  .page-nh__promotions-section,
  .page-nh__security-section,
  .page-nh__app-download-section,
  .page-nh__faq-section {
    padding: 40px 0;
  }
  .page-nh__feature-grid,
  .page-nh__game-grid,
  .page-nh__promo-grid,
  .page-nh__step-list {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .page-nh__feature-image,
  .page-nh__game-image,
  .page-nh__promo-image {
    height: 180px;
  }
  .page-nh__download-content {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .page-nh__download-text {
    text-align: center;
  }
  .page-nh__download-cta {
    justify-content: center;
    flex-direction: column;
  }
  .page-nh__benefit-item {
    text-align: left;
    padding-left: 25px;
  }
  .page-nh__benefit-item::before {
    left: 0;
  }
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-nh__hero-image-wrapper,
  .page-nh__download-image-wrapper,
  .page-nh__feature-card,
  .page-nh__game-card,
  .page-nh__promo-card,
  .page-nh__intro-section,
  .page-nh__features-section,
  .page-nh__game-showcase,
  .page-nh__how-to-play-section,
  .page-nh__strategy-section,
  .page-nh__promotions-section,
  .page-nh__security-section,
  .page-nh__app-download-section,
  .page-nh__faq-section,
  .page-nh__cta-buttons,
  .page-nh__download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-nh__faq-question {
    padding: 15px 20px;
  }
  .page-nh__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-nh__hero-content {
    margin-top: -20px;
  }
  .page-nh__main-title {
    font-size: clamp(24px, 10vw, 36px);
  }
  .page-nh__section-title {
    font-size: clamp(20px, 9vw, 30px);
  }
  .page-nh__cta-buttons {
    gap: 10px;
  }
  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    font-size: 15px;
  }
  .page-nh__benefit-item {
    font-size: 15px;
  }
  .page-nh__faq-qtext {
    font-size: 16px;
  }
}