/* style/n-h.css */

/* Variables for consistency */
:root {
  --page-n-h-primary-color: #FFD700; /* Gold */
  --page-n-h-secondary-color: #DC143C; /* Deep Red */
  --page-n-h-dark-text: #333333; /* Dark grey for text on light backgrounds */
  --page-n-h-light-text: #FFFFFF; /* White for text on dark backgrounds */
  --page-n-h-light-bg: #F8F8F8; /* Light background */
  --page-n-h-dark-bg: #222222; /* Dark background */
  --page-n-h-accent-blue: #0028ff; /* Complementary to primary */
  --page-n-h-accent-green: #23ebc3; /* Complementary to secondary */
}

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

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

.page-n-h__section-title {
  font-size: 2.5em;
  color: var(--page-n-h-secondary-color);
  text-align: center;
  margin-bottom: 40px;
  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(--page-n-h-primary-color);
  border-radius: 2px;
}

.page-n-h__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-n-h-dark-text);
}

/* Buttons */
.page-n-h__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-n-h__btn--primary {
  background-color: var(--page-n-h-primary-color);
  color: var(--page-n-h-dark-text);
  border: 2px solid var(--page-n-h-primary-color);
}

.page-n-h__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-n-h__btn--secondary {
  background-color: transparent;
  color: var(--page-n-h-primary-color);
  border: 2px solid var(--page-n-h-primary-color);
}

.page-n-h__btn--secondary:hover {
  background-color: var(--page-n-h-primary-color);
  color: var(--page-n-h-dark-text);
}

.page-n-h__btn--tertiary {
  background-color: var(--page-n-h-secondary-color);
  color: var(--page-n-h-light-text);
  border: 2px solid var(--page-n-h-secondary-color);
}

.page-n-h__btn--tertiary:hover {
  background-color: #b31030;
  border-color: #b31030;
}

.page-n-h__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 20px;
}

.page-n-h__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-n-h__hero-section {
  background: linear-gradient(135deg, var(--page-n-h-secondary-color) 0%, #a8102f 100%); /* Darker red gradient for hero bg */
  color: var(--page-n-h-light-text);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-n-h__hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

.page-n-h__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-n-h-primary-color); /* Gold title */
}

.page-n-h__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-n-h__hero-actions {
  display: flex;
  gap: 20px;
}

.page-n-h__hero-image-wrapper {
  z-index: 1;
}

.page-n-h__hero-image {
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Features Section */
.page-n-h__features-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

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

.page-n-h__feature-item:hover {
  transform: translateY(-5px);
}

.page-n-h__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: var(--page-n-h-primary-color);
  padding: 10px;
}

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

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

/* Game Types Section */
.page-n-h__game-types-section {
  padding: 80px 0;
  background-color: var(--page-n-h-light-bg);
}

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

.page-n-h__game-type-card {
  background-color: var(--page-n-h-light-text);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-n-h__game-type-card:hover {
  transform: translateY(-5px);
}

.page-n-h__game-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-n-h__game-type-title {
  font-size: 1.4em;
  color: var(--page-n-h-secondary-color);
  margin: 20px 0 10px;
  padding: 0 15px;
}

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

/* How to Play Section */
.page-n-h__how-to-play-section {
  padding: 80px 0;
  background-color: #f0f0f0;
  text-align: center;
}

.page-n-h__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-n-h__steps-list li {
  background-color: var(--page-n-h-light-text);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-n-h__guide-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Tips Section */
.page-n-h__tips-section {
  padding: 80px 0;
  background-color: var(--page-n-h-light-bg);
}

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

.page-n-h__tips-list li {
  background-color: var(--page-n-h-light-text);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

/* FAQ Section */
.page-n-h__faq-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-n-h__faq-item {
  background-color: var(--page-n-h-light-text);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.page-n-h__faq-question {
  font-size: 1.3em;
  color: var(--page-n-h-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-n-h__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-n-h__faq-question.active::after {
  transform: rotate(45deg);
}

.page-n-h__faq-answer {
  font-size: 1em;
  color: var(--page-n-h-dark-text);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  padding-top: 0;
}

.page-n-h__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  padding-top: 15px;
}

/* Call to Action Section */
.page-n-h__cta-section {
  background: linear-gradient(90deg, var(--page-n-h-primary-color), var(--page-n-h-secondary-color));
  padding: 80px 0;
  text-align: center;
  color: var(--page-n-h-light-text);
}

.page-n-h__cta-content {
  max-width: 800px;
}

.page-n-h__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--page-n-h-light-text);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-n-h__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-n-h__cta-section .page-n-h__btn--primary {
  background-color: var(--page-n-h-light-text);
  color: var(--page-n-h-secondary-color);
  border-color: var(--page-n-h-light-text);
}

.page-n-h__cta-section .page-n-h__btn--primary:hover {
  background-color: #f0f0f0;
  color: var(--page-n-h-secondary-color);
  border-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-n-h__hero-section {
    flex-direction: column;
    padding: 80px 20px;
    text-align: center;
  }

  .page-n-h__hero-content {
    max-width: 100%;
  }

  .page-n-h__hero-image {
    max-width: 100%;
    margin-top: 40px;
  }

  .page-n-h__hero-actions {
    justify-content: center;
  }

  .page-n-h__hero-title {
    font-size: 2.8em;
  }

  .page-n-h__hero-description,
  .page-n-h__cta-description {
    font-size: 1.1em;
  }

  .page-n-h__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-n-h__hero-title {
    font-size: 2.2em;
  }

  .page-n-h__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-n-h__btn {
    width: 100%;
  }

  .page-n-h__section-title {
    font-size: 1.8em;
  }

  .page-n-h__feature-item,
  .page-n-h__game-type-card,
  .page-n-h__steps-list li,
  .page-n-h__tips-list li {
    padding: 25px;
  }

  .page-n-h__feature-title,
  .page-n-h__game-type-title,
  .page-n-h__step-title,
  .page-n-h__tip-title {
    font-size: 1.3em;
  }

  .page-n-h__cta-title {
    font-size: 2em;
  }

  .page-n-h__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-n-h__hero-title {
    font-size: 1.8em;
  }

  .page-n-h__hero-description {
    font-size: 1em;
  }

  .page-n-h__section-title {
    font-size: 1.5em;
  }

  .page-n-h__cta-title {
    font-size: 1.8em;
  }

  .page-n-h__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }
}