.page-n-h {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --accent-color: #000080; /* Navy Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --bg-dark: #1a1a1a;
  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;
}

.page-n-h .text-center {
  text-align: center;
}

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

.page-n-h section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-n-h .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-n-h h2 {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h h3 {
  font-size: 1.5em;
  color: var(--accent-color);
  margin-bottom: 10px;
}

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

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

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

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

.page-n-h .cta-button:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-n-h .cta-button.primary-variant {
  background: var(--primary-color);
  color: var(--text-dark);
}

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

.page-n-h .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-n-h .btn-small:hover {
  background: var(--secondary-color);
}

/* 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, var(--accent-color) 0%, #000000 100%); /* Dark background for contrast */
  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;
  max-width: 900px; /* Adjust max-width for image */
}

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

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

/* Introduction Section */
.page-n-h .introduction-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-n-h .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  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 25px rgba(0, 0, 0, 0.15);
}

.page-n-h .feature-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Games Showcase Section */
.page-n-h .games-showcase-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-n-h .games-showcase-section .section-title {
  color: var(--primary-color);
}

.page-n-h .games-showcase-section p {
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

.page-n-h .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-n-h .game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

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

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

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

.page-n-h .game-card .btn-small {
  margin-bottom: 20px;
  background-color: var(--secondary-color);
}

.page-n-h .game-card .btn-small:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

/* Benefits Section */
.page-n-h .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-n-h .benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-n-h .benefit-item h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.page-n-h .benefit-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* How to Play Section */
.page-n-h .how-to-play-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-n-h .how-to-play-section .section-title {
  color: var(--primary-color);
}

.page-n-h .how-to-play-section p {
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-n-h .step-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 250px;
}

.page-n-h .step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-n-h .step-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-n-h .step-item p {
  color: #bbbbbb;
  font-size: 1em;
  flex-grow: 1;
}

.page-n-h .step-item .btn-small {
  margin-top: 20px;
  background-color: var(--secondary-color);
}

.page-n-h .step-item .btn-small:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

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

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

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

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

.page-n-h .promo-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h .promo-card p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Security and Support Section */
.page-n-h .security-support-section {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.page-n-h .security-support-section .section-title {
  color: var(--primary-color);
}

.page-n-h .security-support-section p {
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-n-h .info-item {
  background-color: #000066;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-n-h .info-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-n-h .info-item .btn-small {
  margin-top: 20px;
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-n-h .info-item .btn-small:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* FAQ Section */
.page-n-h .faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.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 {
  color: var(--accent-color);
  margin: 0;
  font-size: 1.2em;
}

.page-n-h .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.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;
  color: var(--text-dark);
}

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

.page-n-h .faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Conclusion Section */
.page-n-h .conclusion-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
}

.page-n-h .conclusion-section .section-title {
  color: var(--primary-color);
}

.page-n-h .conclusion-section p {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-n-h .conclusion-section .cta-button {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-n-h .conclusion-section .cta-button:hover {
  background: var(--accent-color);
  color: var(--text-light);
}

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

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-n-h h1 {
    font-size: 2.5em;
  }
  .page-n-h h3 {
    font-size: 1.3em;
  }
  .page-n-h p {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-n-h .feature-grid, .page-n-h .games-grid, .page-n-h .benefits-grid, .page-n-h .step-list, .page-n-h .promo-grid, .page-n-h .info-grid {
    grid-template-columns: 1fr;
  }
  .page-n-h .hero-image {
    margin-bottom: 20px;
  }
  .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: 1.5em;
  }
  .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 .section-title {
    font-size: 1.5em;
  }
  .page-n-h h1 {
    font-size: 2em;
  }
  .page-n-h .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-n-h .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}