/* style/no-hu.css */
/* Base styles for .page-no-hu */
.page-no-hu {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F3F8FF); /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
}

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

.page-no-hu__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main, #F3F8FF);
  line-height: 1.2;
}

.page-no-hu__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.6;
}

/* HERO Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy, #08162B); /* Ensure a consistent dark background for the section */
}

.page-no-hu__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 16px;
}

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

.page-no-hu__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold, #F2C14E); /* Use gold for H1 for emphasis */
  margin-bottom: 20px;
  /* No fixed font-size for H1 */
  font-size: clamp(30px, 4vw, 50px); /* Responsive H1 font-size */
}

.page-no-hu__hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 30px;
}

.page-no-hu__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-no-hu__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-no-hu__btn--secondary:hover {
  background: var(--gold, #F2C14E);
  color: var(--deep-navy, #08162B);
  transform: translateY(-2px);
}

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

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

/* Intro Section (Module 1 equivalent) */
.page-no-hu__intro-section {
  padding: 60px 0;
  background-color: var(--card-bg, #10233F);
}

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

.page-no-hu__feature-item {
  text-align: center;
  background-color: var(--deep-navy, #08162B);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-no-hu__icon-box-media {
  width: 200px; /* Fixed width for round image */
  height: 200px; /* Fixed height for round image */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-color, #244D84);
  box-shadow: 0 0 0 8px rgba(79, 168, 255, 0.3); /* Glow effect */
}

.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: 24px;
  font-weight: 600;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
}

.page-no-hu__feature-text {
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.5;
}

/* Game Lobbies Section */
.page-no-hu__game-lobbies-section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B);
}

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

.page-no-hu__lobby-card {
  background-color: var(--card-bg, #10233F);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-no-hu__lobby-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-no-hu__lobby-card h3,
.page-no-hu__lobby-card p,
.page-no-hu__lobby-card a {
  padding: 0 20px;
}

.page-no-hu__lobby-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main, #F3F8FF);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-no-hu__lobby-text {
  font-size: 15px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1; /* Make text take available space */
}

.page-no-hu__btn--small {
  padding: 10px 20px;
  font-size: 14px;
  margin-bottom: 20px; /* Space from bottom of card */
  align-self: center; /* Center the button */
}

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

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

.page-no-hu__guide-step {
  background-color: var(--deep-navy, #08162B);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-no-hu__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 5px rgba(79, 168, 255, 0.3);
}

.page-no-hu__step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
}

.page-no-hu__step-text {
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.5;
}

.page-no-hu__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Tips Section */
.page-no-hu__tips-section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B);
}

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

.page-no-hu__tips-list li {
  font-size: 18px;
  color: var(--text-main, #F3F8FF);
  margin-bottom: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.page-no-hu__list-icon {
  color: var(--gold, #F2C14E);
  font-weight: 700;
  font-size: 24px;
  margin-right: 15px;
  line-height: 1;
}

.page-no-hu__tips-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Promo Section */
.page-no-hu__promo-section {
  padding: 60px 0;
  background-color: var(--card-bg, #10233F);
}

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

.page-no-hu__promo-card {
  background-color: var(--deep-navy, #08162B);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-no-hu__promo-card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-no-hu__promo-card-text {
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-no-hu__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-no-hu__faq-section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B);
}

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

.page-no-hu__faq-item {
  background-color: var(--card-bg, #10233F);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color, #244D84);
}

.page-no-hu__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: var(--text-main, #F3F8FF);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

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

.page-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

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

.page-no-hu__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

.page-no-hu__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.6;
}

/* General image styling for content sections */
.page-no-hu img:not(.page-no-hu__icon-box-media img) {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-no-hu__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-no-hu__hero-content {
    order: 2; /* Content below image */
    width: 100%;
    min-width: unset;
  }

  .page-no-hu__hero-title {
    font-size: clamp(28px, 8vw, 40px); /* Adjust H1 for mobile */
    text-align: center;
  }

  .page-no-hu__hero-description {
    font-size: 16px;
    text-align: center;
  }

  .page-no-hu__cta-group {
    flex-direction: column; /* Buttons stack vertically */
    width: 100%;
    gap: 15px;
  }

  .page-no-hu__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-no-hu__hero-image {
    order: 1; /* Image above content */
    width: 100%;
    min-width: unset;
  }

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

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

  .page-no-hu__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

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

  .page-no-hu__features-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    margin-top: 30px;
  }

  .page-no-hu__feature-item {
    padding: 25px 15px;
  }

  .page-no-hu__icon-box-media {
    width: 150px; /* Still round, smaller */
    height: 150px;
    margin-bottom: 15px;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(79, 168, 255, 0.3);
  }

  .page-no-hu__feature-title {
    font-size: 20px;
  }

  .page-no-hu__feature-text {
    font-size: 15px;
  }

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

  .page-no-hu__lobbies-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    margin-top: 30px;
  }

  .page-no-hu__lobby-card {
    padding-bottom: 15px; /* Adjust padding for small button */
  }

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

  .page-no-hu__lobby-title {
    font-size: 20px;
    margin-top: 15px;
  }

  .page-no-hu__lobby-text {
    font-size: 14px;
  }

  .page-no-hu__btn--small {
    margin-bottom: 0; /* Remove extra space for small button on mobile */
  }

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

  .page-no-hu__guide-steps {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-no-hu__guide-step {
    padding: 25px;
  }

  .page-no-hu__step-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-no-hu__step-title {
    font-size: 18px;
  }

  .page-no-hu__step-text {
    font-size: 15px;
  }

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

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

  .page-no-hu__tips-list {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-no-hu__tips-list li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .page-no-hu__list-icon {
    font-size: 20px;
    margin-right: 10px;
  }

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

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

  .page-no-hu__promo-cards {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    margin-top: 30px;
  }

  .page-no-hu__promo-card {
    padding: 25px;
  }

  .page-no-hu__promo-card-title {
    font-size: 20px;
  }

  .page-no-hu__promo-card-text {
    font-size: 15px;
  }

  .page-no-hu__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
  }

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

  .page-no-hu__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-no-hu__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-no-hu__faq-toggle {
    font-size: 20px;
  }

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

  /* General image and container responsiveness */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-no-hu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-no-hu__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for groups */
  }
}