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

.page-n-h__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-n-h__hero-intro {
  background: linear-gradient(135deg, var(--primary-color) 0%, #000080 100%); /* #FFD700 to #000080 */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-n-h__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-on-dark);
}

.page-n-h__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-on-dark);
}

.page-n-h__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-n-h__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-n-h__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-n-h__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
}

.page-n-h__btn--primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-n-h__btn--primary:hover {
  background-color: #e6c200;
  color: #00005a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-n-h__btn--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-n-h__btn--secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-n-h__btn--small {
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 5px;
}

.page-n-h__why-w888, .page-n-h__game-types, .page-n-h__how-to-start, .page-n-h__promotions, .page-n-h__safety-support, .page-n-h__faq, .page-n-h__latest-news, .page-n-h__cta-final {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-n-h__why-w888 {
  background-color: #f0f8ff;
}

.page-n-h__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-n-h__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-n-h__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-n-h__feature-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h__feature-item p {
  color: #666666;
  font-size: 1em;
}

.page-n-h__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-n-h__game-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-n-h__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-n-h__game-card-content {
  padding: 20px;
}

.page-n-h__game-card-content h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-n-h__game-card-content p {
  color: #666666;
  font-size: 0.95em;
}

.page-n-h__how-to-start {
  background-color: #fffaf0;
}

.page-n-h__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-n-h__steps-list li {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-n-h__steps-list li h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-n-h__steps-list li h3::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: var(--secondary-color);
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-n-h__steps-list li p {
  color: #555555;
  font-size: 1em;
  padding-left: 50px;
}

.page-n-h__promotions {
  background-color: #f0f8ff;
}

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

.page-n-h__promo-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-n-h__promo-image {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-n-h__promo-item h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-n-h__promo-item p {
  color: #666666;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-n-h__cta-full-width {
  text-align: center;
  margin-top: 50px;
}

.page-n-h__safety-support {
  background-color: #e6f7ff;
}

.page-n-h__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-n-h__info-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-n-h__info-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h__info-item p {
  color: #666666;
  font-size: 1em;
}

.page-n-h__faq {
  background-color: #fdfdfd;
}

.page-n-h__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ default state - answer hidden */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 1.25em;
  color: var(--secondary-color);
  margin: 0;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #444444;
}

.faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  font-size: 1em;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-n-h__latest-news {
  background-color: #fffaf0;
}

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

.page-n-h__article-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-n-h__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-n-h__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-n-h__article-content h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-n-h__article-content p {
  color: #666666;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.page-n-h__read-more {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.9em;
  align-self: flex-start;
}

.page-n-h__cta-final {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #00005a 100%); /* #000080 to a darker blue */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-n-h__cta-final .page-n-h__section-title {
  color: var(--primary-color);
}

.page-n-h__cta-final .page-n-h__section-description {
  color: var(--text-on-dark);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h__main-title {
    font-size: 2.8em;
  }
  .page-n-h__section-title {
    font-size: 2em;
  }
  .page-n-h__intro-text, .page-n-h__section-description {
    font-size: 1.1em;
  }
  .page-n-h__feature-image {
    max-width: 250px;
  }
  .page-n-h__promo-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-n-h__hero-intro, .page-n-h__cta-final {
    padding: 60px 0;
  }
  .page-n-h__main-title {
    font-size: 2.2em;
  }
  .page-n-h__intro-text {
    font-size: 1em;
  }
  .page-n-h__section-title {
    font-size: 1.8em;
  }
  .page-n-h__section-description {
    font-size: 0.95em;
  }
  .page-n-h__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-n-h__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-n-h__why-w888, .page-n-h__game-types, .page-n-h__how-to-start, .page-n-h__promotions, .page-n-h__safety-support, .page-n-h__faq, .page-n-h__latest-news, .page-n-h__cta-final {
    padding: 40px 0;
  }
  .page-n-h__feature-item, .page-n-h__game-card, .page-n-h__promo-item, .page-n-h__info-item, .page-n-h__article-card {
    margin-bottom: 20px;
  }
  .page-n-h__steps-list li h3 {
    font-size: 1.4em;
  }
  .page-n-h__steps-list li h3::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
    margin-right: 10px;
  }
  .page-n-h__steps-list li p {
    padding-left: 40px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-n-h__main-title {
    font-size: 1.8em;
  }
  .page-n-h__section-title {
    font-size: 1.5em;
  }
  .page-n-h__intro-text, .page-n-h__section-description {
    font-size: 0.9em;
  }
  .page-n-h__btn {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-n-h__feature-item h3, .page-n-h__game-card-content h3, .page-n-h__promo-item h3, .page-n-h__info-item h3, .page-n-h__article-content h3 {
    font-size: 1.2em;
  }
  .page-n-h__feature-item p, .page-n-h__game-card-content p, .page-n-h__promo-item p, .page-n-h__info-item p, .page-n-h__article-content p {
    font-size: 0.85em;
  }
}