/* style/no-hu.css */

/* General Styles */
.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

.page-no-hu__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-no-hu__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-no-hu__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.2;
}

.page-no-hu__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

/* Buttons */
.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap */
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play,
.page-no-hu__btn-view-promo {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-no-hu__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-no-hu__hero-section .page-no-hu__btn-secondary {
  color: #FFFF00;
  border: 2px solid #FFFF00;
}

.page-no-hu__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-no-hu__game-card-link,
.page-no-hu__promo-card-link {
  text-decoration: none;
  color: inherit;
}

.page-no-hu__btn-play {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

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

.page-no-hu__btn-view-promo {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

.page-no-hu__btn-view-promo:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Hero Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding to respect shared header */
  padding-bottom: 60px;
  background-image: linear-gradient(to right, #017439, #005a2e);
}

.page-no-hu__hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.page-no-hu__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-no-hu__hero-description {
  font-size: 1.15em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-no-hu__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
}

/* Intro Section (Module 1) */
.page-no-hu__intro-section {
  padding: 60px 0;
}

.page-no-hu__icon-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-no-hu__icon-box {
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-no-hu__icon-box:hover {
  transform: translateY(-5px);
}

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

.page-no-hu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-no-hu__icon-box-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-no-hu__icon-box-text {
  font-size: 1em;
  color: #555555;
}

/* Game Showcase Section */
.page-no-hu__game-showcase-section {
  padding: 60px 0;
}

.page-no-hu__game-cards {
  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: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

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

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

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

.page-no-hu__game-card-text {
  font-size: 0.95em;
  color: #555555;
}

.page-no-hu__cta-full-width {
  text-align: center;
  margin-top: 50px;
}

/* Guide Section */
.page-no-hu__guide-section {
  padding: 60px 0;
}

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

.page-no-hu__guide-step {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-no-hu__guide-icon {
  font-size: 2em;
  font-weight: bold;
  color: #017439;
  background-color: #e6f7ed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.page-no-hu__guide-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-no-hu__guide-text {
  font-size: 1em;
  color: #555555;
}

/* Promo Section */
.page-no-hu__promo-section {
  padding: 60px 0;
}

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

.page-no-hu__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-no-hu__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-no-hu__promo-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-no-hu__promo-card-text {
  font-size: 0.95em;
  color: #555555;
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 60px 0;
}

.page-no-hu__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-no-hu__faq-item {
  background-color: #f9f9f9;
  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.15em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed;
  user-select: none; /* Prevent text selection on click */
  list-style: none; /* Hide default details marker */
}

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-no-hu__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

/* Final CTA Section */
.page-no-hu__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-no-hu__final-cta-content {
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-no-hu__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-no-hu__hero-content {
    text-align: center;
  }

  .page-no-hu__main-title {
    font-size: 3em;
  }

  .page-no-hu__icon-boxes, .page-no-hu__game-cards, .page-no-hu__guide-steps, .page-no-hu__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-no-hu__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-no-hu__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* HERO Section */
  .page-no-hu__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-no-hu__hero-container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .page-no-hu__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-no-hu__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu__btn-play,
  .page-no-hu__btn-view-promo {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Module 1 (Intro Section) */
  .page-no-hu__intro-section {
    padding: 30px 0;
  }

  .page-no-hu__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-no-hu__icon-box {
    max-width: 100%;
  }

  .page-no-hu__icon-box-media {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }

  /* Game Showcase Section */
  .page-no-hu__game-showcase-section {
    padding: 30px 0;
  }

  .page-no-hu__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__game-card-image {
    height: 180px;
  }

  /* Guide Section */
  .page-no-hu__guide-section {
    padding: 30px 0;
  }

  .page-no-hu__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promo Section */
  .page-no-hu__promo-section {
    padding: 30px 0;
  }

  .page-no-hu__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__promo-card-image {
    height: 180px;
  }

  /* FAQ Section */
  .page-no-hu__faq-section {
    padding: 30px 0;
  }

  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-no-hu__faq-toggle {
    font-size: 1.2em;
  }

  .page-no-hu__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Final CTA Section */
  .page-no-hu__final-cta-section {
    padding: 30px 0;
  }

  /* Image responsive override for all content images */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Exception for circular images to maintain aspect ratio */
  .page-no-hu__icon-box-media img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* Ensure all containers containing images are responsive */
  .page-no-hu__section,
  .page-no-hu__card,
  .page-no-hu__container,
  .page-no-hu__game-card,
  .page-no-hu__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}