/* style/no-hu.css */

:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-text-dark: #333333;
  --page-text-light: #ffffff;
  --page-bg-light: #f8f9fa;
  --page-bg-dark: #26A9E0;
  --page-btn-login: #EA7C07;
}

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

.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 60px;
  background: var(--page-secondary-color);
  color: var(--page-text-dark);
}

.page-no-hu__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 30px;
}

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

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

.page-no-hu__hero-description {
  font-size: 1.125rem;
  margin-bottom: 30px;
}

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

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

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

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-no-hu__btn-primary:hover {
  background: darken(var(--page-primary-color), 10%);
  border-color: darken(var(--page-primary-color), 10%);
}

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

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

.page-no-hu__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-primary-color);
}

.page-no-hu__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--page-text-dark);
}

.page-no-hu__intro-section {
  padding: 80px 0;
  background: var(--page-bg-light);
}

.page-no-hu__intro-container,
.page-no-hu__popular-games-container,
.page-no-hu__guide-container,
.page-no-hu__tips-container,
.page-no-hu__faq-container,
.page-no-hu__cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.page-no-hu__icon-box {
  background: var(--page-secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-no-hu__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--page-primary-color);
  box-shadow: 0 0 0 4px rgba(38, 169, 224, 0.3);
}

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

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

.page-no-hu__icon-box-text {
  font-size: 1rem;
  color: var(--page-text-dark);
  margin-bottom: 20px;
}

.page-no-hu__btn-text {
  color: var(--page-primary-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.page-no-hu__btn-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--page-primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.page-no-hu__btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-no-hu__popular-games-section {
  padding: 80px 0;
  background: var(--page-bg-dark);
  color: var(--page-text-light);
}

.page-no-hu__popular-games-section .page-no-hu__section-title,
.page-no-hu__popular-games-section .page-no-hu__section-description {
  color: var(--page-text-light);
}

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

.page-no-hu__game-card {
  background: var(--page-secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--page-text-dark);
}

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

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

.page-no-hu__game-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 20px 20px 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.95rem;
  margin: 0 20px 20px;
  color: var(--page-text-dark);
}

.page-no-hu__game-card .page-no-hu__btn-primary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  text-align: center;
}

.page-no-hu__guide-section {
  padding: 80px 0;
  background: var(--page-bg-light);
}

.page-no-hu__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-no-hu__guide-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.page-no-hu__guide-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-primary-color);
  min-width: 50px;
  text-align: center;
  line-height: 1;
}

.page-no-hu__guide-content {
  flex: 1;
}

.page-no-hu__guide-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-primary-color);
}

.page-no-hu__guide-text {
  font-size: 1rem;
  margin-bottom: 15px;
}

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

.page-no-hu__tips-section {
  padding: 80px 0;
  background: var(--page-bg-dark);
  color: var(--page-text-light);
}

.page-no-hu__tips-section .page-no-hu__section-title,
.page-no-hu__tips-section .page-no-hu__section-description {
  color: var(--page-text-light);
}

.page-no-hu__tips-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-no-hu__tips-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--page-secondary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: var(--page-text-light);
}

.page-no-hu__tips-item strong {
  color: var(--page-secondary-color);
}

.page-no-hu__cta-buttons--center {
  text-align: center;
}

.page-no-hu__faq-section {
  padding: 80px 0;
  background: var(--page-bg-light);
}

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

.page-no-hu__faq-item {
  background: var(--page-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px 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.15rem;
  font-weight: 600;
  color: var(--page-primary-color);
  cursor: pointer;
  list-style: none;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-no-hu__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  pointer-events: none; /* Ensure click on summary opens/closes details, not just the toggle */
}

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

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

.page-no-hu__faq-answer a {
  color: var(--page-primary-color);
  text-decoration: underline;
}

.page-no-hu__cta-section {
  padding: 80px 0;
  background: var(--page-bg-dark);
  color: var(--page-text-light);
  text-align: center;
}

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

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

/* General image responsiveness */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    padding-bottom: 40px;
  }

  .page-no-hu__hero-container {
    flex-direction: column-reverse; /* Image above content on mobile */
    padding: 30px 15px;
    gap: 20px;
  }

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

  .page-no-hu__hero-title {
    font-size: 2rem;
    text-align: center;
  }

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

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

  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

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

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

  .page-no-hu__intro-section,
  .page-no-hu__popular-games-section,
  .page-no-hu__guide-section,
  .page-no-hu__tips-section,
  .page-no-hu__faq-section,
  .page-no-hu__cta-section {
    padding: 50px 0;
  }

  .page-no-hu__intro-container,
  .page-no-hu__popular-games-container,
  .page-no-hu__guide-container,
  .page-no-hu__tips-container,
  .page-no-hu__faq-container,
  .page-no-hu__cta-container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

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

  .page-no-hu__game-card-title {
    font-size: 1.2rem;
    margin: 15px 15px 8px;
  }

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

  .page-no-hu__game-card .page-no-hu__btn-primary {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
  }

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

  .page-no-hu__guide-number {
    font-size: 2rem;
    min-width: unset;
  }

  .page-no-hu__guide-title {
    font-size: 1.4rem;
  }

  .page-no-hu__guide-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-no-hu__tips-item {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .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.95rem;
  }

  /* General image and container rules for mobile */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure images within content areas are responsive */
.page-no-hu__content-area img, .page-no-hu__guide-content img, .page-no-hu__game-card-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Specific override for icon-box-media img to maintain square aspect ratio on mobile */
@media (max-width: 768px) {
  .page-no-hu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
}