/* style/n-h.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #B22222; /* Deep Red */
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --bg-dark: #1a1a1a;
  --bg-medium-dark: #2a2a2a;
  --bg-light: #ffffff;
  --border-color: #444444;
}

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

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

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

.page-n-h .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

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

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

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

.page-n-h .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* 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: linear-gradient(135deg, var(--bg-medium-dark), var(--bg-dark));
}

.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;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.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;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-n-h .hero-content p {
  font-size: 1.3em;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-n-h .intro-section {
  padding: 80px 0;
  background-color: var(--bg-medium-dark);
}

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

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

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

.page-n-h .feature-item img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

/* Games Section */
.page-n-h .games-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-n-h .game-card {
  background-color: var(--bg-medium-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

.page-n-h .game-card p {
  font-size: 1em;
  color: var(--text-light);
  padding: 0 15px 20px;
  text-align: center;
}

.page-n-h .card-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-n-h .card-button:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
}

/* Guide Section */
.page-n-h .guide-section {
  padding: 80px 0;
  background-color: var(--bg-medium-dark);
}

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

.page-n-h .steps-list li {
  background-color: var(--bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-n-h .steps-list li img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-n-h .steps-list li p {
  font-size: 1em;
  color: var(--text-light);
  text-align: center;
}

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

.page-n-h .step-button:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
}

/* Tips Section */
.page-n-h .tips-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-n-h .tips-list li {
  background-color: var(--bg-medium-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-n-h .tips-list li img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-n-h .tips-list li h4 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-n-h .tips-list li p {
  font-size: 0.95em;
  color: var(--text-light);
  text-align: center;
}

/* Promotions Section */
.page-n-h .promotions-section {
  padding: 80px 0;
  background-color: var(--bg-medium-dark);
}

.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: var(--bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

.page-n-h .promo-card p {
  font-size: 1em;
  color: var(--text-light);
  padding: 0 15px 20px;
  text-align: center;
}

.page-n-h .promo-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-n-h .promo-button:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
}

.page-n-h .promo-note {
  margin-top: 40px;
  font-style: italic;
  color: var(--text-light);
}

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

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

.page-n-h .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-medium-dark);
}

.page-n-h .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-medium-dark);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-n-h .faq-question:hover {
  background: var(--bg-dark);
}

.page-n-h .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  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: var(--bg-dark);
  color: var(--text-light);
}

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

.page-n-h .faq-answer p {
  margin: 0;
  text-align: left;
  font-size: 1em;
  color: var(--text-light);
}

.page-n-h .faq-button {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-n-h .faq-button:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
}

/* Bottom CTA Section */
.page-n-h .cta-bottom-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark));
  text-align: center;
}

.page-n-h .cta-bottom-section h2 {
  color: var(--primary-color);
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-n-h .cta-bottom-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .hero-content h1 {
    font-size: 3em;
  }
  .page-n-h .section-title {
    font-size: 2.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: 1.1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-n-h .section-title {
    font-size: 2em;
  }
  .page-n-h p {
    font-size: 1em;
  }
  .page-n-h .features-grid, .page-n-h .game-categories, .page-n-h .steps-list, .page-n-h .tips-list, .page-n-h .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-n-h .feature-item, .page-n-h .game-card, .page-n-h .steps-list li, .page-n-h .tips-list li, .page-n-h .promo-card {
    padding: 20px;
  }
  .page-n-h .feature-item img, .page-n-h .steps-list li img, .page-n-h .tips-list li img {
    width: 100px;
  }
  .page-n-h .game-card img {
    height: 200px;
  }
  .page-n-h .promo-card img {
    height: 180px;
  }
  .page-n-h .faq-question {
    padding: 15px 20px;
  }
  .page-n-h .faq-question h3 {
    font-size: 1.1em;
  }
  .page-n-h .faq-answer {
    padding: 15px 20px;
  }
  .page-n-h .cta-bottom-section h2 {
    font-size: 2em;
  }
  .page-n-h .cta-bottom-section p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-content h1 {
    font-size: 2em;
  }
  .page-n-h .hero-content p {
    font-size: 0.95em;
  }
  .page-n-h .section-title {
    font-size: 1.8em;
  }
  .page-n-h .cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
  }
  .page-n-h .feature-item h3 {
    font-size: 1.4em;
  }
  .page-n-h .game-card h3 {
    font-size: 1.5em;
  }
  .page-n-h .steps-list li h3 {
    font-size: 1.3em;
  }
  .page-n-h .tips-list li h4 {
    font-size: 1.2em;
  }
  .page-n-h .promo-card h3 {
    font-size: 1.4em;
  }
}