/* style/no-hu.css */

:root {
  --page-primary-color: #017439;
  --page-secondary-color: #FFFFFF;
  --page-text-dark: #333333;
  --page-text-light: #ffffff;
  --page-button-register: #C30808;
  --page-button-login: #C30808;
  --page-button-font-color: #FFFF00;
  --page-background-color: #FFFFFF;
}

.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-text-dark); /* Default text color for light background */
  background-color: var(--page-background-color);
}

/* --- Hero Section --- */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--page-primary-color); /* Dark background for hero */
  color: var(--page-text-light);
}

.page-no-hu__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.page-no-hu__main-title {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-button-font-color); /* Yellow for title on dark green */
}

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

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

.page-no-hu__cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-no-hu__btn-primary {
  background-color: var(--page-button-register); /* Red for primary CTA */
  color: var(--page-button-font-color); /* Yellow text for contrast */
  border: 2px solid var(--page-button-register);
}

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

.page-no-hu__btn-secondary {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color); /* Green text on white */
  border: 2px solid var(--page-primary-color);
}

.page-no-hu__btn-secondary:hover {
  background-color: #f0f0f0;
}

.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: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

/* --- General Section Styles --- */
.page-no-hu__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

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

.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(--page-text-dark);
}

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

/* --- Intro Section (Feature Grid) --- */
.page-no-hu__intro-section {
  padding: 60px 0;
  background-color: var(--page-background-color);
}

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

.page-no-hu__feature-item {
  background-color: var(--page-secondary-color);
  padding: 30px;
  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: 240px; /* Maintain square aspect ratio */
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--page-primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-no-hu__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-primary-color);
}

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

/* --- Game List Section --- */
.page-no-hu__game-list-section {
  padding: 60px 0;
  background-color: var(--page-primary-color); /* Dark background */
  color: var(--page-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(--page-secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

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

.page-no-hu__game-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.page-no-hu__game-card-title a {
  color: var(--page-primary-color);
  text-decoration: none;
}

.page-no-hu__game-card-title a:hover {
  text-decoration: underline;
}

.page-no-hu__game-card-text {
  font-size: 0.95em;
  color: var(--page-text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  align-self: flex-start;
}

.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(--page-background-color);
}

.page-no-hu__guide-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-no-hu__guide-image-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
}

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

.page-no-hu__guide-steps {
  flex: 1 1 45%;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.page-no-hu__guide-step-item {
  margin-bottom: 25px;
  padding-left: 15px;
  position: relative;
}

.page-no-hu__guide-step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: -30px;
  top: 0;
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-no-hu__guide-steps {
  counter-reset: step-counter;
}

.page-no-hu__guide-step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--page-primary-color);
}

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

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

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

.page-no-hu__promo-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.page-no-hu__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-no-hu__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 25px;
}

.page-no-hu__promo-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-button-font-color); /* Yellow checkmark */
  font-weight: bold;
}

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

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

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

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

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

.page-no-hu__faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-primary-color);
  cursor: pointer;
  list-style: none; /* Remove default marker for details */
}

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

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

.page-no-hu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-text-dark);
}

/* --- Responsive Styles --- */

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

/* All containers should be responsive */
.page-no-hu__hero-container,
.page-no-hu__content-area,
.page-no-hu__cta-buttons,
.page-no-hu__feature-grid,
.page-no-hu__game-grid,
.page-no-hu__guide-grid,
.page-no-hu__promo-flex,
.page-no-hu__faq-list {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-no-hu {
    font-size: 15px;
    line-height: 1.5;
  }

  /* HERO Section */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }

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

  .page-no-hu__main-title {
    font-size: 2.2em !important;
    text-align: center;
  }

  .page-no-hu__hero-description {
    font-size: 1em !important;
    text-align: center;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px; /* Add padding to buttons container for mobile */
  }

  .page-no-hu__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-no-hu__hero-content,
  .page-no-hu__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

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

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

  /* Intro Section (Feature Grid) */
  .page-no-hu__intro-section {
    padding: 40px 0;
  }

  .page-no-hu__content-area {
    padding: 30px 15px;
  }

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

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

  .page-no-hu__icon-box-media {
    width: 150px !important; /* Maintain square for mobile */
    height: 150px !important;
    border-width: 3px;
  }

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

  /* Game List Section */
  .page-no-hu__game-list-section {
    padding: 40px 0;
  }

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

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

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

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

  .page-no-hu__btn-small {
    align-self: stretch; /* Make small buttons full width */
    text-align: center;
  }

  /* How-To-Play Section */
  .page-no-hu__how-to-play-section {
    padding: 40px 0;
  }

  .page-no-hu__guide-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-no-hu__guide-image-wrapper,
  .page-no-hu__guide-steps {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-no-hu__guide-step-item {
    padding-left: 0;
  }

  .page-no-hu__guide-step-item::before {
    position: static;
    margin-right: 10px;
    display: inline-flex;
    vertical-align: middle;
  }

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

  .page-no-hu__guide-step-text {
    margin-top: 10px;
  }

  .page-no-hu__cta-center {
    margin-top: 30px;
  }

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

  .page-no-hu__promo-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-no-hu__promo-content,
  .page-no-hu__promo-image-wrapper {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-no-hu__promo-list li {
    font-size: 1em;
  }

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

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

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

  /* Force responsive for all images and containers */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-no-hu__hero-container,
  .page-no-hu__content-area,
  .page-no-hu__cta-buttons,
  .page-no-hu__feature-grid,
  .page-no-hu__game-grid,
  .page-no-hu__guide-grid,
  .page-no-hu__promo-flex,
  .page-no-hu__faq-list,
  .page-no-hu__game-card,
  .page-no-hu__feature-item,
  .page-no-hu__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific override for circular images to maintain aspect ratio */
  .page-no-hu__icon-box-media {
    width: 150px !important;
    height: 150px !important;
  }
}