/* style/n-h.css */

/* Biến CSS */
:root {
  --primary-color: #0A192F; /* Xanh đậm */
  --secondary-color: #FFD700; /* Vàng kim */
  --text-light: #F0F0F0; /* Màu chữ sáng */
  --text-dark: #333333; /* Màu chữ tối */
  --background-light: #FFFFFF; /* Nền sáng */
  --background-dark: #1A2E4B; /* Nền tối nhẹ */
  --border-color: #E0E0E0;
  --hover-color: #E6B800;
}

.page-n-h {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-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(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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(--secondary-color);
  border-radius: 2px;
}

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

/* Hero Section */
.page-n-h .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a60 100%);
  padding: 80px 0;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-n-h .hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-n-h .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-n-h .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--text-light);
}

.page-n-h .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-n-h .hero-image {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
}

.page-n-h .main-game-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* Introduction Section */
.page-n-h .introduction-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-n-h .introduction-section .section-text {
  color: var(--text-dark);
}

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

.page-n-h .cta-button.secondary:hover {
  background-color: #1a3a60;
}

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

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

.page-n-h .game-types-section .section-title::after {
  background-color: var(--text-light);
}

.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(--primary-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-n-h .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-n-h .card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

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

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

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

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

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

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

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

.page-n-h .step-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-n-h .step-button:hover {
  background-color: #1a3a60;
  transform: translateY(-2px);
}

/* Strategy Section */
.page-n-h .strategy-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-n-h .strategy-section .section-title::after {
  background-color: var(--text-light);
}

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

.page-n-h .strategy-card {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-n-h .strategy-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-n-h .strategy-card .card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

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

.page-n-h .promotion-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px auto;
  max-width: 800px;
}

.page-n-h .promotion-item {
  background-color: #f9f9f9;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-n-h .promotion-item strong {
  color: var(--primary-color);
}

/* Security Section */
.page-n-h .security-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-n-h .security-section .section-title::after {
  background-color: var(--text-light);
}

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

.page-n-h .feature-item {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-n-h .feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-n-h .feature-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

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

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
  color: var(--text-dark);
  font-size: 1em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Đủ cao để chứa nội dung */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-n-h .faq-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-n-h .faq-link:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

/* Conclusion Section */
.page-n-h .conclusion-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

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

.page-n-h .conclusion-section .section-title::after {
  background-color: var(--text-light);
}

.page-n-h .conclusion-section .section-text {
  color: var(--text-light);
}

.page-n-h .cta-button.primary-action {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 18px 45px;
  font-size: 1.3em;
  margin-top: 20px;
}

.page-n-h .cta-button.primary-action:hover {
  background-color: var(--hover-color);
}

/* 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 .hero-section .container {
    flex-direction: column-reverse;
  }
  .page-n-h .hero-title {
    font-size: 2.5em;
  }
  .page-n-h .hero-description {
    font-size: 1em;
  }
  .page-n-h .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-n-h .section-title {
    font-size: 1.8em;
  }
  .page-n-h .section-text {
    font-size: 0.95em;
  }
  .page-n-h .game-card, .page-n-h .step-item, .page-n-h .strategy-card, .page-n-h .feature-item {
    padding: 20px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-n-h .hero-title {
    font-size: 2em;
  }
  .page-n-h .hero-description {
    font-size: 0.9em;
  }
  .page-n-h .section-title {
    font-size: 1.5em;
  }
  .page-n-h .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-n-h .game-grid, .page-n-h .guide-steps, .page-n-h .strategy-grid, .page-n-h .security-features {
    grid-template-columns: 1fr;
  }
  .page-n-h .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-n-h .card-title, .page-n-h .step-title, .page-n-h .feature-title {
    font-size: 1.3em;
  }
  .page-n-h .promotion-item {
    font-size: 1em;
  }
  .page-n-h .faq-link {
    font-size: 0.8em;
    padding: 6px 12px;
  }
}