.page-n-h {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #071a3d;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* 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: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  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;
  z-index: 1;
}

.page-n-h .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-n-h .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  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%;
}

.page-n-h .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-n-h .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-n-h .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-n-h .cta-button:hover {
  background: #ffc400;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-n-h section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-n-h section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-n-h h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-n-h h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-n-h p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-n-h a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-n-h a:hover {
  color: var(--secondary-color);
}

.page-n-h .button-outline {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-n-h .button-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* About Slots Section */
.page-n-h .about-slots-section {
  padding-bottom: 120px;
}

.page-n-h .slot-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.page-n-h .feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-n-h .feature-item img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-n-h .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
}

.page-n-h .feature-item p {
  font-size: 1em;
  color: #555;
}

/* Game Types Section */
.page-n-h .game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-n-h .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-n-h .game-card h3 {
  padding: 20px 20px 0;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-n-h .game-card h3 a {
  color: inherit;
}

.page-n-h .game-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #666;
  min-height: 70px;
}

.page-n-h .game-card .card-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
}

.page-n-h .game-card .card-button:hover {
  background-color: #ffc400;
}

/* How To Play Section */
.page-n-h .how-to-play-section ol {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-n-h .how-to-play-section ol li {
  background-color: #ffffff;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-n-h .how-to-play-section ol li h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-n-h .how-to-play-section ol li p {
  margin-bottom: 20px;
}

/* Strategy Tips Section */
.page-n-h .strategy-tips-section ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-n-h .strategy-tips-section ul li {
  background-color: #ffffff;
  margin-bottom: 25px;
  padding: 25px 30px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-n-h .strategy-tips-section ul li h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 0;
}

.page-n-h .strategy-tips-section ul li p {
  font-size: 1em;
  color: #555;
  margin-bottom: 0;
}

/* Promotions Section */
.page-n-h .promotions-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-n-h .promotions-section h2 {
  color: var(--secondary-color);
}

.page-n-h .promotions-section h2::after {
  background-color: var(--text-light);
}

.page-n-h .promotions-section p {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-n-h .promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-n-h .promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-n-h .promo-card h3 {
  padding: 20px 20px 0;
  font-size: 1.5em;
  color: var(--primary-color);
}

.page-n-h .promo-card h3 a {
  color: inherit;
}

.page-n-h .promo-card p {
  padding: 0 20px;
  font-size: 1em;
  color: #666;
  min-height: 60px;
}

.page-n-h .promo-card .card-button {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
}

.page-n-h .promo-card .card-button:hover {
  background-color: #05143a;
}

.page-n-h .promo-cta {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
}

.page-n-h .promo-cta a {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-n-h .faq-item {
  margin-bottom: 15px;
}

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

.page-n-h .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--secondary-color);
}

.page-n-h .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

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

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

.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-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-n-h .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.page-n-h .faq-answer p {
  margin-bottom: 0;
  color: #555;
}

/* Related Articles Section */
.page-n-h .related-articles-section {
  background-color: var(--bg-light);
}

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

.page-n-h .article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-n-h .article-card h3 {
  padding: 20px 20px 0;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-n-h .article-card h3 a {
  color: inherit;
}

.page-n-h .article-card p {
  padding: 0 20px;
  font-size: 0.95em;
  color: #666;
  min-height: 60px;
}

.page-n-h .article-card .card-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
}

.page-n-h .article-card .card-button:hover {
  background-color: #ffc400;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .hero-content h1 {
    font-size: 3em;
  }
  .page-n-h h2 {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-n-h .hero-section {
    padding: 40px 15px;
  }
  .page-n-h .hero-content h1 {
    font-size: 2.5em;
  }
  .page-n-h .hero-content p {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 15px 35px;
    font-size: 1em;
  }
  .page-n-h section {
    padding: 60px 0;
  }
  .page-n-h h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-n-h h3 {
    font-size: 1.4em;
  }
  .page-n-h .feature-item,
  .page-n-h .game-card,
  .page-n-h .promo-card,
  .page-n-h .article-card {
    min-width: unset;
    max-width: 100%;
  }
  .page-n-h .slot-features,
  .page-n-h .game-cards,
  .page-n-h .promo-cards,
  .page-n-h .article-list {
    grid-template-columns: 1fr;
  }
  .page-n-h .how-to-play-section ol li {
    padding: 20px;
  }
  .page-n-h .how-to-play-section ol li h3 {
    font-size: 1.4em;
  }
  .page-n-h .faq-question {
    padding: 15px 20px;
  }
  .page-n-h .faq-question h3 {
    font-size: 1.1em;
  }
  .page-n-h .faq-toggle {
    font-size: 20px;
  }
  .page-n-h .faq-answer {
    padding: 0 20px;
  }
  .page-n-h .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-content h1 {
    font-size: 2em;
  }
  .page-n-h .hero-content p {
    font-size: 0.9em;
  }
  .page-n-h .cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-n-h h2 {
    font-size: 1.6em;
  }
  .page-n-h h3 {
    font-size: 1.2em;
  }
  .page-n-h p {
    font-size: 0.9em;
  }
}