/* ============================================================
   EVS Website — Vaporwave Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Space+Grotesk:ital,wght@0,300;0,400;0,500;0,600;1,400&family=VT323&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --bg:          #090012;
  --bg-2:        #0f0020;
  --bg-card:     rgba(15, 0, 32, 0.88);
  --pink:        #ff71ce;
  --cyan:        #05d9e8;
  --purple:      #b967ff;
  --yellow:      #f9f871;
  --text:        #e0d8f0;
  --text-dim:    #8878a8;
  --text-muted:  #4a3d60;
  --border:      rgba(185, 103, 255, 0.22);
  --border-hi:   rgba(185, 103, 255, 0.55);

  --glow-pink:   0 0 14px rgba(255,113,206,.55), 0 0 32px rgba(255,113,206,.2);
  --glow-cyan:   0 0 14px rgba(5,217,232,.55),   0 0 32px rgba(5,217,232,.2);
  --glow-purple: 0 0 14px rgba(185,103,255,.55), 0 0 32px rgba(185,103,255,.2);

  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'VT323', monospace;

  --nav-h:   64px;
  --max-w:  1200px;
  --pad:      2rem;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover { color: var(--pink); text-shadow: 0 0 8px rgba(255,113,206,.4); }
img { max-width: 100%; height: auto; display: block; }

/* ── Ambient Background ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(185,103,255,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(5,217,232,.05)   0%, transparent 55%),
    radial-gradient(ellipse at 50% 85%, rgba(255,113,206,.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Scanlines */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,.06) 2px, rgba(0,0,0,.06) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Perspective Grid Floor ──────────────────────────────── */
.grid-floor {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 50vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.grid-floor::before {
  content: '';
  position: absolute;
  bottom: 0; left: -60%; right: -60%; top: 0;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(185,103,255,.18) 0, rgba(185,103,255,.18) 1px,
      transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg,
      rgba(185,103,255,.18) 0, rgba(185,103,255,.18) 1px,
      transparent 1px, transparent 60px);
  transform: perspective(380px) rotateX(52deg);
  transform-origin: bottom center;
  animation: grid-scroll 6s linear infinite;
}
.grid-floor::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}
@keyframes grid-scroll {
  from { background-position: 0 0; }
  to   { background-position: 0 60px; }
}

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.4rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: 2px;
  background: none; cursor: pointer;
  cursor: pointer; transition: all .2s; white-space: nowrap;
  text-decoration: none;
}
.btn--primary  { background: var(--pink);  color: var(--bg); border-color: var(--pink); }
.btn--primary:hover {
  background: transparent; color: var(--pink); box-shadow: var(--glow-pink); text-shadow: none;
}
.btn--outline  { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.btn--outline:hover {
  background: rgba(5,217,232,.1); box-shadow: var(--glow-cyan); color: var(--cyan); text-shadow: none;
}
.btn--nav { color: var(--pink); border-color: var(--pink); padding: .38rem .9rem; font-size: .7rem; }
.btn--nav:hover { background: rgba(255,113,206,.1); box-shadow: var(--glow-pink); color: var(--pink); text-shadow: none; }
.btn--lg { padding: .85rem 2rem; font-size: .82rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: border-color .3s, box-shadow .3s;
}
.card:hover { border-color: var(--border-hi); box-shadow: var(--glow-purple); }
.card--dashed { border-style: dashed; border-color: rgba(185,103,255,.28); }
.card--dashed:hover { border-color: rgba(185,103,255,.55); }

.placeholder-text {
  font-family: var(--font-mono); font-size: 1.1rem;
  color: var(--text-muted); letter-spacing: .1em;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(9,0,18,.88);
}
.nav__inner {
  padding: 0 calc((var(--nav-h) - 1.35rem) / 2);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__logo {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 900;
  letter-spacing: .12em;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  flex-shrink: 0; text-decoration: none;
}
.nav__links {
  display: flex; align-items: center; gap: 1.5rem;
  margin-left: auto;
}
.nav__link {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; transition: color .2s;
}
.nav__link:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 1px; transition: all .25s; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 6rem 0; position: relative; z-index: 2; }
.section--alt { background: rgba(0,0,0,.25); }
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__eyebrow {
  display: block;
  font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: .6rem;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, var(--text) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 4rem) var(--pad) 5rem;
  position: relative; z-index: 2; overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(185,103,255,.05) 0, rgba(185,103,255,.05) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg,
      rgba(185,103,255,.05) 0, rgba(185,103,255,.05) 1px, transparent 1px, transparent 80px);
}
.hero__content { max-width: 860px; position: relative; z-index: 1; }
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; opacity: .85;
}
.hero__title {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  margin-bottom: 1.5rem;
}
.hero__title-logo {
  display: inline-block;
  height: clamp(6rem, 20vw, 14rem);
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 45%, var(--cyan) 100%);
  -webkit-mask-image: url("/static/images/evslogo.png");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("/static/images/evslogo.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  filter: drop-shadow(0 0 40px rgba(255,113,206,.28));
  animation: neon-flicker 8s ease-in-out infinite;
}
.hero__title-sub {
  font-family: var(--font-head); font-size: clamp(.8rem, 2vw, 1rem);
  font-weight: 400; color: var(--text-dim); letter-spacing: .32em; text-transform: uppercase;
}
.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-dim);
  max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .35; font-family: var(--font-mono); font-size: .9rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim);
  animation: float 2.2s ease-in-out infinite;
}
.hero__scroll-arrow {
  width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ── About ───────────────────────────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.about__text { display: flex; flex-direction: column; gap: 1rem; }
.about__text p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.85; }
.about__media {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
}

/* ── Features ────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card { display: flex; flex-direction: column; gap: .9rem; }
.feature-card__icon {
  font-size: 1.9rem; line-height: 1;
  color: var(--pink); text-shadow: var(--glow-pink);
}
.feature-card__title {
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--cyan);
}
.feature-card__desc { color: var(--text-dim); font-size: .95rem; line-height: 1.75; }

/* ── Screenshots ─────────────────────────────────────────── */
.screenshots__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.screenshot-placeholder {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}

/* ── Steps (Quick Start) ─────────────────────────────────── */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}
.step-card {
  position: relative; overflow: hidden;
  padding: 2rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px;
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .3s, box-shadow .3s;
}
.step-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
}
.step-card:hover { border-color: var(--border-hi); box-shadow: var(--glow-purple); }
.step-card__num {
  font-family: var(--font-mono); font-size: 2.6rem;
  color: var(--border-hi); line-height: 1;
}
.step-card__title {
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--text);
}
.step-card p { color: var(--text-dim); font-size: .95rem; line-height: 1.75; }
.steps__cta { text-align: center; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0; text-align: center;
  position: relative; z-index: 2;
  background: rgba(9,0,18,.92);
}
.footer__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.footer__logo {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 900;
  letter-spacing: .16em;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer__tagline { color: var(--text-muted); font-size: .9rem; }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-dim); transition: color .2s;
}
.footer__links a:hover { color: var(--cyan); text-shadow: none; }
.footer__legal { color: var(--text-muted); font-size: .78rem; max-width: 480px; line-height: 1.6; }

/* ── Wiki Layout ─────────────────────────────────────────── */
.wiki-layout {
  display: grid; grid-template-columns: 272px 1fr;
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  position: relative; z-index: 2;
}

/* ── Wiki Sidebar ────────────────────────────────────────── */
.wiki-sidebar {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); overflow-y: auto;
  border-right: 1px solid var(--border);
  background: rgba(9,0,18,.92);
  display: flex; flex-direction: column;
  padding: 1.5rem 0;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.wiki-sidebar::-webkit-scrollbar { width: 4px; }
.wiki-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.wiki-sidebar__header {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .75rem;
}
.wiki-sidebar__brand {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple); text-decoration: none; transition: color .2s;
}
.wiki-sidebar__brand:hover { color: var(--pink); text-shadow: none; }
.wiki-nav { flex: 1; padding: 0 .6rem; display: flex; flex-direction: column; gap: .2rem; }
.wiki-nav__link {
  display: block; padding: .55rem .7rem;
  border-radius: 3px; font-size: .9rem;
  color: var(--text-dim); text-decoration: none;
  border-left: 2px solid transparent;
  transition: all .15s;
}
.wiki-nav__link:hover {
  color: var(--text); background: rgba(185,103,255,.08);
  border-left-color: var(--purple); text-shadow: none;
}
.wiki-nav__link--active {
  color: var(--pink); background: rgba(255,113,206,.1);
  border-left-color: var(--pink); text-shadow: 0 0 8px rgba(255,113,206,.3);
}
.wiki-sidebar__footer {
  padding: 1.25rem 1.25rem 0; border-top: 1px solid var(--border); margin-top: 1rem;
}
.wiki-sidebar__back {
  font-family: var(--font-head); font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color .2s;
}
.wiki-sidebar__back:hover { color: var(--cyan); text-shadow: none; }

/* ── Wiki Content ────────────────────────────────────────── */
.wiki-content { padding: 3rem 4rem; min-width: 0; }
.wiki-content__header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.wiki-content__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  background: linear-gradient(135deg, var(--text) 0%, var(--pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.wiki-content__body { max-width: 780px; }
.wiki-content__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.wiki-content__edit {
  font-family: var(--font-head); font-size: .7rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-muted);
}
.wiki-content__edit:hover { color: var(--cyan); text-shadow: none; }

/* ── Markdown Body ───────────────────────────────────────── */
.markdown-body { line-height: 1.85; font-size: 1rem; color: var(--text-dim); }
.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4 {
  margin-top: 2.2rem; margin-bottom: .9rem; font-family: var(--font-head);
}
.markdown-body h1 { font-size: 1.9rem; color: var(--pink); text-shadow: 0 0 18px rgba(255,113,206,.18); }
.markdown-body h2 {
  font-size: 1.4rem; color: var(--cyan);
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.markdown-body h3 { font-size: 1.15rem; color: var(--purple); }
.markdown-body h4 { font-size: 1rem; color: var(--text-dim); }
.markdown-body p { margin-bottom: 1.2rem; }
.markdown-body a { color: var(--cyan); }
.markdown-body ul,.markdown-body ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.markdown-body li { margin-bottom: .4rem; }
.markdown-body code {
  font-family: 'Courier New', monospace; font-size: .87em;
  background: rgba(185,103,255,.14); color: var(--pink);
  padding: .1em .4em; border-radius: 3px; border: 1px solid rgba(185,103,255,.2);
}
.markdown-body pre {
  background: rgba(0,0,0,.55); border: 1px solid var(--border);
  border-left: 3px solid var(--purple); border-radius: 4px;
  padding: 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; line-height: 1.0;
}
.markdown-body pre code { background: none; border: none; color: var(--text); padding: 0; font-size: .9rem; }
.markdown-body blockquote {
  margin: 1.5rem 0; padding: .9rem 1.4rem;
  border-left: 3px solid var(--pink); background: rgba(255,113,206,.05);
  border-radius: 0 4px 4px 0; color: var(--text-dim); font-style: italic;
}
.markdown-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; }
.markdown-body th {
  background: rgba(185,103,255,.14); color: var(--purple);
  font-family: var(--font-head); font-size: .75rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--border-hi);
}
.markdown-body td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); }
.markdown-body tr:last-child td { border-bottom: none; }
.markdown-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.markdown-body img { border-radius: 4px; border: 1px solid var(--border); }
.markdown-body strong { color: var(--text); font-weight: 600; }

/* ── Age Gate ────────────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(9,0,18,.97);
  padding: 1rem;
}
html.age-verified .age-gate { display: none; }
.age-gate.fade-out { animation: gate-out .6s ease forwards; }
@keyframes gate-out { from { opacity: 1; } to { opacity: 0; pointer-events: none; } }

.age-gate__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(185,103,255,.07) 0, rgba(185,103,255,.07) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg,
      rgba(185,103,255,.07) 0, rgba(185,103,255,.07) 1px, transparent 1px, transparent 80px);
}
.age-gate__card {
  position: relative; z-index: 1;
  max-width: 500px; width: 100%;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hi); border-radius: 4px;
  box-shadow: 0 0 60px rgba(185,103,255,.14), 0 0 120px rgba(255,113,206,.07), inset 0 0 60px rgba(0,0,0,.3);
}
.age-gate__icon {
  font-size: 2.4rem; color: var(--pink); text-shadow: var(--glow-pink);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { text-shadow: var(--glow-pink); }
  50%      { text-shadow: 0 0 28px rgba(255,113,206,.85), 0 0 55px rgba(255,113,206,.4); }
}
.age-gate__title {
  font-family: var(--font-head); font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 900;
  letter-spacing: .16em;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.age-gate__badge {
  font-family: var(--font-head); font-size: clamp(2.4rem, 8vw, 4.5rem); font-weight: 900;
  color: var(--cyan); text-shadow: var(--glow-cyan); line-height: 1; letter-spacing: .04em;
}
.age-gate__rule {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}
.age-gate__desc { color: var(--text-dim); font-size: .95rem; line-height: 1.75; max-width: 390px; }
.age-gate__actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
.age-gate__legal { color: var(--text-muted); font-size: .76rem; line-height: 1.6; max-width: 370px; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}
@keyframes neon-flicker {
  0%,100%      { filter: drop-shadow(0 0 40px rgba(255,113,206,.28)); }
  90%          { filter: drop-shadow(0 0 40px rgba(255,113,206,.28)); }
  91%          { filter: drop-shadow(0 0 20px rgba(255,113,206,.15)); }
  92%          { filter: drop-shadow(0 0 40px rgba(255,113,206,.28)); }
  95%          { filter: drop-shadow(0 0 55px rgba(255,113,206,.45)); }
  96%          { filter: drop-shadow(0 0 40px rgba(255,113,206,.28)); }
}

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(1rem);
  z-index: 300;
  background: rgba(9,0,18,.92); border: 1px solid var(--purple);
  color: var(--text); font-family: var(--font-body); font-size: .95rem;
  padding: .75rem 1.5rem; border-radius: 6px;
  box-shadow: 0 0 30px rgba(185,103,255,.25);
  opacity: 0; transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.toast.active { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.9);
  justify-content: center; align-items: center;
  cursor: pointer;
  opacity: 0; transition: opacity .2s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; cursor: default;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(185,103,255,.3);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --pad: 1.25rem; --nav-h: 56px; }

  .nav__links {
    display: none; flex-direction: column; gap: .5rem;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(9,0,18,.98); border-bottom: 1px solid var(--border);
    padding: 1.25rem var(--pad);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  .section { padding: 4rem 0; }
  .screenshots__grid { grid-template-columns: 1fr; }

  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .wiki-content { padding: 2rem 1.5rem; }

  .age-gate__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; max-width: 300px; }
  .screenshots__grid { grid-template-columns: 1fr; }
}
