/* The Lobby Leak: liquid glass on deep purple-black, hot pink and orange glows. No external fonts or images. */
:root {
  color-scheme: dark;
  --bg: #160428;
  --bg-2: #22073d;
  --pink: #ff3d8b;
  --orange: #ff9a2e;
  --text: #ffffff;
  --soft: #e6d9f2;     /* body text on glass: 6.3:1 over the brightest glow, 8.7:1 typical */
  --muted: #d6c8e6;    /* small print: 5.4:1 over the brightest glow, 7.4:1 typical */
  --ink: #1a0524;      /* text on the pink-orange button: 6.2-9.5:1 */
  --glass: rgba(30, 10, 52, 0.46);
  --glass-solid: rgba(34, 12, 58, 0.94);
  --edge: rgba(255, 255, 255, 0.14);
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Quicksand", "Arial Rounded MT Bold",
          system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mx: 0; --my: 0; --par-bg: 0px; --par-stage: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { background: var(--bg); }
body { margin: 0; background: transparent; color: var(--text); }   /* transparent so the glows (z-index -2) show */
body {
  font: 500 17px/1.6 var(--font);
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 12px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: var(--ink);
        padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------------------------------------------------------------- background: glows that drift slowly */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
      background: radial-gradient(120% 70% at 50% -10%, var(--bg-2) 0%, rgba(34, 7, 61, 0) 60%), var(--bg); }
.bg-layer { position: absolute; inset: -10%;
            transform: translate3d(calc(var(--mx) * -18px), calc(var(--par-bg) + var(--my) * -14px), 0); }
.blob { position: absolute; border-radius: 50%; opacity: 0.62; will-change: transform; }
.b1 { width: 62vmax; height: 62vmax; left: -22vmax; top: -16vmax;
      background: radial-gradient(circle at 50% 50%, rgba(255, 61, 139, 0.75), rgba(255, 61, 139, 0) 62%);
      animation: drift1 34s ease-in-out infinite alternate; }
.b2 { width: 56vmax; height: 56vmax; right: -24vmax; top: 18vh;
      background: radial-gradient(circle at 50% 50%, rgba(255, 154, 46, 0.6), rgba(255, 154, 46, 0) 62%);
      animation: drift2 40s ease-in-out infinite alternate; }
/* drip-shaped glows: a tall teardrop that slides down and back, like the liquid in the logo */
.b3 { width: 16vmax; height: 30vmax; left: 60%; top: 6vh; filter: blur(28px); opacity: 0.5;
      background: radial-gradient(42% 50% at 50% 64%, rgba(255, 154, 46, 0.7), rgba(255, 154, 46, 0) 100%);
      animation: drip 26s ease-in-out infinite; }
.b4 { width: 46vmax; height: 46vmax; left: 8%; top: 92vh;
      background: radial-gradient(circle, rgba(255, 61, 139, 0.45), rgba(255, 61, 139, 0) 62%);
      animation: drift1 44s ease-in-out infinite alternate-reverse; }
.b5 { width: 12vmax; height: 24vmax; left: 14%; top: 34vh; filter: blur(28px); opacity: 0.45;
      background: radial-gradient(42% 50% at 50% 64%, rgba(255, 61, 139, 0.7), rgba(255, 61, 139, 0) 100%);
      animation: drip 31s ease-in-out -9s infinite; }
@keyframes drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 5vmax, 0) scale(1.08); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-7vmax, -3vmax, 0) scale(0.95); } }
@keyframes drip { 0%, 100% { transform: translate3d(0, -4vh, 0) scaleY(0.92); } 50% { transform: translate3d(0, 14vh, 0) scaleY(1.08); } }

.cursor-glow { position: fixed; left: 0; top: 0; z-index: -1; width: 520px; height: 520px; margin: -260px 0 0 -260px;
               border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.8s ease;
               background: radial-gradient(circle, rgba(255, 110, 170, 0.18), rgba(255, 154, 46, 0.06) 40%, rgba(255, 154, 46, 0) 70%); }
.cursor-glow.on { opacity: 1; }

/* ---------------------------------------------------------------- liquid glass */
.glass {
  position: relative; isolation: isolate;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0.015) 60%, rgba(255, 255, 255, 0.06) 100%),
    var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),          /* top highlight */
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 18px 36px -24px rgba(255, 255, 255, 0.22), /* soft inner light */
    0 24px 60px -24px rgba(0, 0, 0, 0.7),             /* depth */
    0 2px 8px rgba(0, 0, 0, 0.25);
}
/* a thin edge that catches the light: bright at the top-left, warm pink-orange at the bottom-right */
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.06) 32%, rgba(255, 255, 255, 0.02) 55%,
                              rgba(255, 61, 139, 0.45) 82%, rgba(255, 154, 46, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* refraction-style sheen: a faint curved band of light across the top */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 60% at 20% -20%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%),
              radial-gradient(80% 50% at 110% 120%, rgba(255, 154, 46, 0.12), rgba(255, 154, 46, 0) 70%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%), var(--glass-solid); }
}
.lite .glass { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%);
       width: min(1080px, calc(100% - 32px)); border-radius: 999px;
       display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800;
         font-size: 17px; letter-spacing: -0.2px; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 999px; color: var(--soft);
             transition: background-color 0.3s ease, color 0.3s ease; }
.nav nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav nav a.pill { color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.nav nav a.pill:hover { background: rgba(255, 61, 139, 0.28); }
@media (max-width: 420px) { .nav nav a.about-link { display: none; } }

/* ---------------------------------------------------------------- hero */
main { flex: 1; width: 100%; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
        align-items: center; justify-content: center; text-align: center; padding: 88px 16px 56px; }
/* the stage moves (parallax), which gives it its own layer; keep the hero text on a layer above it so the
   particle cloud never draws over the title when the page is scrolled */
.hero > :not(.stage) { position: relative; z-index: 1; }
.stage { position: relative; z-index: 0; width: min(600px, 96vw, 62vh); aspect-ratio: 1 / 1; margin: 0 auto -10px;
         transform: translate3d(calc(var(--mx) * 10px), calc(var(--par-stage) + var(--my) * 8px), 0); }
.halo { position: absolute; inset: 14% 10% 6%; border-radius: 50%; pointer-events: none;
        background: radial-gradient(closest-side, rgba(255, 61, 139, 0.42), rgba(255, 154, 46, 0.16) 55%, rgba(255, 154, 46, 0) 100%); }
.stage .still, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .still { object-fit: contain; animation: bob 6.5s ease-in-out infinite; transition: opacity 0.9s ease; }
.stage canvas { opacity: 0; transition: opacity 0.9s ease; }
.stage.live canvas { opacity: 1; }
.stage.live .still { opacity: 0; }
@keyframes bob { 0%, 100% { transform: translateY(-1.5%); } 50% { transform: translateY(1.5%); } }

h1 { font-size: clamp(44px, 9vw, 92px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; margin: 0; }
.grad { background: linear-gradient(100deg, var(--pink) 10%, #ff6a63 50%, var(--orange) 90%);
        -webkit-background-clip: text; background-clip: text; color: transparent; }
.pitch { font-size: clamp(19px, 2.6vw, 24px); font-weight: 600; color: var(--soft); margin: 14px 0 30px; }

/* the main button: tinted liquid glass, lifts and glows on hover */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
       font-weight: 800; font-size: 19px; color: var(--ink); padding: 17px 30px 17px 24px; border-radius: 999px;
       background: linear-gradient(115deg, #ff4f97 0%, #ff6b6b 50%, #ffa040 100%);
       box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -10px 18px -8px rgba(120, 0, 60, 0.35),
                   0 0 0 1px rgba(255, 255, 255, 0.22), 0 14px 34px -12px rgba(255, 61, 139, 0.75);
       transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease; }
.btn::after { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
              background: linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04)); pointer-events: none; z-index: -1; }
.btn .play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(26, 5, 36, 0.88); }
.btn .play svg { width: 12px; height: 12px; margin-left: 2px; fill: #ffb15c; }
.btn:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -10px 18px -8px rgba(120, 0, 60, 0.3),
             0 0 0 1px rgba(255, 255, 255, 0.35), 0 22px 50px -12px rgba(255, 61, 139, 0.85), 0 0 44px rgba(255, 154, 46, 0.4); }
.btn:active { transform: translateY(-1px); }
.hint { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- about */
.section { width: min(880px, calc(100% - 32px)); margin: 0 auto 72px; scroll-margin-top: 96px; }
.card { border-radius: var(--radius); padding: clamp(26px, 5vw, 48px); }
.card h2 { margin: 0 0 12px; font-size: clamp(28px, 4.5vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.card p { margin: 0 0 14px; color: var(--soft); font-size: clamp(17px, 2vw, 19px); }
.chips { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 15px; font-weight: 700; padding: 8px 14px; border-radius: 999px; color: #fff;
            background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px;
                    background: linear-gradient(135deg, var(--pink), var(--orange)); box-shadow: 0 0 10px rgba(255, 120, 90, 0.8); }
.disclaimer { margin: 0 !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1);
              font-size: 15px !important; color: var(--muted) !important; }

/* scroll-in reveal (only when main.js is running and motion is allowed) */
.reveals .reveal { opacity: 0; transform: translateY(28px) scale(0.985);
                   transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveals .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- footer: small, always visible */
.foot { width: min(1080px, calc(100% - 32px)); margin: 0 auto 20px; }
.foot .glass { border-radius: 22px; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center;
               justify-content: space-between; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.foot p { margin: 0; }
.foot a { color: var(--soft); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.foot a:hover { color: #fff; text-decoration-color: currentColor; }
.foot .legal a { font-weight: 700; }
.foot .sep { opacity: 0.6; margin: 0 6px; }

/* ---------------------------------------------------------------- privacy / terms / 404 */
.doc-wrap { padding: 104px 0 40px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 6px; }
.doc .date { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 20px; color: #ffb36b; margin: 30px 0 6px; letter-spacing: 0; }
.doc p { color: var(--soft); }
.doc a { color: #ff8ab8; }
.doc a.btn { color: var(--ink); }
.notfound { text-align: center; }
.notfound .btn { margin-top: 10px; }

/* ---------------------------------------------------------------- motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .stage .still { animation: none !important; }
  .btn, .btn:hover { transition: none; transform: none; }
  .cursor-glow { display: none; }
}
.lite .blob { animation-duration: 60s; }
.lite .b3, .lite .b5 { filter: none; }
@media (max-width: 640px) {
  .hero { padding-top: 84px; }
  .stage { width: min(96vw, 52vh); margin-bottom: 0; }
  .btn { font-size: 18px; }
  .foot .glass { justify-content: center; text-align: center; }
}
