/* style/n-h.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
}

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

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

.page-n-h .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

.page-n-h .section-title::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 section {
  padding: 60px 0;
}

/* 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-color: var(--bg-dark);
  overflow: hidden;
}

.page-n-h .hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-n-h .hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

.page-n-h .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  color: var(--text-light);
}

.page-n-h .hero-title {
  font-size: 3.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-n-h .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1.5;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.page-n-h .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(90deg, var(--primary-color), #FFC107);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-n-h .cta-button:hover {
  background: linear-gradient(90deg, #FFC107, var(--primary-color));
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-n-h .btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-n-h .btn-primary:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

/* Why Choose Section */
.page-n-h .section-why-choose {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
}

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

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

.page-n-h .feature-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-n-h .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-n-h .feature-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid var(--primary-color);
}

.page-n-h .feature-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-n-h .feature-item p {
  font-size: 1em;
  color: #cccccc;
}

/* Game Types Section */
.page-n-h .section-game-types {
  background-color: var(--bg-light);
  padding: 80px 0;
}

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

.page-n-h .game-type-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--secondary-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.page-n-h .game-type-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-n-h .game-type-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* How To Play Section */
.page-n-h .section-how-to-play {
  background-color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

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

.page-n-h .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px; /* Ensure consistent height */
}

.page-n-h .step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-n-h .step-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-n-h .step-item p {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

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

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

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

.page-n-h .section-tips .section-title {
  color: var(--primary-color);
}

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

.page-n-h .tip-list li {
  background-color: #2a2a2a;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid var(--primary-color);
}

.page-n-h .tip-list h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-n-h .tip-list p {
  font-size: 1em;
  color: #cccccc;
}

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

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

.page-n-h .promotion-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-n-h .promo-image {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-n-h .card-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-n-h .promotion-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-n-h .btn-promo {
  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;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-n-h .btn-promo:hover {
  background-color: #a00000;
}

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

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

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

.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: #f8f8f8;
}

.page-n-h .faq-question h3 {
  font-size: 1.2em;
  color: var(--text-dark);
  margin: 0;
  font-weight: bold;
}

.page-n-h .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-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 25px;
  background: #fefefe;
}

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

.page-n-h .faq-answer p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-n-h .faq-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-n-h .faq-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Call to Action Bottom Section */
.page-n-h .section-cta-bottom {
  background: linear-gradient(135deg, var(--secondary-color), #a00000);
  padding: 70px 0;
  text-align: center;
  color: var(--text-light);
}

.page-n-h .cta-title {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-n-h .cta-text {
  font-size: 1.2em;
  margin-bottom: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-n-h .cta-button-bottom {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-n-h .cta-button-bottom:hover {
  background: #FFC107;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .hero-title {
    font-size: 3em;
  }
  .page-n-h .hero-description {
    font-size: 1.1em;
  }
  .page-n-h .section-title {
    font-size: 2em;
  }
  .page-n-h .feature-title, .page-n-h .game-type-title, .page-n-h .card-title {
    font-size: 1.6em;
  }
  .page-n-h .cta-title {
    font-size: 2.2em;
  }
  .page-n-h .cta-button, .page-n-h .cta-button-bottom {
    font-size: 1.2em;
    padding: 15px 35px;
  }
}

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h .hero-section {
    padding: 60px 15px;
  }
  .page-n-h .hero-image {
    max-height: 300px;
    margin-bottom: 30px;
  }
  .page-n-h .hero-title {
    font-size: 2.5em;
  }
  .page-n-h .hero-description {
    font-size: 1em;
  }
  .page-n-h .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-n-h .features-grid, .page-n-h .game-type-list, .page-n-h .steps-grid, .page-n-h .promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-n-h .feature-item, .page-n-h .game-type-item, .page-n-h .step-item, .page-n-h .promotion-card {
    padding: 20px;
  }
  .page-n-h .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-n-h .feature-title, .page-n-h .game-type-title, .page-n-h .card-title {
    font-size: 1.4em;
  }
  .page-n-h .tip-list li {
    padding: 20px;
  }
  .page-n-h .tip-list h3 {
    font-size: 1.4em;
  }
  .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: 1.5em;
  }
  .page-n-h .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-n-h .cta-title {
    font-size: 1.8em;
  }
  .page-n-h .cta-text {
    font-size: 1em;
  }
  .page-n-h .cta-button-bottom {
    font-size: 1.1em;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-title {
    font-size: 2em;
  }
  .page-n-h .section-title {
    font-size: 1.5em;
  }
  .page-n-h .cta-button, .page-n-h .cta-button-bottom {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-n-h .feature-image, .page-n-h .promo-image {
    height: 150px;
  }
  .page-n-h .feature-title, .page-n-h .game-type-title, .page-n-h .card-title {
    font-size: 1.2em;
  }
  .page-n-h .tip-list h3 {
    font-size: 1.2em;
  }
  .page-n-h .faq-question h3 {
    font-size: 1em;
  }
}