/* style/n-h.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #0A2463; /* Dark Blue */
  --accent-color: #DC143C; /* Crimson for emphasis */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --bg-dark: #0A2463;
}

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

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

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

.page-n-h h1, .page-n-h h2, .page-n-h h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-n-h h2 {
  font-size: 2.5em;
  position: relative;
  padding-bottom: 15px;
}

.page-n-h h2::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 h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-n-h ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-n-h ul li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

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

.page-n-h .cta-button:hover {
  background: #B2002C;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.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(--secondary-color) 0%, #1A3A70 100%); /* Darker gradient for hero background */
}

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

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

.page-n-h .hero-content h1 {
  color: var(--primary-color);
  font-size: 3.8em;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-n-h .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-n-h .intro-section {
  background-color: var(--bg-light);
}

.page-n-h .intro-section h3 {
  text-align: left;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 5px;
}

.page-n-h .intro-section ul {
  list-style: none;
  padding: 0;
}

.page-n-h .intro-section ul li {
  background-color: #ffffff;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-n-h .intro-section ul li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 10px;
  flex-shrink: 0;
}

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

.page-n-h .game-lobbies-section {
  background-color: #e9e9e9;
}

.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-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.page-n-h .game-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: center;
}

.page-n-h .guide-section {
  background-color: #ffffff;
}

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

.page-n-h .step-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-n-h .step-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-n-h .step-item p {
  font-size: 0.95em;
  color: #666666;
  text-align: center;
}

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

.page-n-h .button-small:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-n-h .strategy-section {
  background-color: #f0f8ff;
}

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

.page-n-h .strategy-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .strategy-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-n-h .strategy-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-n-h .strategy-item h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-top: 0;
}

.page-n-h .strategy-item p {
  font-size: 0.95em;
  color: #555555;
  text-align: center;
}

.page-n-h .promo-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-n-h .promo-section h2 {
  color: var(--primary-color);
}

.page-n-h .promo-section p {
  color: #cccccc;
  text-align: center;
  margin-bottom: 30px;
}

.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: #1A3A70;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-n-h .promo-card:hover {
  transform: translateY(-8px);
  background-color: #2A4A80;
}

.page-n-h .promo-card h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
}

.page-n-h .promo-card p {
  color: #e0e0e0;
  font-size: 1em;
  margin-bottom: 25px;
}

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

.page-n-h .promo-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-n-h .faq-section {
  background-color: var(--bg-light);
}

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

.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 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
  text-align: left;
  padding-bottom: 0;
}

.page-n-h .faq-question h3::after {
  content: none;
}

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

.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: #fcfcfc;
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

.page-n-h .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-n-h .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #f0f0f0;
}

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

.page-n-h a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h h1 {
    font-size: 3em;
  }
  .page-n-h h2 {
    font-size: 2.2em;
  }
  .page-n-h .hero-content p {
    font-size: 1.1em;
  }
  .page-n-h .game-grid, .page-n-h .step-by-step, .page-n-h .strategy-grid, .page-n-h .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .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 .hero-content p {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-n-h .game-grid, .page-n-h .step-by-step, .page-n-h .strategy-grid, .page-n-h .promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-n-h .intro-section ul li {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-n-h .intro-section ul li::before {
    margin-bottom: 5px;
  }
  .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 h1 {
    font-size: 2em;
  }
  .page-n-h h2 {
    font-size: 1.6em;
  }
  .page-n-h .hero-image img {
    border-radius: 8px;
  }
  .page-n-h .cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-n-h .game-card, .page-n-h .step-item, .page-n-h .strategy-item, .page-n-h .promo-card {
    padding: 20px;
  }
  .page-n-h .game-card h3, .page-n-h .step-item h3, .page-n-h .strategy-item h3, .page-n-h .promo-card h3 {
    font-size: 1.2em;
  }
}