/* Base Styles for page-no-hu */
.page-no-hu {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Matches body default background */
}

.page-no-hu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-no-hu__section {
  padding: 60px 0;
  text-align: center;
}

.page-no-hu__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #017439;
}

.page-no-hu__text-content {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
}

.page-no-hu__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-no-hu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures image covers area, might crop sides */
  object-position: center;
}

.page-no-hu__hero-content {
  position: relative; /* Not absolute to allow natural flow */
  z-index: 2;
  text-align: center;
  padding: 30px 15px;
  max-width: 900px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  margin-top: -80px; /* Pull content slightly over image for visual interest */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-no-hu__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-no-hu__description {
  font-size: 19px;
  margin-bottom: 30px;
  color: #555555;
}

.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-no-hu__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #C30808;
  color: #FFFF00;
  border: 1px solid #C30808;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-no-hu__btn-play {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  background: #017439;
  color: #FFFFFF;
  border: 1px solid #017439;
  transition: all 0.3s ease;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Image content */
.page-no-hu__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Dark background sections */
.page-no-hu__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-no-hu__dark-bg .page-no-hu__section-title {
  color: #ffffff;
}

.page-no-hu__dark-bg .page-no-hu__text-content {
  color: #f0f0f0;
}

.page-no-hu__dark-bg .page-no-hu__promo-item {
  color: #f0f0f0;
}

.page-no-hu__dark-bg a {
  color: #FFFF00; /* Yellow for links on dark green */
  text-decoration: underline;
}

.page-no-hu__dark-bg a:hover {
  color: #FFF;
}

/* Why Choose Section */
.page-no-hu__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-no-hu__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.page-no-hu__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-no-hu__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-no-hu__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-no-hu__game-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.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;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-no-hu__game-card-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Guide 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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-no-hu__step-number {
  width: 50px;
  height: 50px;
  background: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-no-hu__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-no-hu__step-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Promotions Section */
.page-no-hu__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-no-hu__promo-item {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-no-hu__promo-item::before {
  content: '✔';
  color: #FFFF00; /* Yellow checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Tips Section */
.page-no-hu__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-no-hu__tip-item {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-no-hu__tip-item::before {
  content: '💡';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-no-hu__tip-item a {
  color: #017439;
  text-decoration: underline;
}

/* FAQ Section */
details.page-no-hu__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-no-hu__faq-item summary.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-no-hu__faq-item summary.page-no-hu__faq-question:hover {
  background: #f5f5f5;
}

.page-no-hu__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #017439;
}

.page-no-hu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-no-hu__faq-item .page-no-hu__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: #555;
}

.page-no-hu__faq-answer p {
  margin-top: 0;
  font-size: 16px;
}

.page-no-hu__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Conclusion Section */
.page-no-hu__conclusion-section .page-no-hu__cta-buttons {
  margin-top: 40px;
}

/* General Image Styles (for all images within page-no-hu) */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__container {
    padding: 20px;
  }

  .page-no-hu__section-title {
    font-size: 32px;
  }

  .page-no-hu__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }

  .page-no-hu__hero-content {
    margin-top: -60px;
  }

  .page-no-hu__features-grid,
  .page-no-hu__game-cards-grid,
  .page-no-hu__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-no-hu__feature-title,
  .page-no-hu__game-card-title,
  .page-no-hu__step-title {
    font-size: 20px;
  }

  .page-no-hu__text-content,
  .page-no-hu__description,
  .page-no-hu__feature-description,
  .page-no-hu__game-card-description,
  .page-no-hu__step-description,
  .page-no-hu__promo-item,
  .page-no-hu__tip-item {
    font-size: 17px;
  }

  .page-no-hu__faq-qtext {
    font-size: 17px;
  }

  .page-no-hu__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 849px) {
  .page-no-hu__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important; /* Allow image to use its natural aspect ratio */
    max-height: 400px; /* Adjust max height for smaller screens */
  }
}

@media (max-width: 768px) {
  /* General container and section padding for mobile */
  .page-no-hu__container,
  .page-no-hu__section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-no-hu__section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-no-hu__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-no-hu__text-content {
    font-size: 16px;
  }

  /* Hero Section Mobile */
  .page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding */
    min-height: unset;
  }

  .page-no-hu__hero-image-wrapper {
    max-height: 300px;
  }

  .page-no-hu__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
  }

  .page-no-hu__hero-content {
    margin-top: -40px; /* Adjust overlap */
    padding: 20px 10px;
    max-width: calc(100% - 30px); /* Account for container padding */
  }

  .page-no-hu__main-title {
    font-size: clamp(22px, 6vw, 36px); /* Smaller on mobile */
    margin-bottom: 10px;
  }

  .page-no-hu__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu__btn-small,
  .page-no-hu__btn-play,
  .page-no-hu a[class*="button"],
  .page-no-hu a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Feature Grid Mobile */
  .page-no-hu__features-grid,
  .page-no-hu__game-cards-grid,
  .page-no-hu__steps-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-no-hu__feature-item,
  .page-no-hu__game-card,
  .page-no-hu__step-item {
    padding: 20px;
  }

  .page-no-hu__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-no-hu__feature-title,
  .page-no-hu__game-card-title,
  .page-no-hu__step-title {
    font-size: 20px;
  }

  .page-no-hu__game-card-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* Promo/Tips List Mobile */
  .page-no-hu__promo-list,
  .page-no-hu__tips-list {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }

  .page-no-hu__promo-item,
  .page-no-hu__tip-item {
    font-size: 16px;
    padding-left: 25px;
  }

  .page-no-hu__promo-item::before,
  .page-no-hu__tip-item::before {
    left: -5px;
  }

  /* FAQ Mobile */
  details.page-no-hu__faq-item {
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  details.page-no-hu__faq-item summary.page-no-hu__faq-question {
    padding: 15px;
  }
  .page-no-hu__faq-qtext {
    font-size: 16px;
  }
  .page-no-hu__faq-toggle {
    font-size: 20px;
  }
  details.page-no-hu__faq-item .page-no-hu__faq-answer {
    padding: 0 15px 15px;
  }
  .page-no-hu__faq-answer p {
    font-size: 14px;
  }

  /* All images within page-no-hu on mobile */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__image-content {
    margin: 20px auto !important;
  }
}