/* style/n-h.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f5f5f5;
  --bg-color-dark: #1a1a1a;
  --card-bg-light: #ffffff;
  --card-bg-dark: #2a2a2a;
  --border-color: #e0e0e0;
}

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

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

.page-n-h section {
  padding: 60px 0;
  text-align: center;
}

.page-n-h section:nth-child(even) {
  background-color: var(--bg-color-light);
}

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

.page-n-h .section-title {
  font-size: 3em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

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

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

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

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

.page-n-h .cta-button.primary:hover {
  background: #a00000; /* Slightly darker red */
}

.page-n-h .cta-button.secondary {
  background: var(--text-color-dark);
  color: var(--text-color-light);
  margin-left: 20px;
}

.page-n-h .cta-button.secondary:hover {
  background: #555555;
}

/* Section Banner */
.page-n-h .section-banner {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a00000 100%);
  color: var(--text-color-light);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-n-h .main-heading {
  font-size: 3.8em;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-n-h .sub-heading {
  font-size: 1.6em;
  margin-bottom: 30px;
  max-width: 900px;
  color: var(--bg-color-light);
}

.page-n-h .banner-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-n-h .feature-item {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-n-h .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-n-h .feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* Section Why E2BET */
.page-n-h .section-why-e2bet {
  background-color: var(--card-bg-light);
}

.page-n-h .reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-n-h .reason-item {
  background: var(--bg-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary-color);
}

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

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

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

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

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

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

.page-n-h .game-card {
  background: var(--card-bg-dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-n-h .game-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-n-h .card-title .card-link {
  color: inherit;
  text-decoration: none;
}

.page-n-h .card-title .card-link:hover {
  text-decoration: underline;
}

.page-n-h .card-text {
  font-size: 0.95em;
  color: var(--border-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-n-h .card-button:hover {
  background: #a00000;
}

/* Section How To Play */
.page-n-h .section-how-to-play {
  background-color: var(--bg-color-light);
  text-align: left;
}

.page-n-h .steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-n-h .steps-list li {
  background: var(--card-bg-light);
  margin-bottom: 25px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 80px;
}

.page-n-h .steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--text-color-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

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

/* Section Promotions */
.page-n-h .section-promotions {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
}

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

.page-n-h .section-promotions .section-description {
  color: var(--border-color);
}

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

.page-n-h .promo-list li {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 5px solid var(--primary-color);
}

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

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

/* Section Mobile Experience */
.page-n-h .section-mobile-experience {
  background-color: var(--bg-color-light);
}

.page-n-h .mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-n-h .mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-n-h .mobile-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-n-h .mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-n-h .mobile-features li {
  margin-bottom: 15px;
}

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

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

/* Section Responsible Gaming */
.page-n-h .section-responsible-gaming {
  background-color: var(--card-bg-light);
}

.page-n-h .read-more-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
}

.page-n-h .read-more-link:hover {
  text-decoration: underline;
}

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

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

.page-n-h .section-faq .section-description {
  color: var(--border-color);
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #3a3a3a;
  border-color: var(--primary-color);
}

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

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-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 25px;
  background: #2a2a2a;
  border-radius: 0 0 8px 8px;
  color: var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.faq-answer p {
  margin: 0;
  font-size: 1em;
}

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

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

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

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

.page-n-h .article-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent look */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-n-h .article-card .article-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-n-h .article-card .article-link {
  color: inherit;
  text-decoration: none;
}

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

.page-n-h .article-card .article-summary {
  font-size: 0.95em;
  color: var(--text-color-dark);
  margin: 0 20px 20px 20px;
}

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

.page-n-h .read-more-button:hover {
  background: #e6c200;
}

/* Section Final CTA */
.page-n-h .section-final-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #e6c200 100%);
  padding: 80px 0;
  color: var(--text-color-dark);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-n-h .main-heading {
    font-size: 3em;
  }
  .page-n-h .sub-heading {
    font-size: 1.4em;
  }
  .page-n-h .section-title {
    font-size: 2.5em;
  }
  .page-n-h .section-description {
    font-size: 1em;
  }
  .page-n-h .mobile-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-n-h section {
    padding: 40px 0;
  }
  .page-n-h .section-banner {
    padding: 60px 0;
  }
  .page-n-h .main-heading {
    font-size: 2.5em;
  }
  .page-n-h .sub-heading {
    font-size: 1.2em;
  }
  .page-n-h .section-title {
    font-size: 2em;
  }
  .page-n-h .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-n-h .cta-button.secondary {
    margin-left: 10px;
  }
  .page-n-h .feature-grid, .page-n-h .reason-grid, .page-n-h .game-card-grid, .page-n-h .promo-list, .page-n-h .article-grid {
    grid-template-columns: 1fr;
  }
  .page-n-h .steps-list li {
    padding-left: 60px;
  }
  .page-n-h .steps-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    left: 15px;
  }
  .page-n-h .step-title {
    font-size: 1.4em;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-n-h .main-heading {
    font-size: 2em;
  }
  .page-n-h .sub-heading {
    font-size: 1em;
  }
  .page-n-h .section-title {
    font-size: 1.8em;
  }
  .page-n-h .cta-button {
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }
  .page-n-h .section-final-cta .cta-button.secondary {
    margin-left: 0;
  }
  .page-n-h .article-card img {
    height: 150px;
  }
  .page-n-h .article-card .article-title {
    font-size: 1.2em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}