/* style/no-hu.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-yellow: #FFFF00;
  /* Assuming light body background if not explicitly set by shared */
  --body-bg: var(--secondary-color);
}

.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--body-bg);
}

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

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

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

.page-no-hu__text-light {
  color: var(--text-light);
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

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

.page-no-hu__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-no-hu__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-no-hu__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

/* Hero Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding as per requirement */
  padding-bottom: 60px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-no-hu__hero-container {
  display: flex;
  flex-wrap: wrap-reverse; /* Image first on desktop, content first on mobile */
  align-items: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
}

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

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

.page-no-hu__hero-content {
  flex: 1 1 40%;
  min-width: 300px;
}

.page-no-hu__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-no-hu__hero-description {
  font-size: 1.15em;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.page-no-hu__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Intro Features Section (Module 1) */
.page-no-hu__intro-features-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
}

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

.page-no-hu__feature-item {
  text-align: center;
  padding: 25px;
  background-color: var(--secondary-color);
  border-radius: 12px;
  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: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-no-hu__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-no-hu__feature-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Game Showcase Section */
.page-no-hu__game-showcase-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-no-hu__game-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-no-hu__game-trial-frame {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
  margin-bottom: 15px;
}

.page-no-hu__game-card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-no-hu__view-all-games {
  text-align: center;
}

/* How to Play Section */
.page-no-hu__how-to-play-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
}

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

.page-no-hu__guide-step-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-no-hu__guide-step-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.page-no-hu__guide-step-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-no-hu__guide-step-text {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 15px;
}

/* Promotion Section */
.page-no-hu__promo-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-no-hu__promo-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-no-hu__promo-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.page-no-hu__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-no-hu__promo-text {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding: 0 15px;
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
}

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

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

.page-no-hu__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none;
  background-color: #f8f8f8;
  transition: background-color 0.3s ease;
}

.page-no-hu__faq-item summary:hover {
  background-color: #f0f0f0;
}

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

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

.page-no-hu__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-dark);
  border-top: 1px solid #eee;
}

/* Final CTA Section */
.page-no-hu__cta-final-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-no-hu__cta-final-section .page-no-hu__section-title {
  color: var(--text-light);
}

.page-no-hu__cta-final-section .page-no-hu__section-description {
  color: var(--text-light);
}

.page-no-hu__cta-final-section .page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

  .page-no-hu__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-no-hu__hero-image-wrapper {
    flex: 1 1 100%;
  }

  .page-no-hu__hero-cta-buttons {
    justify-content: center;
  }

  .page-no-hu__section-title {
    font-size: 2em;
  }

  .page-no-hu__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* General mobile overrides */
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-no-hu__container {
    padding: 15px;
  }

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

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

  .page-no-hu__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-no-hu__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Buttons - forced mobile adaptation */
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .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;
    padding-right: 15px;
  }

  .page-no-hu__hero-cta-buttons,
  .page-no-hu__cta-final-section .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Section Titles & Descriptions */
  .page-no-hu__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  /* Intro Features Section (Module 1) */
  .page-no-hu__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__feature-item {
    padding: 20px;
  }

  .page-no-hu__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

  .page-no-hu__feature-title {
    font-size: 1.3em;
  }

  /* Game Showcase Section */
  .page-no-hu__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__game-card-title {
    font-size: 1.2em;
  }

  /* How to Play Section */
  .page-no-hu__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__guide-step-title {
    font-size: 1.3em;
  }

  /* Promotion Section */
  .page-no-hu__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__promo-title {
    font-size: 1.3em;
  }

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

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

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

  /* Universal Image Responsive */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-no-hu__section,
  .page-no-hu__card,
  .page-no-hu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}