/* style/n-h.css */
:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --border-color: #e0e0e0;
}

.page-n-h {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

.page-n-h-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-n-h-main-title {
  font-size: 3em;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-n-h-section-title {
  font-size: 2.5em;
}

.page-n-h p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
}

/* 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 40px;
  background: linear-gradient(135deg, var(--primary-color), #004488);
  color: var(--text-color-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;
  max-width: 800px; /* Constrain image size slightly */
}

.page-n-h .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px 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;
}

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

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

.page-n-h-button-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-n-h-button-secondary:hover {
  background: var(--background-dark);
  border-color: var(--background-dark);
  transform: translateY(-2px);
}

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

.page-n-h-button-text:hover {
  background: #FFC107;
  transform: translateY(-1px);
}

/* Section Styling */
.page-n-h section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-n-h .section-intro,
.page-n-h .section-benefits,
.page-n-h .section-guide,
.page-n-h .section-security-support {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.page-n-h .section-game-types,
.page-n-h .section-promotions,
.page-n-h .section-faq,
.page-n-h .section-latest-news {
  background-color: var(--background-light);
}

/* Game Grid / Promo Grid / Article Grid */
.page-n-h-game-grid, 
.page-n-h-promo-grid, 
.page-n-h-article-grid, 
.page-n-h-security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-n-h-game-card,
.page-n-h-promo-card,
.page-n-h-article-card,
.page-n-h-security-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-n-h-game-card img,
.page-n-h-promo-card img,
.page-n-h-article-card img,
.page-n-h-security-item img {
  width: 100%;
  height: 250px; /* Maintain aspect ratio, cover */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-n-h-game-card h3,
.page-n-h-promo-card h3,
.page-n-h-article-card h3,
.page-n-h-security-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

.page-n-h-game-card p,
.page-n-h-promo-card p,
.page-n-h-article-card p,
.page-n-h-security-item p {
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-n-h-article-date {
  font-size: 0.9em;
  color: #777;
  margin-top: auto; /* Push date to bottom */
  display: block;
  margin-bottom: 15px;
}

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

.page-n-h-benefit-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

/* Guide Steps */
.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: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-n-h-step-item p {
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-n-h-faq-list {
  margin-top: 40px;
}