.page-n-h {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F0F0F0;
  --text-dark: #1A202C;
  --bg-dark: #1A202C;
  --bg-light: #FFFFFF;
  --card-bg: #2C3E50;
  --border-color: #3A475C;
  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 {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-n-h .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-n-h .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-n-h .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* 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);
  color: var(--text-light);
}

.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: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px 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: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

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

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

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

.page-n-h .game-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

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

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

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

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

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

.page-n-h .game-card p {
  font-size: 16px;
  color: #555;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-n-h .text-center {
  text-align: center;
}

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

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

.page-n-h .step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-n-h .step-list li {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-n-h .step-list li:hover {
  background-color: #3B506B;
}

.page-n-h .step-list h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

.page-n-h .step-list h3 a:hover {
  color: #fff;
}

.page-n-h .step-list p {
  font-size: 16px;
  color: var(--text-light);
}

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

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

.page-n-h .promo-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .promo-list li:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .promo-list li img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-n-h .promo-list li h4 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-n-h .promo-list li h4 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-n-h .promo-list li h4 a:hover {
  color: var(--secondary-color);
}

.page-n-h .promo-list li p {
  font-size: 16px;
  color: #555;
}

/* Tips Section */
.page-n-h .tips-section {
  background-color: #f2f2f2;
  padding: 80px 0;
}

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

.page-n-h .tips-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-n-h .tips-list li:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .tips-list li img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-n-h .tips-list li h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-n-h .tips-list li p {
  font-size: 16px;
  color: #555;
}

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

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

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

.page-n-h .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-n-h .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  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: #3B506B;
  border-color: var(--secondary-color);
}

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

.page-n-h .faq-toggle {
  font-size: 28px;
  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);
  color: #fff;
}

.page-n-h .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #232B3B;
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .hero-content h1 {
    font-size: 40px;
  }
  .page-n-h .hero-content p {
    font-size: 18px;
  }
  .page-n-h .section-title {
    font-size: 32px;
  }
  .page-n-h .game-grid, .page-n-h .promo-list, .page-n-h .tips-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-n-h .hero-section {
    padding: 60px 15px;
  }
  .page-n-h .hero-content h1 {
    font-size: 32px;
  }
  .page-n-h .hero-content p {
    font-size: 16px;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-n-h .game-grid, .page-n-h .promo-list, .page-n-h .tips-list {
    grid-template-columns: 1fr;
  }
  .page-n-h .game-card img {
    height: 180px;
  }
  .page-n-h .game-card h3 {
    font-size: 20px;
  }
  .page-n-h .step-list li {
    padding: 20px;
  }
  .page-n-h .step-list h3 {
    font-size: 20px;
  }
  .page-n-h .promo-list li img {
    width: 80px;
    height: 80px;
  }
  .page-n-h .promo-list li h4 {
    font-size: 20px;
  }
  .page-n-h .tips-list li img {
    width: 100px;
    height: 100px;
  }
  .page-n-h .tips-list li h3 {
    font-size: 22px;
  }
  .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: 0 20px;
  }
  .page-n-h .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-content h1 {
    font-size: 28px;
  }
  .page-n-h .hero-content p {
    font-size: 15px;
  }
  .page-n-h .section-title {
    font-size: 24px;
  }
  .page-n-h .game-card h3 {
    font-size: 18px;
  }
  .page-n-h .step-list h3 {
    font-size: 18px;
  }
  .page-n-h .promo-list li h4 {
    font-size: 18px;
  }
  .page-n-h .tips-list li h3 {
    font-size: 20px;
  }
  .page-n-h .faq-question h3 {
    font-size: 16px;
  }
  .page-n-h .faq-toggle {
    font-size: 20px;
  }
}