.page-n-h {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #8B0000; /* Đỏ rượu */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.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: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-n-h .text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-n-h .inline-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

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

.page-n-h .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  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);
  border: none;
  cursor: pointer;
}

.page-n-h .cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-n-h .hero-image {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao cho hình ảnh */
  overflow: hidden;
}

.page-n-h .hero-image img {
  width: 100%;
  height: auto;
  min-height: 300px; /* Đảm bảo kích thước tối thiểu */
  max-width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7); /* Làm tối ảnh để chữ nổi bật */
}

.page-n-h .hero-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Lớp phủ để chữ dễ đọc */
  border-radius: 10px;
}

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

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

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

/* Game Grid Section */
.page-n-h .section-games {
  background-color: #f0f0f0;
}

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

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

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

.page-n-h .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-n-h .game-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-n-h .game-title a:hover {
  color: var(--primary-color);
}

.page-n-h .game-description {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Benefits Section */
.page-n-h .section-benefits {
  background: linear-gradient(135deg, var(--secondary-color), #a01010);
  color: var(--text-light);
}

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

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

.page-n-h .benefit-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-n-h .benefit-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-n-h .benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-n-h .benefit-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-n-h .benefit-description {
  font-size: 1em;
  color: var(--text-light);
}

/* Guide Section */
.page-n-h .section-guide {
  background-color: var(--bg-light);
}

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

.page-n-h .step-item {
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-n-h .step-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

/* Promotions Section */
.page-n-h .section-promotions {
  background-color: #f0f0f0;
}

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

.page-n-h .promo-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-n-h .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-n-h .promo-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-n-h .promo-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-n-h .promo-title a:hover {
  color: var(--primary-color);
}

.page-n-h .promo-description {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-n-h .section-tips {
  background-color: var(--bg-light);
}

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

.page-n-h .tip-item {
  background: var(--text-light);
  border-left: 5px solid var(--primary-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-n-h .tip-item strong {
  color: var(--secondary-color);
}

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

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

.page-n-h .faq-item {
  margin-bottom: 15px;
}

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

.page-n-h .faq-q-title {
  font-size: 1.25em;
  color: var(--text-dark);
  margin: 0;
  font-weight: bold;
}

.page-n-h .faq-toggle {
  font-size: 24px;
  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;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: var(--text-dark);
}

.page-n-h .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 15px 25px 25px;
}

/* Final CTA Section */
.page-n-h .section-cta-final {
  background: linear-gradient(to right, var(--secondary-color), #a01010);
  color: var(--text-light);
  text-align: center;
}

.page-n-h .section-cta-final .section-title {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-n-h .section-cta-final .text-content {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-n-h .section-cta-final .cta-button {
  margin: 0 15px 20px;
  padding: 18px 45px;
  font-size: 1.3em;
}

.page-n-h .section-cta-final .primary-cta {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-n-h .section-cta-final .primary-cta:hover {
  background: var(--text-light);
  color: var(--secondary-color);
}

.page-n-h .section-cta-final .secondary-cta {
  background: var(--text-light);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-n-h .section-cta-final .secondary-cta:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  border-color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .hero-title {
    font-size: 3em;
  }
  .page-n-h .hero-description {
    font-size: 1.2em;
  }
  .page-n-h .section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h .hero-title {
    font-size: 2.2em;
  }
  .page-n-h .hero-description {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-n-h .game-grid, .page-n-h .benefits-grid, .page-n-h .guide-steps, .page-n-h .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-n-h .game-image, .page-n-h .promo-image {
    height: 180px;
  }
  .page-n-h .faq-question {
    padding: 15px 20px;
  }
  .page-n-h .faq-q-title {
    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 20px;
  }
  .page-n-h .section-cta-final .cta-button {
    display: block;
    margin: 20px auto;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-title {
    font-size: 1.8em;
  }
  .page-n-h .hero-description {
    font-size: 0.9em;
  }
  .page-n-h .section-title {
    font-size: 1.8em;
  }
  .page-n-h .text-content, .page-n-h .tip-item {
    font-size: 0.95em;
  }
  .page-n-h .game-title, .page-n-h .benefit-title, .page-n-h .step-title, .page-n-h .promo-title {
    font-size: 1.3em;
  }
  .page-n-h .hero-content {
    padding: 15px;
  }
}