/* style/n-h.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #DC143C; /* Crimson */
  --dark-background: #1A1A1A;
  --light-text: #FFFFFF;
  --dark-text: #333333;
  --grey-text: #CCCCCC;
  --border-color: #444444;
  --card-background: #2A2A2A;
  --button-hover-bg: #E0B300;
}

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

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

.page-n-h h1, .page-n-h h2, .page-n-h h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-n-h h1 {
  font-size: 3.2em;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-n-h h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  padding-top: 40px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
}

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

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

.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 .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--light-text);
  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(220, 20, 60, 0.4);
}

.page-n-h .cta-button:hover {
  background: #C41135;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

/* 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, #1A1A1A 0%, #333333 100%);
}

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

.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 25px rgba(0, 0, 0, 0.5);
}

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

.page-n-h .hero-content h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

/* Section Intro */
.page-n-h .section-intro {
  padding: 60px 0;
  background-color: #222222;
}

.page-n-h .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: var(--card-background);
  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 .feature-item h3 {
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.page-n-h .feature-image {
  width: 100%; /* Ensure images are large enough */
  max-width: 300px; 
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

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

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

.page-n-h .game-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-n-h .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-n-h .game-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--light-text);
}

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

.page-n-h .game-card p {
  font-size: 0.95em;
  color: var(--grey-text);
  padding: 0 15px;
  flex-grow: 1;
}

.page-n-h .btn-play {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-text);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px auto;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-n-h .btn-play:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
}

/* Section How to Play */
.page-n-h .section-how-to-play {
  padding: 60px 0;
  background-color: #222222;
}

.page-n-h .steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

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

.page-n-h .steps-list li p {
  font-size: 1.05em;
  color: var(--grey-text);
  margin-bottom: 20px;
}

.page-n-h .btn-step {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-n-h .btn-step:hover {
  background-color: #C41135;
  transform: translateY(-2px);
}

/* Section Strategy */
.page-n-h .section-strategy {
  padding: 60px 0;
  background-color: var(--dark-background);
}

.page-n-h .section-strategy ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

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

/* Section Promotions */
.page-n-h .section-promotions {
  padding: 60px 0;
  background-color: #222222;
}

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

.page-n-h .promo-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-n-h .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-n-h .promo-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--light-text);
}

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

.page-n-h .promo-card p {
  font-size: 0.95em;
  color: var(--grey-text);
  padding: 0 15px;
  flex-grow: 1;
}

.page-n-h .btn-promo {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-text);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px auto;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-n-h .btn-promo:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
}

.page-n-h .promo-note {
  margin-top: 30px;
  font-size: 0.9em;
  color: var(--grey-text);
}

/* Section Mobile */
.page-n-h .section-mobile {
  padding: 60px 0;
  background-color: var(--dark-background);
}

.page-n-h .mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-n-h .mobile-text {
  flex: 1 1 500px;
  text-align: left;
}

.page-n-h .mobile-text h2 {
  text-align: left;
  border-bottom: none;
  padding-top: 0;
  margin-bottom: 20px;
}

.page-n-h .mobile-text p {
  text-align: left;
  margin-bottom: 20px;
  color: var(--grey-text);
}

.page-n-h .mobile-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-n-h .mobile-text ul li {
  background-color: var(--card-background);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 3px solid var(--secondary-color);
  color: var(--light-text);
  font-size: 1.05em;
}

.page-n-h .mobile-image {
  flex: 1 1 400px;
  text-align: center;
}

.page-n-h .mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Section FAQ */
.page-n-h .section-faq {
  padding: 60px 0;
  background-color: #222222;
}

.page-n-h .faq-list {
  max-width: 900px;
  margin: 40px auto;
}

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

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

.page-n-h .faq-question:hover {
  background: #3A3A3A;
  border-color: var(--primary-color);
}

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

.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 20px;
  background: #2A2A2A;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-n-h .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border-color: var(--primary-color);
}

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

/* Section Blog */
.page-n-h .section-blog {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-n-h .blog-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-n-h .blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-n-h .blog-card h3 {
  font-size: 1.3em;
  margin: 20px 15px 10px;
  color: var(--light-text);
}

.page-n-h .blog-card h3 .blog-title-link {
  color: inherit;
}

.page-n-h .blog-card p {
  font-size: 0.9em;
  color: var(--grey-text);
  padding: 0 15px;
  flex-grow: 1;
}

.page-n-h .blog-date {
  font-size: 0.85em;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.page-n-h .text-center {
  text-align: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-n-h h1 {
    font-size: 2.5em;
  }
  .page-n-h h2 {
    font-size: 1.8em;
  }
  .page-n-h h3 {
    font-size: 1.4em;
  }
  .page-n-h p {
    font-size: 1em;
  }
  .page-n-h .hero-section {
    padding: 60px 15px;
  }
  .page-n-h .hero-image {
    margin-bottom: 20px;
  }
  .page-n-h .hero-content h1 {
    font-size: 2.8em;
  }
  .page-n-h .hero-content p {
    font-size: 1.1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-n-h .feature-grid, .page-n-h .game-list, .page-n-h .promo-grid, .page-n-h .blog-list {
    grid-template-columns: 1fr;
  }
  .page-n-h .mobile-content {
    flex-direction: column;
  }
  .page-n-h .mobile-text, .page-n-h .mobile-image {
    flex: 1 1 auto;
    text-align: center;
  }
  .page-n-h .mobile-text h2, .page-n-h .mobile-text p {
    text-align: center;
  }
  .page-n-h .mobile-text ul {
    text-align: left;
    padding-left: 20px;
  }
  .page-n-h .faq-question h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-n-h h1 {
    font-size: 2em;
  }
  .page-n-h .hero-content h1 {
    font-size: 2.2em;
  }
  .page-n-h .hero-content p {
    font-size: 0.95em;
  }
  .page-n-h .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-n-h .faq-question {
    padding: 12px 15px;
  }
  .page-n-h .faq-question h3 {
    font-size: 1em;
  }
  .page-n-h .faq-toggle {
    font-size: 20px;
  }
  .page-n-h .faq-answer {
    padding: 15px;
  }
}