/* style/n-h.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --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 {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-n-h section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

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

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

.page-n-h h2 {
  font-size: 2.2em;
}

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

.page-n-h p {
  margin-bottom: 1em;
  text-align: justify;
}

.page-n-h .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-n-h .btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-n-h .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-n-h .btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  margin-left: 15px;
}

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

.page-n-h .large-btn {
  padding: 15px 40px;
  font-size: 1.1em;
  display: block;
  max-width: 300px;
  margin: 30px auto 0 auto;
}

/* 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, #007bff, #0056b3);
  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.3);
}

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

.page-n-h .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

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

/* Introduction Section */
.page-n-h .introduction-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 20px;
}

.page-n-h .button-group {
  text-align: center;
  margin-top: 40px;
}

/* Game Types Section */
.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: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 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(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-n-h .game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-n-h .game-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
  text-align: center;
}

.page-n-h .game-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

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

/* Benefits Section */
.page-n-h .benefits-section {
  background-color: #f0f8ff;
}

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

.page-n-h .benefit-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .benefit-item h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  text-align: left;
  margin-bottom: 15px;
}

.page-n-h .benefit-item h3 a {
  color: inherit;
  text-decoration: none;
}

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

.page-n-h .benefit-item p {
  color: #555;
  font-size: 0.95em;
  text-align: left;
}

/* Guide Section */
.page-n-h .guide-section ol {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-n-h .guide-section ol li {
  position: relative;
  padding: 15px 20px 15px 60px;
  margin-bottom: 20px;
  background-color: var(--text-light);
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-n-h .guide-section ol li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.2);
}

.page-n-h .guide-section ol li strong a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-n-h .guide-section ol li strong a:hover {
  text-decoration: underline;
}

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

.page-n-h .promo-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 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 .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-n-h .promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-n-h .promo-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
  text-align: center;
}

.page-n-h .promo-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

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

/* Tips Section */
.page-n-h .tips-section ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-n-h .tips-section ul li {
  background-color: var(--text-light);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 4px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
}

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

.page-n-h .tips-section ul li a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-n-h .faq-section {
  background-color: #f0f8ff;
}

.page-n-h .faq-list {
  max-width: 900px;
  margin: 40px 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: var(--text-light);
  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);
  text-align: left;
}

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

.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 {
  margin-bottom: 0;
  text-align: left;
}

/* Latest News Section */
.page-n-h .latest-news-section {
  background-color: var(--bg-light);
}

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

.page-n-h .news-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 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 .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-n-h .news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-n-h .news-card h3 {
  font-size: 1.3em;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
  text-align: center;
}

.page-n-h .news-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

.page-n-h .news-card p {
  font-size: 0.9em;
  color: #666;
  padding: 0 15px;
  text-align: center;
}

.page-n-h .news-card .news-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-n-h h1 {
    font-size: 2.4em;
  }
  .page-n-h h2 {
    font-size: 1.8em;
  }
  .page-n-h .hero-content p {
    font-size: 1.1em;
  }
  .page-n-h .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-n-h .game-grid, .page-n-h .benefit-grid, .page-n-h .promo-grid, .page-n-h .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h h1 {
    font-size: 2em;
  }
  .page-n-h h2 {
    font-size: 1.6em;
  }
  .page-n-h h3 {
    font-size: 1.4em;
  }
  .page-n-h .hero-image {
    margin-bottom: 20px;
  }
  .page-n-h .hero-image img {
    border-radius: 4px;
  }
  .page-n-h .hero-content p {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 15px;
  }
  .page-n-h .button-group .btn {
    margin: 10px 0;
    display: block;
  }
  .page-n-h .button-group .btn-secondary {
    margin-left: 0;
  }
  .page-n-h .game-card img, .page-n-h .promo-card img, .page-n-h .news-card img {
    height: 180px;
  }
  .page-n-h .guide-section ol li {
    padding: 15px 15px 15px 50px;
  }
  .page-n-h .guide-section ol li::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
  .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: 1.8em;
  }
  .page-n-h h2 {
    font-size: 1.5em;
  }
  .page-n-h h3 {
    font-size: 1.3em;
  }
  .page-n-h .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-n-h .game-grid, .page-n-h .benefit-grid, .page-n-h .promo-grid, .page-n-h .news-grid {
    grid-template-columns: 1fr;
  }
  .page-n-h .game-card img, .page-n-h .promo-card img, .page-n-h .news-card img {
    height: 200px;
  }
  .page-n-h .large-btn {
    max-width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }
}