/* style/no-hu.css */

:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-text-color: #333333;
  --page-light-bg: #f5f5f5;
  --page-dark-bg: #1a1a1a;
  --page-button-login: #EA7C07;
}

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

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

/* Hero Banner Section */
.page-no-hu__hero-banner-section {
  padding-top: 10px; /* Small top padding, relying on shared body padding-top */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #3aaddc 100%); /* Lighter gradient for visual appeal */
  color: var(--page-secondary-color);
}

.page-no-hu__hero-banner-section .page-no-hu__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.page-no-hu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-secondary-color);
}

.page-no-hu__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-no-hu__hero-visual {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-no-hu__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-no-hu__btn--primary {
  background-color: var(--page-button-login); /* Login color */
  color: var(--page-secondary-color);
  border: 2px solid var(--page-button-login);
}

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

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

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

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

.page-no-hu__btn--large {
  padding: 16px 32px;
  font-size: 1.1rem;
  width: 100%; /* Ensure large buttons take full width on mobile */
  text-align: center;
}

/* General Section Styling */
.page-no-hu__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--page-primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-no-hu__section-subtitle {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

.page-no-hu__feature-item {
  background-color: var(--page-secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-no-hu__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--page-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%; /* Ensure image itself is round */
}

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

.page-no-hu__feature-description {
  font-size: 1rem;
  color: #666;
}

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

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

.page-no-hu__game-card {
  background-color: var(--page-secondary-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-no-hu__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: var(--page-primary-color);
}

.page-no-hu__game-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-no-hu__game-description {
  font-size: 0.95rem;
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-no-hu__game-card .page-no-hu__btn {
  margin: 0 15px 20px;
}

/* Guide Section */
.page-no-hu__guide-section {
  padding: 60px 0;
  background-color: var(--page-light-bg);
}

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

.page-no-hu__guide-steps {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-no-hu__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.page-no-hu__step-number {
  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.page-no-hu__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--page-primary-color);
  margin-bottom: 5px;
}

.page-no-hu__step-description {
  font-size: 1rem;
  color: #555;
}

.page-no-hu__guide-image {
  flex: 1 1 35%;
  min-width: 280px;
  text-align: center;
}

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

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

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

.page-no-hu__promo-card {
  background-color: var(--page-secondary-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-no-hu__promo-thumbnail {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-no-hu__promo-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-no-hu__promo-description {
  font-size: 0.95rem;
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-no-hu__promo-card .page-no-hu__btn {
  margin: 0 15px 20px;
}

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

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

.page-no-hu__faq-item {
  background-color: var(--page-secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-primary-color);
  cursor: pointer;
  list-style: none; /* Hide default marker for details summary */
}

.page-no-hu__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-no-hu__faq-qtext {
  flex-grow: 1;
}

.page-no-hu__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
  transform: rotate(45deg);
}

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

/* Final CTA Section */
.page-no-hu__cta-final-section {
  padding: 60px 0;
  background: linear-gradient(45deg, var(--page-primary-color), #3aaddc);
  color: var(--page-secondary-color);
  text-align: center;
}

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

.page-no-hu__cta-final-section .page-no-hu__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__cta-final-section .page-no-hu__cta-buttons {
  justify-content: center;
  margin-top: 30px;
}

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

/* General Mobile Styles */
@media (max-width: 768px) {
  .page-no-hu__container {
    padding: 0 15px !important;
  }

  .page-no-hu__hero-banner-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-no-hu__hero-banner-section .page-no-hu__container {
    flex-direction: column;
    padding-top: 30px;
    padding-bottom: 30px;
  }

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

  .page-no-hu__hero-image {
    order: 1;
    margin-bottom: 20px;
  }

  .page-no-hu__main-title {
    font-size: 2rem;
  }

  .page-no-hu__description {
    font-size: 1rem;
  }

  /* Buttons mobile adaptation */
  .page-no-hu__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-no-hu__btn,
  .page-no-hu__btn--primary,
  .page-no-hu__btn--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
  }

  .page-no-hu__btn--large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .page-no-hu__section-title {
    font-size: 1.6rem;
    padding-top: 30px;
  }

  .page-no-hu__section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

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

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

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

  .page-no-hu__game-thumbnail {
    height: 160px; /* Adjust height for mobile */
  }

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

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

  .page-no-hu__guide-content {
    flex-direction: column;
  }

  .page-no-hu__guide-steps {
    order: 2;
  }

  .page-no-hu__guide-image {
    order: 1;
    margin-bottom: 20px;
  }

  .page-no-hu__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .page-no-hu__step-number {
    margin-bottom: 10px;
  }

  .page-no-hu__step-title {
    font-size: 1.1rem;
  }

  .page-no-hu__step-description {
    font-size: 0.9rem;
  }

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

  .page-no-hu__promo-thumbnail {
    height: 180px; /* Adjust height for mobile */
  }

  .page-no-hu__promo-title {
    font-size: 1.2rem;
  }

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

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

  .page-no-hu__faq-toggle {
    font-size: 1.5rem;
  }

  .page-no-hu__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* Final CTA Section */
  .page-no-hu__cta-final-section {
    padding: 40px 0;
  }

  /* Universal image responsive for content area */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }

  /* Exception for icon-box-media img to keep it round */
  .page-no-hu__icon-box-media img {
    height: 100% !important; /* Override auto to maintain square shape */
    object-fit: cover !important;
  }
}