/* style/no-hu.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --text-main-color: #1F2D3D;
  --text-dark-color: #000000;
  --background-color-light: #F4F7FB;
  --card-bg-color: #FFFFFF;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  /* --header-offset is typically defined in shared.css, not here to avoid duplication */
}

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

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

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

.page-no-hu__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main-color);
}

/* Hero Section */
.page-no-hu__hero-section {
  background-color: var(--primary-color);
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  color: #ffffff;
  text-align: center;
}

.page-no-hu__hero-section .page-no-hu__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-no-hu__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-no-hu__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-no-hu__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure buttons don't exceed container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-no-hu__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-no-hu__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-no-hu__btn-secondary {
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-no-hu__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background: var(--primary-color);
  color: #ffffff;
}

/* General button sizes */
.page-no-hu__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-no-hu__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

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

.page-no-hu__feature-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-no-hu__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-no-hu__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  display: block;
}

.page-no-hu__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* Popular Games Section */
.page-no-hu__popular-games-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-no-hu__popular-games-section .page-no-hu__section-title,
.page-no-hu__popular-games-section .page-no-hu__section-intro {
  color: #ffffff;
}

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

.page-no-hu__game-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-no-hu__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-no-hu__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  display: block;
}

.page-no-hu__game-card .page-no-hu__card-title {
  color: var(--primary-color);
}

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

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

.page-no-hu__step-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-no-hu__step-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  display: block;
}

.page-no-hu__step-card .page-no-hu__card-title {
  color: var(--primary-color);
}

/* Tips Section */
.page-no-hu__tips-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-no-hu__tips-section .page-no-hu__section-title,
.page-no-hu__tips-section .page-no-hu__section-intro {
  color: #ffffff;
}

.page-no-hu__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-no-hu__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary-color);
  transition: background-color 0.3s ease;
}

.page-no-hu__tips-list li:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-no-hu__list-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-no-hu__list-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

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

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

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-dark-color);
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-no-hu__faq-item.is-active .page-no-hu__faq-toggle {
  transform: rotate(45deg);
}

.page-no-hu__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: var(--text-main-color);
}

.page-no-hu__faq-item.is-active .page-no-hu__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding-top: 15px;
  padding-bottom: 25px;
}

.page-no-hu__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion CTA Section */
.page-no-hu__conclusion-cta-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
}

.page-no-hu__conclusion-cta-section .page-no-hu__section-title,
.page-no-hu__conclusion-cta-section .page-no-hu__section-intro {
  color: #ffffff;
}

/* Responsive Images (General rule) */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */

/* Tablet styles */
@media (max-width: 1024px) {
  .page-no-hu__container {
    padding: 15px;
  }

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

  .page-no-hu__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-no-hu__description {
    font-size: 1.1em;
  }

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-no-hu__feature-grid, 
  .page-no-hu__games-grid, 
  .page-no-hu__steps-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .page-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-no-hu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section Mobile */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px !important;
  }

  .page-no-hu__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em) !important;
    margin-bottom: 15px !important;
  }

  .page-no-hu__description {
    font-size: 1em !important;
    margin-bottom: 25px !important;
  }

  .page-no-hu__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons Mobile */
  .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 !important;
    padding-right: 15px !important;
  }

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

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