/* style/no-hu.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--background-color); /* Assuming light background from shared.css */
}

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

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

.page-no-hu__section-title--white {
  color: #ffffff;
}

.page-no-hu__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__section-description--white {
  color: #f0f0f0;
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  border: none;
}

.page-no-hu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared */
  padding-bottom: 60px;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-no-hu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
  box-sizing: border-box;
}

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

.page-no-hu__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-no-hu__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

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

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

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

.page-no-hu__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 0 0 8px rgba(255, 90, 79, 0.3);
}

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

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

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

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

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

.page-no-hu__tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
}

.page-no-hu__tab-button {
  background: none;
  border: none;
  color: #f0f0f0;
  font-size: 1.2em;
  font-weight: bold;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.page-no-hu__tab-button:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-no-hu__tab-button.is-active {
  color: #ffffff;
  background-color: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-no-hu__game-panel {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.page-no-hu__game-card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

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

.page-no-hu__game-card-title {
  font-size: 1.3em;
  color: var(--primary-color);
  padding: 15px;
  margin-bottom: 0;
}

.page-no-hu__game-card iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

.page-no-hu__game-card-btn {
  margin: 15px;
  padding: 10px 15px;
  width: calc(100% - 30px);
}

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

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

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

.page-no-hu__content-text p {
  margin-bottom: 20px;
}

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

.page-no-hu__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23E53935"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

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

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

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

.page-no-hu__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-no-hu__guide-step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-no-hu__guide-item p {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__guide-image-container {
  margin-top: 50px;
  text-align: center;
}

.page-no-hu__guide-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

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

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

.page-no-hu__promo-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FF5A4F"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

.page-no-hu__faq-list {
  margin-top: 40px;
}

.page-no-hu__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-no-hu__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #ffffff;
  position: relative;
}

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

.page-no-hu__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-no-hu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
  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 25px;
  color: #f0f0f0;
  font-size: 1em;
}

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

.page-no-hu__faq-cta {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-no-hu__conclusion-cta {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-no-hu__hero-container,
  .page-no-hu__content-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-no-hu__hero-content,
  .page-no-hu__hero-image,
  .page-no-hu__content-text,
  .page-no-hu__content-image {
    flex: 1 1 100%;
  }

  .page-no-hu__cta-buttons {
    justify-content: center;
  }

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

  .page-no-hu__icon-box-media {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* Fixed header spacing for first section */
  .page-no-hu__hero-section {
    padding-top: 10px !important;
  }

  /* General mobile container padding */
  .page-no-hu__container,
  .page-no-hu__hero-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* H1 font size */
  .page-no-hu__hero-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  /* Section titles */
  .page-no-hu__section-title {
    font-size: 1.8em;
  }

  /* Buttons */
  .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;
    padding-right: 15px;
  }
  
  /* Button containers mobile adaptation */
  .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    gap: 10px;
  }

  /* Module 1 circular images */
  .page-no-hu__icon-box-media {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 16px !important;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(255, 90, 79, 0.2);
  }

  /* Game tabs layout */
  .page-no-hu__tab-nav {
    flex-direction: column;
    gap: 10px;
    border-bottom: none;
    padding-bottom: 0;
  }

  .page-no-hu__tab-button {
    width: 100%;
    font-size: 1.1em;
  }

  .page-no-hu__game-list {
    grid-template-columns: 1fr;
  }

  .page-no-hu__game-card img {
    
  }

  /* Content sections padding and font size */
  .page-no-hu__intro-section,
  .page-no-hu__game-tabs-section,
  .page-no-hu__benefits-section,
  .page-no-hu__guide-section,
  .page-no-hu__promo-section,
  .page-no-hu__faq-section,
  .page-no-hu__conclusion-section {
    padding: 30px 0;
  }

  .page-no-hu__hero-description,
  .page-no-hu__section-description,
  .page-no-hu__feature-text,
  .page-no-hu__content-text p,
  .page-no-hu__benefits-list li,
  .page-no-hu__guide-item p,
  .page-no-hu__promo-list li,
  .page-no-hu__faq-answer p {
    font-size: 0.95em;
  }

  /* General images */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ toggle */
  .page-no-hu__faq-item summary {
    padding: 15px 20px;
    font-size: 1.05em;
  }

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