/* v-key.dev landing: a dark screening room. Pure CSS; no scripts, no links. */
:root {
  --bg: #05030a;
  --ink: #f4f0f8;
  --muted: rgba(244, 240, 248, .62);
  --faint: rgba(244, 240, 248, .38);
  --purple: #5b2c76;
  --violet: #9b6bc6;
  --teal: #20bec6;
  --orange: #f07a2e;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 Inter, system-ui, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: default;
  user-select: none;
}

/* ------------------------------------------------------------------ sky */
.sky { position: fixed; inset: 0; overflow: hidden; }
.aurora {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.a1 { width: 70vmax; height: 70vmax; left: -22vmax; top: -38vmax; background: radial-gradient(circle, var(--purple), transparent 65%); }
.a2 { width: 55vmax; height: 55vmax; right: -24vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(32, 190, 198, .55), transparent 62%);
  animation-duration: 32s; animation-delay: -9s; }
.a3 { width: 38vmax; height: 38vmax; left: 46%; top: 58%; background: radial-gradient(circle, rgba(155, 107, 198, .45), transparent 60%);
  animation-duration: 22s; animation-delay: -4s; opacity: .35; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); }
  100% { transform: translate3d(-3vmax, 5vmax, 0) scale(.96); }
}
.grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 80%);
  animation: gridpan 60s linear infinite;
}
@keyframes gridpan { to { background-position: 72px 72px, 72px 72px; } }

/* concentric perimeter rings behind the title, each with a light travelling round it */
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(155, 107, 198, .16);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  animation: spin linear infinite;
}
.ring b {
  position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 14px 3px rgba(32, 190, 198, .7), 0 0 40px 8px rgba(32, 190, 198, .25);
}
.r1 { width: 46vmin; height: 46vmin; animation-duration: 18s; }
.r2 { width: 74vmin; height: 74vmin; animation-duration: 34s; animation-direction: reverse; border-color: rgba(155, 107, 198, .11); }
.r2 b { background: var(--violet); box-shadow: 0 0 14px 3px rgba(155, 107, 198, .7), 0 0 40px 8px rgba(155, 107, 198, .25); }
.r3 { width: 104vmin; height: 104vmin; animation-duration: 56s; border-color: rgba(155, 107, 198, .08); }
.r3 b { background: #fff; width: 4px; height: 4px; margin-left: -2px; top: -2px; box-shadow: 0 0 12px 2px rgba(255, 255, 255, .5); }
.r4 { width: 140vmin; height: 140vmin; border-style: dashed; border-color: rgba(255, 255, 255, .04); animation-duration: 120s; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* a slow light sweep across the room */
.beam {
  position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .035), transparent);
  animation: sweep 14s ease-in-out infinite; animation-delay: 2.5s;
}
@keyframes sweep { 0%, 100% { left: -60%; } 55% { left: 130%; } }

.grain {
  position: absolute; inset: -50%; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ------------------------------------------------------------------ stage */
.stage {
  position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6vh 24px 12vh;
}
.stage > * { opacity: 0; animation: rise 1.4s cubic-bezier(.2, .7, .1, 1) forwards; }
.logo { width: auto; height: clamp(40px, 6vh, 64px); animation-delay: .2s; filter: drop-shadow(0 6px 30px rgba(155, 107, 198, .45)); }
.kicker {
  margin-top: clamp(28px, 5vh, 52px); display: flex; align-items: center; gap: 16px;
  font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .42em; text-transform: uppercase; color: var(--teal);
  padding-left: .42em; animation-delay: .55s;
}
.kicker span { width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); }
.kicker span:last-child { background: linear-gradient(90deg, var(--teal), transparent); }
h1 {
  margin-top: 22px; font: 300 clamp(48px, 9.2vw, 148px)/.98 Sora, Inter, sans-serif; letter-spacing: -.045em;
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #d9c6ee 50%, #fff 62%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.6s cubic-bezier(.2, .7, .1, 1) .75s forwards, sheen 9s ease-in-out 3s infinite;
}
h1 em { font-style: normal; font-weight: 600; display: inline-block;
  background: linear-gradient(100deg, #e8dcf5, var(--violet) 45%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lede {
  margin-top: clamp(20px, 3.4vh, 32px); max-width: 34em; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.55; color: var(--muted);
  animation-delay: 1.05s;
}
.rule { margin-top: clamp(30px, 5vh, 54px); width: min(320px, 60vw); height: 1px; background: rgba(255, 255, 255, .1); overflow: hidden; animation-delay: 1.3s; }
.rule i { display: block; height: 1px; width: 40%; background: linear-gradient(90deg, transparent, var(--violet), var(--teal), transparent);
  animation: scan 4.5s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.invite {
  margin-top: 22px; font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .34em; text-transform: uppercase;
  color: var(--faint); padding-left: .34em; animation-delay: 1.5s;
}
.notice {
  margin-top: 26px; padding: 12px 20px; border-radius: 999px; font-size: 14px; color: #f6c9a8;
  background: rgba(240, 122, 46, .08); border: 1px solid rgba(240, 122, 46, .28); animation-delay: 1.7s;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.foot {
  position: fixed; left: 0; right: 0; bottom: 22px; z-index: 1; text-align: center; padding: 0 24px;
  font-size: 11.5px; letter-spacing: .02em; color: rgba(244, 240, 248, .28);
  opacity: 0; animation: rise 1.4s ease 2s forwards;
}

@media (max-width: 640px) {
  .kicker { letter-spacing: .3em; gap: 10px; }
  .kicker span { width: 22px; }
  .invite { letter-spacing: .24em; }
  .foot { font-size: 10.5px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .stage > *, .foot { opacity: 1; }
}
