/* banner-18.css — Fixed 18+ banner at top, link, background, typography */

.banner-18 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--c-surface-alt);
  text-align: center;
  padding: 8px 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.banner-18 p {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--c-text-secondary);
  margin: 0;
  line-height: 1;
}

.banner-18 strong {
  color: var(--c-warning);
  font-weight: 700;
}

.banner-18 a {
  color: var(--c-accent);
  text-decoration: underline;
  font-size: 0.8rem;
}

.banner-18 a:hover {
  color: var(--c-accent-hover);
}

/* Body offset when banner is present */
body.has-banner {
  padding-top: 108px; /* 36px banner + 72px header */
}

/* ---------- 18+ Age Gate Modal ---------- */
.zs-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: zs-age-gate-in 0.4s ease-out;
}

.zs-age-gate.is-hidden {
  display: none;
}

@keyframes zs-age-gate-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.zs-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.zs-age-gate__content {
  position: relative;
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface-alt) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 40px 32px 28px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: zs-age-gate-pop 0.4s cubic-bezier(.2,.8,.2,1);
}

@keyframes zs-age-gate-pop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Multi-color top accent strip — clipped by parent's overflow:hidden */
.zs-age-gate__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--c-accent-bright) 0%,
    var(--c-accent-pink) 33%,
    var(--c-accent-gold-bright) 66%,
    var(--c-accent-mint-bright) 100%);
}

.zs-age-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent-bright) 0%, var(--c-accent-pink) 100%);
  color: #fff;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 32px rgba(123, 97, 255, 0.4);
}

.zs-age-gate__content h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--c-text);
}

.zs-age-gate__content p {
  font-size: 0.95rem;
  color: var(--c-text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.zs-age-gate__note {
  font-size: 0.85rem !important;
  color: var(--c-accent) !important;
  font-style: italic;
}

.zs-age-gate__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}

.zs-age-gate__actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 12px 24px;
}

.zs-age-gate__legal {
  font-size: 0.75rem !important;
  color: var(--c-text-secondary) !important;
  margin-bottom: 0 !important;
  line-height: 1.5;
}

.zs-age-gate__legal a {
  color: var(--c-accent);
  text-decoration: underline;
}

/* Lock body scroll while modal is open */
body.zs-age-gate-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .zs-age-gate__content {
    padding: 32px 20px 20px;
  }
  .zs-age-gate__content h2 {
    font-size: 1.35rem;
  }
  .zs-age-gate__actions .btn {
    width: 100%;
  }
}
