.page-no-hu__hero-section {
  padding-top: 10px; /* Assuming body handles --header-offset */
  padding-bottom: 40px;
  background-color: #f8f8f8;
}

.page-no-hu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 24px;
}

.page-no-hu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-no-hu__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #017439;
  margin-bottom: 16px;
  max-width: 600px;
}

.page-no-hu__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #555555;
}

.page-no-hu__cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color */
  border: 2px solid #C30808;
}

.page-no-hu__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-no-hu__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-no-hu__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-no-hu__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-no-hu__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-no-hu__intro-section,
.page-no-hu__popular-games-section,
.page-no-hu__faq-section {
  padding: 60px 0;
}

.page-no-hu__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-no-hu__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-no-hu__section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-no-hu__dark-section .page-no-hu__section-title {
  color: #FFFFFF;
}

.page-no-hu__section-description {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-no-hu__dark-section .page-no-hu__section-description {
  color: #f0f0f0;
}

/* Feature Grid (Module 1) */
.page-no-hu__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-no-hu__feature-item:hover {
  transform: translateY(-5px);
}

.page-no-hu__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-no-hu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure image itself is clipped to circle */
}

.page-no-hu__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-no-hu__feature-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #666666;
}

/* How To Play Section */
.page-no-hu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #FFFFFF;
}

.page-no-hu__step-icon {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFF00; /* Custom color for step icon */
  margin-bottom: 15px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #C30808; /* Custom color for step icon background */
}

.page-no-hu__step-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-no-hu__step-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-no-hu__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Popular Games Section */
.page-no-hu__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-no-hu__game-card:hover {
  transform: translateY(-5px);
}

.page-no-hu__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-no-hu__game-card-content {
  padding: 20px;
}

.page-no-hu__game-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-no-hu__game-card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #666666;
  margin-bottom: 15px;
}

.page-no-hu__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background-color: #C30808;
  color: #FFFF00;
  border: 1px solid #C30808;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-no-hu__btn-small:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Tips Section */
.page-no-hu__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-no-hu__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  color: #FFFFFF;
}

.page-no-hu__tip-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-no-hu__tip-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}

/* FAQ Section */
.page-no-hu__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  list-style: none; /* For details/summary default styling */
}

.page-no-hu__faq-question::-webkit-details-marker {
  display: none;
}

.page-no-hu__faq-question::marker {
  display: none;
}

.page-no-hu__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #017439;
  margin-left: 15px;
}

.page-no-hu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-question {
  background-color: #e6f7ed;
}

/* Final CTA Section */
.page-no-hu__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-no-hu__cta-final-section .page-no-hu__section-title {
  color: #FFFFFF;
}

.page-no-hu__cta-final-section .page-no-hu__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__hero-container {
    padding: 30px 16px;
  }
  .page-no-hu__main-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  .page-no-hu__hero-description {
    font-size: 1rem;
  }
  .page-no-hu__section-title {
    font-size: 2rem;
  }
  .page-no-hu__section-description {
    font-size: 1rem;
  }
  .page-no-hu__tips-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 30px;
  }
  .page-no-hu__hero-container {
    flex-direction: column;
    padding: 20px 15px;
  }
  .page-no-hu__hero-content,
  .page-no-hu__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-no-hu__hero-image {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 20px;
  }
  .page-no-hu__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__main-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    text-align: center;
  }
  .page-no-hu__hero-description {
    text-align: center;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px !important;
    font-size: 1rem;
  }

  .page-no-hu__intro-section,
  .page-no-hu__how-to-play-section,
  .page-no-hu__popular-games-section,
  .page-no-hu__tips-section,
  .page-no-hu__faq-section,
  .page-no-hu__cta-final-section {
    padding: 40px 0;
  }

  .page-no-hu__content-area {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__section-title {
    font-size: 1.75rem;
  }
  .page-no-hu__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* Module 1: Feature Grid */
  .page-no-hu__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-no-hu__icon-box-media {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
  }

  /* How to Play */
  .page-no-hu__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-no-hu__step-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .page-no-hu__cta-center .page-no-hu__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Popular Games */
  .page-no-hu__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-no-hu__game-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    min-height: 200px; /* Ensure minimum size */
  }
  .page-no-hu__btn-small {
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-no-hu__cta-center .page-no-hu__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Tips Section */
  .page-no-hu__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ Section */
  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-no-hu__faq-toggle {
    font-size: 1.25rem;
  }
  .page-no-hu__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* All other images in content area */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all content containers are responsive */
  .page-no-hu__feature-item,
  .page-no-hu__step-item,
  .page-no-hu__game-card,
  .page-no-hu__tip-item,
  .page-no-hu__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}