/* style/n-h.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --background-dark: #1a1a2e; /* Slightly lighter dark blue for overall background */
  --background-card: #2c2c4d;
  --border-color: #4a4a6b;
}

.page-n-h {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

.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: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000050 100%); /* Darker blue gradient */
  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: 2;
}

.page-n-h .hero-image {
  width: 100%;
  max-width: 800px; /* Adjust max-width for image */
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.page-n-h .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.page-n-h .hero-content {
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-n-h .hero-content h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-n-h .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-n-h .cta-button:hover {
  background: #FFC400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* General Section Styling */
.page-n-h section {
  padding: 60px 0;
  text-align: center;
}

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

.page-n-h h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

.page-n-h p {
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-n-h .secondary-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.page-n-h .secondary-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.page-n-h .game-card {
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-n-h .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}

.page-n-h .game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
}

.page-n-h .game-card h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  text-align: center;
}

.page-n-h .game-card p {
  font-size: 0.95em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
}

.page-n-h .card-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push link to bottom */
}

.page-n-h .card-link:hover {
  background: #FFC400;
}

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

.page-n-h .benefit-item {
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-n-h .benefit-item:hover {
  transform: translateY(-8px);
}

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

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

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

/* Guide Section */
.page-n-h .guide-section ol {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-n-h .guide-section ol li {
  background: var(--background-card);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-n-h .guide-section ol li h3 {
  color: var(--primary-color);
  font-size: 1.7em;
  margin-bottom: 10px;
}

.page-n-h .guide-section ol li p {
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: 20px;
  max-width: none;
}

.page-n-h .guide-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95em;
  border: 1px solid var(--primary-color);
  transition: all 0.3s ease;
  margin-top: auto;
}

.page-n-h .guide-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* Promotions Section */
.page-n-h .promotions-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-n-h .promotions-section ul li {
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-n-h .promotions-section ul li strong {
  color: var(--primary-color);
}

.page-n-h .promotions-section ul li a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-n-h .promotions-section ul li a:hover {
  color: #FFC400;
}

/* Comprehensive Platform Section */
.page-n-h .comprehensive-platform-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-n-h .comprehensive-platform-section ul li {
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-n-h .comprehensive-platform-section ul li strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-n-h .faq-section {
  padding: 60px 0;
  background-color: var(--background-card);
}

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

.page-n-h .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.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);
}

.page-n-h .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #222240;
  color: var(--text-light);
  text-align: left;
}

.page-n-h .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.page-n-h .faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  max-width: none;
}

.page-n-h .faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-n-h .faq-answer a:hover {
  color: #FFC400;
}

/* Final CTA Section */
.page-n-h .cta-final-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #FFC400 100%);
  color: var(--secondary-color);
}

.page-n-h .cta-final-section h2 {
  color: var(--secondary-color);
  text-shadow: none;
}

.page-n-h .cta-final-section p {
  color: var(--secondary-color);
  font-size: 1.2em;
}

.page-n-h .cta-final-section .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-n-h .cta-final-section .cta-button:hover {
  background: #000060;
  color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

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

@media (max-width: 768px) {
  .page-n-h .hero-section {
    padding: 60px 15px;
  }
  .page-n-h .hero-content h1 {
    font-size: 2.2em;
  }
  .page-n-h .hero-content p {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-n-h h2 {
    font-size: 1.8em;
  }
  .page-n-h h3 {
    font-size: 1.4em;
  }
  .page-n-h p {
    font-size: 0.95em;
  }
  .page-n-h .game-grid, .page-n-h .benefits-list {
    grid-template-columns: 1fr;
  }
  .page-n-h .game-card, .page-n-h .benefit-item, .page-n-h .guide-section ol li {
    padding: 20px;
  }
  .page-n-h .faq-question {
    padding: 15px;
  }
  .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 15px;
  }
  .page-n-h .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-content h1 {
    font-size: 1.8em;
  }
  .page-n-h .hero-image {
    max-width: 100%;
  }
  .page-n-h h2 {
    font-size: 1.5em;
  }
  .page-n-h .cta-button {
    width: 100%;
    padding: 15px 0;
  }
  .page-n-h .secondary-button, .page-n-h .card-link, .page-n-h .guide-button {
    width: 100%;
    padding: 10px 0;
  }
  .page-n-h .promotions-section ul li, .page-n-h .comprehensive-platform-section ul li {
    padding: 15px;
    font-size: 1em;
  }
}