/* style/n-h.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --bg-light: #F8F8F8;
  --bg-dark: #1A2B43;
  --border-color: #e0e0e0;
}

.page-n-h {
  font-family: 'Arial', sans-serif;
  color: var(--text-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: 38px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-n-h .section-subtitle {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-n-h .text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* 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, var(--primary-color) 0%, #1a3a6b 100%);
  color: var(--text-light);
  overflow: hidden;
}

.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;
  z-index: 2;
}

.page-n-h .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Adjust max-width for better composition */
}

.page-n-h .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-n-h .hero-title {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-n-h .hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #E0E0E0;
}

.page-n-h .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-n-h .intro-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-n-h .intro-text {
  flex: 1;
}

.page-n-h .intro-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-n-h .intro-image {
  flex: 1;
  text-align: center;
}

.page-n-h .intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-n-h .btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-n-h .btn-secondary:hover {
  background: #1A3A6B;
}

/* Game Types Section */
.page-n-h .section-game-types {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-n-h .game-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-n-h .game-card img {
  width: 250px; /* Ensure images are large enough */
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-n-h .game-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-n-h .game-card h3 a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-n-h .game-card p {
  font-size: 16px;
  color: var(--text-dark);
}

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

.page-n-h .section-benefits .section-title {
  color: var(--secondary-color);
}

.page-n-h .section-benefits .section-subtitle {
  color: #E0E0E0;
}

.page-n-h .section-benefits .text-link {
  color: var(--secondary-color);
}

.page-n-h .section-benefits .text-link:hover {
  color: #FFEB3B;
}

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

.page-n-h .benefit-item {
  background: #1A3A6B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-n-h .benefit-item:hover {
  transform: translateY(-8px);
  background-color: #2A4E80;
}

.page-n-h .benefit-item h3 {
  font-size: 26px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-n-h .benefit-item p {
  font-size: 16px;
  color: #E0E0E0;
}

/* How to Play Section */
.page-n-h .section-how-to-play {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-n-h .step-item {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-n-h .step-item p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.page-n-h .btn-link:hover {
  background: #FFEB3B;
}

.page-n-h .tips-section {
  background: #EBF3FF;
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-n-h .tips-section h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-n-h .tips-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-n-h .tips-section ul li {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: var(--text-dark);
  border-left: 5px solid var(--secondary-color);
}

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

/* Promotions Section */
.page-n-h .section-promotions {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFFDE7 0%, #FFECB3 100%);
}

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

.page-n-h .promo-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-n-h .promo-card img {
  width: 280px; /* Ensure images are large enough */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-n-h .promo-card p {
  font-size: 16px;
  color: var(--text-dark);
  flex-grow: 1;
}

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

.page-n-h .btn-promo:hover {
  background: #1A3A6B;
}

/* FAQ Section */
.page-n-h .section-faq {
  padding: 80px 0;
  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: 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: #F0F0F0;
}

.page-n-h .faq-question h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin: 0;
}

.page-n-h .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-n-h .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-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: #F9F9F9;
}

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

.page-n-h .faq-answer p {
  font-size: 16px;
  color: var(--text-dark);
  margin: 0;
}

/* Why Choose Section */
.page-n-h .section-why-choose {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-n-h .why-choose-text {
  flex: 1;
}

.page-n-h .why-choose-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-n-h .why-choose-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-n-h .why-choose-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-n-h .why-choose-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 20px;
}

.page-n-h .why-choose-image {
  flex: 1;
  text-align: center;
}

.page-n-h .why-choose-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-n-h .section-title {
    font-size: 32px;
  }
  .page-n-h .hero-title {
    font-size: 42px;
  }
  .page-n-h .hero-description {
    font-size: 18px;
  }
  .page-n-h .intro-grid, .page-n-h .why-choose-content {
    flex-direction: column;
    text-align: center;
  }
  .page-n-h .intro-image, .page-n-h .why-choose-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-n-h .game-cards-grid, .page-n-h .benefits-grid, .page-n-h .steps-grid, .page-n-h .promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-n-h .tips-section ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-n-h .section-title {
    font-size: 28px;
  }
  .page-n-h .section-subtitle {
    font-size: 16px;
  }
  .page-n-h .hero-section {
    padding: 60px 15px;
  }
  .page-n-h .hero-title {
    font-size: 36px;
  }
  .page-n-h .hero-description {
    font-size: 16px;
  }
  .page-n-h .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-n-h .intro-image img, .page-n-h .why-choose-image img {
    border-radius: 8px;
  }
  .page-n-h .game-card, .page-n-h .benefit-item, .page-n-h .step-item, .page-n-h .promo-card {
    padding: 25px;
  }
  .page-n-h .game-card img, .page-n-h .promo-card img {
    width: 200px;
    height: 150px;
  }
  .page-n-h .faq-question {
    padding: 15px 20px;
  }
  .page-n-h .faq-question h3 {
    font-size: 18px;
  }
  .page-n-h .faq-toggle {
    font-size: 24px;
  }
  .page-n-h .faq-answer {
    padding: 15px 20px;
  }
  .page-n-h .tips-section {
    padding: 30px;
  }
  .page-n-h .tips-section h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .page-n-h .section-title {
    font-size: 24px;
  }
  .page-n-h .hero-title {
    font-size: 30px;
  }
  .page-n-h .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-n-h .step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-n-h .game-card img, .page-n-h .promo-card img {
    width: 180px;
    height: 120px;
  }
}