/* style/n-h.css */
:root {
  --primary-color: #3A0CA3;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #2a096e;
  --accent-color: #e0ac00;
}

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

.page-n-h h1, .page-n-h h2, .page-n-h h3 {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.page-n-h h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-n-h h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
}

.page-n-h h3 {
  font-size: 1.6em;
}

.page-n-h p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.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);
  text-decoration: underline;
}

.page-n-h .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Banner Section */
.page-n-h .hero-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-n-h .hero-banner .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-n-h .hero-banner .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-n-h .hero-banner h1 {
  margin-bottom: 20px;
  font-size: 3.5em;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

/* General Section Styling */
.page-n-h section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-n-h .intro-section, .page-n-h .strategy-guide-section, .page-n-h .contact-cta-section {
  text-align: center;
  background-color: var(--bg-light);
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-n-h .content-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Game Types Section */
.page-n-h .game-types-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: 10px;
  margin-top: 30px;
  padding: 60px 20px;
  text-align: center;
}

.page-n-h .game-types-section h2 {
  color: var(--secondary-color);
}

.page-n-h .game-types-section p {
  color: #cccccc;
}

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

.page-n-h .game-cards .card {
  background-color: #4a148c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

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

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

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

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

.page-n-h .game-cards .card p {
  color: #e0e0e0;
  font-size: 1em;
  padding: 0 15px;
}

/* Why Choose Section */
.page-n-h .why-choose-section {
  background-color: var(--bg-light);
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-n-h .why-choose-section ul {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-n-h .why-choose-section li {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .why-choose-section li:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

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

.page-n-h .why-choose-section li h3 a {
  color: var(--primary-color);
}

.page-n-h .why-choose-section li p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Strategy Guide Section */
.page-n-h .strategy-guide-section {
  background-color: var(--bg-light);
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

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

.page-n-h .strategy-card .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 20px;
}

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

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

.page-n-h .strategy-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
}

/* Promotions Section */
.page-n-h .promotions-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: 10px;
  margin-top: 30px;
  padding: 60px 20px;
  text-align: center;
}

.page-n-h .promotions-section h2 {
  color: var(--secondary-color);
}

.page-n-h .promotions-section p {
  color: #cccccc;
}

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

.page-n-h .promo-card {
  background-color: #4a148c;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 6px 20px 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: #5a1a9c;
}

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

.page-n-h .promo-card h3 a {
  color: var(--secondary-color);
}

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

/* FAQ Section */
.page-n-h .faq-section {
  background-color: var(--bg-light);
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-n-h .faq-section h2 {
  margin-bottom: 40px;
}

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

.page-n-h .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.page-n-h .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  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.25em;
  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);
}

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

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

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

/* Call to Action Section */
.page-n-h .contact-cta-section {
  background: linear-gradient(45deg, var(--primary-color), #5a1a9c);
  color: var(--text-light);
  border-radius: 10px;
  margin-top: 30px;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-n-h .contact-cta-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
}

.page-n-h .contact-cta-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 40px;
  color: #e0e0e0;
}

.page-n-h .contact-cta-section .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .hero-banner h1 {
    font-size: 3em;
  }
  .page-n-h h2 {
    font-size: 2em;
  }
  .page-n-h .game-cards, .page-n-h .strategy-items, .page-n-h .promo-items {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-n-h .hero-banner {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-n-h .hero-banner h1 {
    font-size: 2.5em;
  }
  .page-n-h .hero-banner p {
    font-size: 1.1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .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 section {
    padding: 40px 15px;
  }
  .page-n-h .why-choose-section li {
    padding: 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;
  }
  .page-n-h .contact-cta-section h2 {
    font-size: 2em;
  }
  .page-n-h .contact-cta-section p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-banner h1 {
    font-size: 2em;
  }
  .page-n-h .hero-banner p {
    font-size: 0.9em;
  }
  .page-n-h .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-n-h h1 {
    font-size: 2em;
  }
  .page-n-h h2 {
    font-size: 1.6em;
  }
  .page-n-h h3 {
    font-size: 1.2em;
  }
  .page-n-h .game-cards, .page-n-h .strategy-items, .page-n-h .promo-items {
    grid-template-columns: 1fr;
  }
  .page-n-h .faq-question {
    padding: 15px 15px;
  }
  .page-n-h .faq-answer {
    padding: 0 15px;
  }
  .page-n-h .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
  .page-n-h .contact-cta-section h2 {
    font-size: 1.8em;
  }
}