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

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

.page-n-h section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-n-h h1, .page-n-h h2, .page-n-h h3 {
  color: #007bff;
  text-align: center;
  margin-bottom: 30px;
}

.page-n-h h1 {
  font-size: 2.8em;
  font-weight: bold;
  color: #ffffff;
}

.page-n-h h2 {
  font-size: 2.2em;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-n-h h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #dc3545;
  border-radius: 2px;
}

.page-n-h h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #007bff;
}

.page-n-h p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-n-h .button-primary,
.page-n-h .button-secondary,
.page-n-h .button-small,
.page-n-h .cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-n-h .cta-button {
  background: #dc3545;
  color: #ffffff;
  font-size: 1.2em;
  padding: 15px 40px;
  margin-top: 20px;
}

.page-n-h .cta-button:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-n-h .button-primary {
  background: #007bff;
  color: #ffffff;
}

.page-n-h .button-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.page-n-h .button-secondary {
  background: #6c757d;
  color: #ffffff;
}

.page-n-h .button-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.page-n-h .button-small {
  padding: 8px 20px;
  font-size: 0.9em;
  background: #007bff;
  color: #ffffff;
}

.page-n-h .button-small:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Hero Section */
.page-n-h .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #007bff, #1a4d94);
  overflow: hidden;
}

.page-n-h .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-n-h .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Adjust max-width for the image */
}

.page-n-h .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-n-h .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-n-h .hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

/* Section About Slots */
.page-n-h .section-about-slots {
  background-color: #f8f9fa;
}

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

.page-n-h .feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  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-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-n-h .feature-item h3 {
  color: #dc3545;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-n-h .feature-item p {
  font-size: 0.95em;
  color: #555555;
  text-align: center;
}

/* Section How To Play */
.page-n-h .section-how-to-play {
  background-color: #ffffff;
}

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

.page-n-h .step-item {
  background: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-n-h .step-item h3 {
  color: #007bff;
  margin-top: 0;
  font-size: 1.5em;
}

.page-n-h .step-item p {
  color: #444444;
  font-size: 1em;
  margin-bottom: 20px;
}

/* Section Strategy */
.page-n-h .section-strategy {
  background-color: #f8f9fa;
}

.page-n-h .section-strategy ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-n-h .section-strategy ul li {
  background: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333;
}

.page-n-h .section-strategy ul li strong {
  color: #dc3545;
}

/* Section Promotions */
.page-n-h .section-promotions {
  background-color: #ffffff;
}

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

.page-n-h .promo-card {
  background: #fff3f3;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #dc3545;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-n-h .promo-card h3 {
  color: #007bff;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-n-h .promo-card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-n-h .promo-note {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #666;
}

/* Section Safety Support */
.page-n-h .section-safety-support {
  background-color: #e9f5ff;
}

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

.page-n-h .safety-support-grid .grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #007bff;
}

.page-n-h .safety-support-grid .grid-item h3 {
  color: #007bff;
  text-align: left;
  margin-top: 0;
}

.page-n-h .safety-support-grid .grid-item p {
  text-align: justify;
  color: #444;
}

.page-n-h .safety-support-grid .grid-item .button-secondary {
  margin-top: 15px;
}

/* FAQ Section */
.page-n-h .section-faq {
  background-color: #f0f0f0;
}

.page-n-h .faq-list {
  margin-top: 40px;
}

.page-n-h .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-n-h .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-n-h .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #333333;
  text-align: left;
}

.page-n-h .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #dc3545;
  transition: transform 0.3s ease;
  min-width: 24px; /* Ensure toggle icon has enough space */
  text-align: center;
}

.page-n-h .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #007bff;
}

.page-n-h .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-n-h .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-n-h .faq-answer p {
  margin-bottom: 0;
  color: #555555;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-n-h h1 {
    font-size: 2.4em;
  }
  .page-n-h h2 {
    font-size: 1.8em;
  }
  .page-n-h h3 {
    font-size: 1.4em;
  }
  .page-n-h .hero-section {
    padding: 60px 15px;
  }
  .page-n-h .hero-content p {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h h1 {
    font-size: 2em;
  }
  .page-n-h h2 {
    font-size: 1.6em;
  }
  .page-n-h h3 {
    font-size: 1.2em;
  }
  .page-n-h .feature-item,
  .page-n-h .step-item,
  .page-n-h .promo-card,
  .page-n-h .safety-support-grid .grid-item {
    padding: 20px;
  }
  .page-n-h .faq-question {
    padding: 15px 20px;
  }
  .page-n-h .faq-question h3 {
    font-size: 1em;
  }
  .page-n-h .faq-answer {
    padding: 0 20px;
  }
  .page-n-h .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 576px) {
  .page-n-h h1 {
    font-size: 1.8em;
  }
  .page-n-h h2 {
    font-size: 1.4em;
  }
  .page-n-h .hero-image img {
    border-radius: 8px;
  }
  .page-n-h .hero-content p {
    font-size: 0.9em;
  }
  .page-n-h .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-n-h .button-primary, .page-n-h .button-secondary, .page-n-h .button-small {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-n-h .faq-question h3 {
    font-size: 0.95em;
  }
  .page-n-h .faq-toggle {
    font-size: 20px;
  }
}