/* ==========================================================================
   PIVXie teaser — styles
   Mobile-first, fluid typography, safe-area aware, reduced-motion friendly.
   ========================================================================== */

/* ---------- Theme tokens ---------- */
:root {
  --bg: #120a26;
  --bg-2: #1b1038;
  --surface: rgba(40, 22, 80, 0.55);
  --line: rgba(170, 120, 255, 0.35);
  --text: #efe8ff;
  --muted: #a99bd0;
  --accent: #b45cff;      /* primary glow */
  --accent-2: #ff4fd8;    /* secondary glow */
  --accent-3: #6ef3ff;    /* tertiary */
  --glow: 0 0 18px color-mix(in srgb, var(--accent) 70%, transparent);

  --radius: clamp(14px, 2vw, 22px);
  --pad: clamp(18px, 5vw, 64px);
  --maxw: 1200px;

  --font: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Light side: holographic cyan / pink */
html[data-side="light"] {
  --bg: #0c1330;
  --bg-2: #142050;
  --surface: rgba(30, 60, 120, 0.45);
  --line: rgba(110, 243, 255, 0.4);
  --text: #f0fbff;
  --muted: #9fc3e0;
  --accent: #4fe6ff;
  --accent-2: #ff7ad9;
  --accent-3: #c18bff;
}

/* Dark side: deep shadow purple / magenta */
html[data-side="dark"] {
  --bg: #0b0616;
  --bg-2: #170a2c;
  --surface: rgba(30, 12, 60, 0.6);
  --line: rgba(190, 80, 255, 0.4);
  --text: #f1e6ff;
  --muted: #9c86c4;
  --accent: #a43dff;
  --accent-2: #ff2bd0;
  --accent-3: #7a5cff;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 15% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(900px 700px at 110% 30%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  background-attachment: scroll;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img, video, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--accent); }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; border-radius: 6px; }

/* ---------- Ambient layers ---------- */
#pixels {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.side-flash {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), var(--accent) 0%, transparent 70%);
  opacity: 0;
}
.side-flash.go { animation: flash 900ms var(--ease); }
@keyframes flash { 0% { opacity: 0; } 20% { opacity: .85; } 100% { opacity: 0; } }

main, .footer, .topbar { position: relative; z-index: 2; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + var(--safe-t)) calc(var(--pad) + var(--safe-r)) 10px calc(var(--pad) + var(--safe-l));
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 85%, transparent), transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 900; letter-spacing: .04em; font-size: 1.1rem;
  user-select: none; -webkit-user-select: none;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: var(--glow); }
.brand em { font-style: normal; color: var(--accent); }
.topbar__side {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
}
.topbar__side .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: var(--glow); }

/* ---------- Generic section ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 12vw, 140px) calc(var(--pad) + var(--safe-r)) clamp(48px, 8vw, 100px) calc(var(--pad) + var(--safe-l));
}
.section__head { text-align: center; margin-bottom: clamp(28px, 5vw, 56px); }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 900; letter-spacing: -.01em; }
h2 {
  font-size: clamp(2rem, 6.5vw, 4rem);
  background: linear-gradient(90deg, var(--text), var(--accent) 55%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 40%, transparent));
}
.eyebrow {
  margin: 0 0 12px;
  font-size: clamp(.72rem, 1.8vw, .85rem);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-3);
}
.lead { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); }
.hint { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 18px; letter-spacing: .08em; }
kbd {
  font-family: var(--mono); font-size: .75em; padding: 1px 6px;
  border: 1px solid var(--line); border-radius: 5px; background: var(--surface);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.is-settled { transition-delay: 0s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(84px + var(--safe-t)) calc(var(--pad) + var(--safe-r)) calc(72px + var(--safe-b)) calc(var(--pad) + var(--safe-l));
  gap: clamp(10px, 2vw, 18px);
}
.blink { color: var(--accent-2); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.glitch {
  position: relative;
  font-size: clamp(3.4rem, min(15vw, 14vh), 9.5rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 80%, transparent), 0 0 60px color-mix(in srgb, var(--accent-2) 45%, transparent);
  user-select: none; -webkit-user-select: none;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
}
.glitch::before { color: var(--accent-2); transform: translate(2px, 0); clip-path: inset(0 0 60% 0); animation: glitch-a 3.2s infinite steps(1); mix-blend-mode: screen; }
.glitch::after  { color: var(--accent-3); transform: translate(-2px, 0); clip-path: inset(55% 0 0 0); animation: glitch-b 2.7s infinite steps(1); mix-blend-mode: screen; }
@keyframes glitch-a {
  0%, 86%, 100% { transform: translate(0); clip-path: inset(0 0 100% 0); }
  87% { transform: translate(-6px, -2px); clip-path: inset(10% 0 55% 0); }
  90% { transform: translate(5px, 1px); clip-path: inset(40% 0 30% 0); }
  93% { transform: translate(-3px, 0); clip-path: inset(70% 0 5% 0); }
}
@keyframes glitch-b {
  0%, 80%, 100% { transform: translate(0); clip-path: inset(100% 0 0 0); }
  81% { transform: translate(6px, 2px); clip-path: inset(60% 0 10% 0); }
  85% { transform: translate(-5px, -1px); clip-path: inset(20% 0 60% 0); }
  88% { transform: translate(3px, 0); clip-path: inset(5% 0 80% 0); }
}
.hero__tagline {
  margin: 0;
  min-height: 1.6em;
  font-size: clamp(.95rem, 2.6vw, 1.25rem);
  color: var(--muted);
}
.hero__tagline::after { content: "▌"; color: var(--accent); margin-left: 2px; animation: blink 1s steps(2) infinite; }

/* Video "screen" */
.screen {
  width: min(100%, 920px, max(420px, (100vh - 430px) * 1.78));
  width: min(100%, 920px, max(420px, (100svh - 430px) * 1.78));
  margin-top: clamp(14px, 3vw, 28px);
}
.screen__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent),
    0 0 40px color-mix(in srgb, var(--accent) 35%, transparent),
    0 30px 80px rgba(0,0,0,.55);
  isolation: isolate;
}
@supports not (aspect-ratio: 1) {
  .screen__frame { height: 0; padding-top: 56.25%; }
  .screen__video { position: absolute; inset: 0; }
}
.screen__video { width: 100%; height: 100%; object-fit: cover; }
.screen__frame::after { /* subtle CRT vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.45));
}
.screen__corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); z-index: 2; pointer-events: none; filter: drop-shadow(0 0 6px var(--accent)); }
.screen__corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.screen__corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.screen__corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.screen__corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.screen__sound {
  position: absolute; z-index: 3;
  right: clamp(10px, 2vw, 18px); bottom: clamp(10px, 2vw, 18px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; min-height: 40px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 5, 25, .65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.screen__sound:hover { transform: translateY(-1px); box-shadow: var(--glow); }
.screen__sound svg { width: 20px; height: 20px; fill: currentColor; }
.screen__sound .ico-on { display: none; }
.screen__sound[aria-pressed="true"] .ico-on { display: block; }
.screen__sound[aria-pressed="true"] .ico-off { display: none; }
.screen__caption { margin: 12px 0 0; font-size: .75rem; color: var(--muted); letter-spacing: .1em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(18px + var(--safe-b)); transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid var(--line); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--accent);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-height: 560px) { .scroll-cue { display: none; } }

/* ---------- SIGNALS (collage panels) ---------- */
.panels {
  display: grid;
  gap: clamp(12px, 2.4vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1024px) { .panels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .panels { grid-template-columns: 1fr; } }

.panel {
  position: relative;
  padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, opacity .8s var(--ease);
}
.panel__img {
  position: absolute; inset: 0;
  background-image: url("assets/collage.jpg");
  background-size: 200% 200%;
  background-position: var(--pos);
  transition: transform .8s var(--ease), filter .8s var(--ease);
  filter: saturate(.85) brightness(.9);
}
.panel::after { /* sweeping sheen */
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-60%); transition: transform 1s var(--ease);
  pointer-events: none;
}
.panel__tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: .7rem; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px;
  background: rgba(0,0,0,.55); color: var(--accent-3);
}
@media (hover: hover) {
  .panel:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 45%, transparent); }
  .panel:hover .panel__img { transform: scale(1.06); filter: none; }
  .panel:hover::after { transform: translateX(60%); }
}
.panel:active { transform: scale(.98); }

/* ---------- CHOOSE YOUR SIDE ---------- */
.sides {
  position: relative;
  display: grid;
  gap: clamp(10px, 3vw, 36px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.sides__vs {
  position: absolute; z-index: 3;
  left: 50%; top: 38%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: clamp(44px, 9vw, 84px); aspect-ratio: 1; border-radius: 50%;
  font-weight: 900; font-size: clamp(.9rem, 2.6vw, 1.6rem);
  color: var(--text); letter-spacing: .06em;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent);
  pointer-events: none;
}
.sides.has-choice .sides__vs { opacity: 0; transition: opacity .4s; }

.side {
  position: relative;
  display: flex; flex-direction: column;
  padding: 0; text-align: left;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease), opacity .8s var(--ease), border-color .5s;
  will-change: transform;
}
.side--light { --c1: #4fe6ff; --c2: #ff7ad9; }
.side--dark  { --c1: #a43dff; --c2: #ff2bd0; }
.side__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.side__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.side__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(0deg, rgba(10,5,25,.9), transparent);
}
.side__body { display: grid; gap: 6px; padding: clamp(10px, 3vw, 26px); margin-top: clamp(-64px, -8vw, -30px); position: relative; z-index: 1; flex: 1; align-content: start; }
.side__kicker { font-size: clamp(.6rem, 1.6vw, .72rem); letter-spacing: .18em; text-transform: uppercase; color: var(--c1); }
.side__title {
  font-size: clamp(1.15rem, 5vw, 2.8rem); font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.side__text { color: var(--muted); font-size: clamp(.8rem, 2.2vw, 1.1rem); line-height: 1.35; }
.side__cta {
  justify-self: start; margin-top: 10px;
  padding: clamp(7px, 1.4vw, 10px) clamp(10px, 2.4vw, 18px); border-radius: 999px;
  border: 1px solid var(--c1);
  font-weight: 800; font-size: clamp(.68rem, 1.8vw, .9rem); letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 35%, transparent), color-mix(in srgb, var(--c2) 35%, transparent));
  box-shadow: 0 0 16px color-mix(in srgb, var(--c1) 40%, transparent);
}
@media (hover: hover) {
  .side:hover { transform: translateY(-8px); border-color: var(--c1); box-shadow: 0 0 40px color-mix(in srgb, var(--c1) 45%, transparent); }
  .side:hover .side__media img { transform: scale(1.06); }
}
.side:active { transform: scale(.985); }

/* chosen / not chosen states */
.sides.has-choice .side[aria-checked="false"] { filter: grayscale(.85) brightness(.55); }
.sides.has-choice .side[aria-checked="true"] {
  border-color: var(--c1);
  box-shadow: 0 0 0 2px var(--c1), 0 0 60px color-mix(in srgb, var(--c1) 55%, transparent);
}
.sides.has-choice .side[aria-checked="true"] .side__cta::before { content: "✓ "; }

.verdict {
  margin: clamp(28px, 5vw, 48px) auto 0;
  max-width: 720px;
  text-align: center;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: pop .7s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.verdict__title { font-size: clamp(1.6rem, 5vw, 2.6rem); color: var(--accent); text-shadow: var(--glow); }
.verdict__text { color: var(--muted); margin: 12px 0 22px; font-size: clamp(1rem, 2.4vw, 1.15rem); }
.verdict__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.btn {
  min-height: 46px; padding: 12px 22px;
  border-radius: 999px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: .88rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn--primary { border: 0; color: #0b0616; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: var(--glow); }
.btn--ghost { border: 1px solid var(--line); background: transparent; }
.btn:hover { transform: translateY(-2px); }

/* ---------- COUNTDOWN ---------- */
.timer {
  display: flex; justify-content: center; align-items: flex-start; flex-wrap: nowrap;
  gap: clamp(6px, 2vw, 18px);
}
.timer__cell {
  display: grid; justify-items: center; gap: 6px;
  min-width: clamp(64px, 18vw, 150px);
  padding: clamp(12px, 2.6vw, 24px) clamp(6px, 1.6vw, 16px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.timer__num {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.8rem, 8vw, 4.4rem); line-height: 1;
  color: var(--text);
  text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 80%, transparent);
  font-variant-numeric: tabular-nums;
}
.timer__lbl { font-size: clamp(.6rem, 1.6vw, .78rem); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.timer__sep { font-family: var(--mono); font-size: clamp(1.4rem, 6vw, 3.6rem); color: var(--accent); padding-top: clamp(10px, 2.4vw, 22px); animation: blink 1s steps(2) infinite; }
@media (max-width: 420px) { .timer__sep { display: none; } .timer__cell { min-width: 0; flex: 1; } }
.timer__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 18px; letter-spacing: .06em; }
.redacted { background: var(--accent); color: var(--bg); padding: 1px 6px; border-radius: 3px; }

.egg { max-width: 520px; margin: clamp(28px, 5vw, 48px) auto 0; }
.egg__bar { height: 14px; border-radius: 8px; border: 2px solid var(--line); padding: 2px; overflow: hidden; }
.egg__bar span {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 8px, var(--accent-2) 8px 16px);
  box-shadow: var(--glow);
  transition: width 1.2s var(--ease);
}
.egg__status { text-align: center; color: var(--muted); font-size: .8rem; margin: 10px 0 0; letter-spacing: .1em; }

/* ---------- DECRYPT ---------- */
.cipher {
  display: grid; justify-items: center; gap: clamp(20px, 4vw, 32px);
  max-width: 820px; margin: 0 auto;
}
.cipher__text {
  margin: 0; text-align: center; min-height: 3.2em;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  letter-spacing: .04em; line-height: 1.6;
  color: var(--accent-3);
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent-3) 60%, transparent);
  word-break: break-word;
}
.cipher__text.done { color: var(--text); }
.hold {
  position: relative;
  width: clamp(120px, 30vw, 150px); aspect-ratio: 1;
  border-radius: 50%; border: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), var(--surface) 70%);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 35%, transparent);
  touch-action: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform .2s var(--ease);
}
.hold.is-holding { transform: scale(.94); }
.hold.is-done { box-shadow: 0 0 60px var(--accent); }
.hold__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold__track, .hold__progress { fill: none; stroke-width: 6; }
.hold__track { stroke: var(--line); }
.hold__progress {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 339.3; stroke-dashoffset: 339.3;
  filter: drop-shadow(0 0 6px var(--accent));
}
.hold__label { position: relative; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; line-height: 1.25; }

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: clamp(48px, 8vw, 90px) calc(var(--pad) + var(--safe-r)) calc(36px + var(--safe-b)) calc(var(--pad) + var(--safe-l));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}
.watcher { display: inline-flex; gap: 18px; margin-bottom: 16px; }
.eye {
  position: relative; width: 44px; height: 30px;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--accent) 50%, #fff) 0%, var(--accent) 60%, transparent 72%);
  filter: drop-shadow(0 0 10px var(--accent));
  animation: blinkEye 6s infinite;
}
.eye:first-child { transform: rotate(12deg); }
.eye:last-child  { transform: rotate(-12deg) scaleX(-1); }
.pupil { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
@keyframes blinkEye { 0%, 92%, 100% { clip-path: inset(0 0 0 0); } 95% { clip-path: inset(48% 0 48% 0); } }
.footer__whisper { color: var(--muted); font-size: .85rem; margin: 0 0 20px; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; }
.footer__links a {
  color: var(--text); text-decoration: none; font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  transition: box-shadow .2s, border-color .2s;
}
.footer__links a:hover { border-color: var(--accent); box-shadow: var(--glow); }
.footer__tag { color: var(--muted); font-size: .75rem; margin: 0; letter-spacing: .1em; }
.footer__tag a { color: var(--accent); text-decoration: none; border-bottom: 1px dotted var(--accent); transition: color .2s, border-color .2s; }
.footer__tag a:hover { color: #fff; border-bottom-color: #fff; }
.footer__disclaimer { display: inline-block; opacity: .78; font-size: .7rem; letter-spacing: .04em; margin-left: 2px; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 8px;
  padding: calc(16px + var(--safe-t)) calc(10px + var(--safe-r)) calc(16px + var(--safe-b)) calc(10px + var(--safe-l));
  background: rgba(5, 2, 14, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox__stage { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox__img {
  width: min(88vw, 80vh, 820px);
  width: min(88vw, 80dvh, 820px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-image: url("assets/collage.jpg");
  background-size: 200% 200%;
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 40%, transparent);
}
.lightbox__cap { margin: 0; color: var(--muted); font-size: .85rem; letter-spacing: .1em; }
.lightbox__close {
  position: absolute; top: calc(12px + var(--safe-t)); right: calc(14px + var(--safe-r));
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 1.6rem; line-height: 1;
}
.lightbox__nav {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 1.8rem; line-height: 1;
}
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: calc(20px + var(--safe-b)); }
  .lightbox__nav.prev { left: calc(24px + var(--safe-l)); }
  .lightbox__nav.next { right: calc(24px + var(--safe-r)); }
  .lightbox__img { width: 92vw; }
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(22px + var(--safe-b)); z-index: 90;
  transform: translate(-50%, 140%);
  max-width: min(92vw, 520px);
  padding: 12px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(12, 6, 28, .92);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: .95rem; text-align: center;
  opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Fallback for browsers without color-mix() ---------- */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  :root { --glow: 0 0 18px rgba(180, 92, 255, .7); }
  h2 { filter: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .glitch::before, .glitch::after { display: none; }
}
