/* ZNXX Age Gate */
:root {
  --znxx-age-bg: rgba(7, 8, 12, 0.92);
  --znxx-age-card: rgba(18, 20, 28, 0.96);
  --znxx-age-border: rgba(255, 255, 255, 0.10);
  --znxx-age-text: #f7f7f8;
  --znxx-age-muted: #b8bcc8;
  --znxx-age-accent: #ffffff;
}

html.znxx-age-lock,
body.znxx-age-lock {
  overflow: hidden !important;
}

.znxx-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.znxx-age-gate.is-visible {
  display: flex;
}

.znxx-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(circle at 80% 85%, rgba(255,255,255,0.05), transparent 32%),
    var(--znxx-age-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.znxx-age-gate__card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px 30px 28px;
  border: 1px solid var(--znxx-age-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0)),
    var(--znxx-age-card);
  color: var(--znxx-age-text);
  text-align: center;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.60),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(8px) scale(0.985);
  opacity: 0;
  animation: znxxAgeGateIn .28s ease-out forwards;
}

@keyframes znxxAgeGateIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.znxx-age-gate__badge {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.04);
}

.znxx-age-gate__eyebrow {
  margin: 0 0 9px;
  color: var(--znxx-age-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.znxx-age-gate h1 {
  margin: 0;
  color: var(--znxx-age-text);
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.3;
  font-weight: 800;
}

.znxx-age-gate__description {
  margin: 15px auto 0;
  max-width: 430px;
  color: var(--znxx-age-muted);
  font-size: 15px;
  line-height: 1.75;
}

.znxx-age-gate__actions {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.znxx-age-gate__button {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  transition: transform .16s ease, opacity .16s ease, background .16s ease, border-color .16s ease;
}

.znxx-age-gate__button:hover {
  transform: translateY(-1px);
}

.znxx-age-gate__button:active {
  transform: translateY(0);
}

.znxx-age-gate__button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.32);
  outline-offset: 3px;
}

.znxx-age-gate__button--enter {
  background: var(--znxx-age-accent);
  color: #111318;
}

.znxx-age-gate__button--enter:hover {
  opacity: .92;
}

.znxx-age-gate__button--exit {
  background: transparent;
  color: var(--znxx-age-text);
  border-color: rgba(255,255,255,0.16);
}

.znxx-age-gate__button--exit:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.24);
}

.znxx-age-gate__note {
  margin: 20px auto 0;
  max-width: 440px;
  color: #858a96;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 520px) {
  .znxx-age-gate {
    padding: 14px;
  }

  .znxx-age-gate__card {
    padding: 28px 20px 22px;
    border-radius: 20px;
  }

  .znxx-age-gate__badge {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }

  .znxx-age-gate__button {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .znxx-age-gate__card {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .znxx-age-gate__button {
    transition: none;
  }
}
