/* style/no-hu.css */

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

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

/* --- Hero Section --- */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #e0f2f7, var(--page-bg-light));
  color: var(--page-text-dark);
}

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

.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.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-text-dark);
}

.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: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- General Buttons --- */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-no-hu__btn-play {
  background-color: var(--btn-login-color);
  color: var(--page-text-light);
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
}

.page-no-hu__btn-play:hover {
  background-color: darken(var(--btn-login-color), 10%);
}

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

.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;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--page-text-dark);
}

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

.page-no-hu__dark-bg {
  background-color: var(--page-bg-dark);
  color: var(--page-text-light);
}

.page-no-hu__light-bg {
  background-color: var(--page-bg-light);
  color: var(--page-text-dark);
}

/* --- Intro Section (Module 1) --- */
.page-no-hu__intro-section {
  padding: 80px 0;
}

.page-no-hu__features-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-bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: var(--page-text-dark);
}

.page-no-hu__feature-item:hover {
  transform: translateY(-5px);
}

.page-no-hu__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  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;
  border-radius: 50%;
  display: block;
}

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

.page-no-hu__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-text-dark);
}

/* --- Game Categories Section --- */
.page-no-hu__game-categories-section {
  padding: 80px 0;
  background-color: #f5fafd; /* Light blue tint */
}

.page-no-hu__game-tabs {
  margin-top: 40px;
}

.page-no-hu__tab-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-no-hu__tab-button {
  background-color: var(--page-bg-light);
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-no-hu__tab-button.is-active,
.page-no-hu__tab-button:hover {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
}

.page-no-hu__game-panel {
  display: none;
}

.page-no-hu__game-panel.is-active {
  display: block;
}

.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-bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--page-text-dark);
}

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

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

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

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

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

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

.page-no-hu__guide-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--page-text-light);
}

.page-no-hu__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-no-hu__guide-list li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  color: var(--page-text-light);
}

.page-no-hu__guide-list li::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--btn-login-color);
  color: var(--page-text-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.page-no-hu__guide-list strong {
  color: var(--page-secondary-color);
}

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

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

/* --- Tips Section --- */
.page-no-hu__tips-section {
  padding: 80px 0;
}

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

.page-no-hu__tip-item {
  background-color: var(--page-bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: var(--page-text-dark);
}

.page-no-hu__tip-item:hover {
  transform: translateY(-5px);
}

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

.page-no-hu__tip-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-text-dark);
}

.page-no-hu__tips-image-container {
  text-align: center;
}

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

/* --- Promotion Section --- */
.page-no-hu__promo-section {
  padding: 80px 0;
  background-color: var(--page-bg-dark);
}

.page-no-hu__promo-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background-color: var(--page-bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--page-text-dark);
}

.page-no-hu__promo-image {
  flex: 1 1 45%;
  min-width: 280px;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.page-no-hu__promo-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-primary-color);
}

.page-no-hu__promo-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-text-dark);
}

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

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

.page-no-hu__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: var(--page-bg-light);
  color: var(--page-text-dark);
}

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

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

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

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

/* --- Bottom CTA Section --- */
.page-no-hu__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--page-bg-dark);
  text-align: center;
}

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

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

/* --- Global Image & Container Responsiveness --- */
.page-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-no-hu__section,
.page-no-hu__container,
.page-no-hu__card,
.page-no-hu__game-card,
.page-no-hu__feature-item,
.page-no-hu__tip-item,
.page-no-hu__promo-card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
  .page-no-hu__hero-container {
    padding: 40px 20px;
  }
  .page-no-hu__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-no-hu__hero-description {
    font-size: 1.05rem;
  }
  .page-no-hu__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-no-hu__section-description {
    font-size: 1rem;
  }
  .page-no-hu__promo-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Enforce small top padding */
    padding-bottom: 40px;
  }
  .page-no-hu__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }
  .page-no-hu__hero-content,
  .page-no-hu__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-no-hu__hero-title {
    text-align: center;
    font-size: 2.2rem; /* Adjusted for mobile */
  }
  .page-no-hu__hero-description {
    text-align: center;
    font-size: 1rem;
  }
  .page-no-hu__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* General Buttons Mobile */
  .page-no-hu__btn-primary,
  .page-no-hu__btn-secondary,
  .page-no-hu__btn-play,
  .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-buttons,
  .page-no-hu__tab-nav {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 10px;
  }

  /* Intro Section (Module 1) */
  .page-no-hu__intro-section {
    padding: 60px 0;
  }
  .page-no-hu__content-area {
    padding: 30px 15px;
  }
  .page-no-hu__features-grid {
    grid-template-columns: 1fr;
  }
  .page-no-hu__icon-box-media {
    width: 150px;
    height: 150px;
  }

  /* Game Categories Section */
  .page-no-hu__game-categories-section {
    padding: 60px 0;
  }
  .page-no-hu__tab-nav {
    flex-wrap: wrap;
  }
  .page-no-hu__tab-button {
    flex: 1 1 auto;
    margin: 5px 0; /* Add margin for stacking */
  }
  .page-no-hu__game-grid {
    grid-template-columns: 1fr;
  }
  .page-no-hu__game-image {
    height: 180px;
  }

  /* How To Play Section */
  .page-no-hu__how-to-play-section {
    padding: 60px 0;
  }
  .page-no-hu__guide-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-no-hu__guide-text,
  .page-no-hu__guide-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-no-hu__guide-text p,
  .page-no-hu__guide-list li {
    font-size: 1rem;
  }

  /* Tips Section */
  .page-no-hu__tips-section {
    padding: 60px 0;
  }
  .page-no-hu__tips-grid {
    grid-template-columns: 1fr;
  }

  /* Promotion Section */
  .page-no-hu__promo-section {
    padding: 60px 0;
  }
  .page-no-hu__promo-card {
    flex-direction: column;
  }
  .page-no-hu__promo-image,
  .page-no-hu__promo-content {
    flex: 1 1 100%;
    min-width: unset;
    padding: 20px;
  }
  .page-no-hu__promo-title {
    font-size: 1.5rem;
  }

  /* FAQ Section */
  .page-no-hu__faq-section {
    padding: 60px 0;
  }
  .page-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  .page-no-hu__faq-answer {
    padding: 0 20px 15px;
  }

  /* Bottom CTA Section */
  .page-no-hu__cta-bottom-section {
    padding: 60px 0;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column;
  }

  /* Universal Image & Container Mobile Adaptation */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-no-hu__section,
  .page-no-hu__container,
  .page-no-hu__card,
  .page-no-hu__game-card,
  .page-no-hu__feature-item,
  .page-no-hu__tip-item,
  .page-no-hu__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific exception for round images to maintain aspect ratio */
  .page-no-hu__icon-box-media {
    width: 150px !important;
    height: 150px !important;
    margin: 0 auto 20px;
  }
}