/* Zenon.gay */
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/permanent-marker-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Layout: phone-first single column of glowing panels under a cinematic space hero; on desktop the hero splits text | art. */
:root {
  color-scheme: dark;
  --space: #0d0b16;
  --panel: rgba(18, 26, 38, .78);
  --panel-line: rgba(111, 243, 77, .22);
  --ink: #f5f3fb;
  --muted: #b3acc8;
  --faint: #7d7694;
  --green: #6ff34d;
  --pink: #f91690;
  --blue: #2f6bff;
  --violet: #9b5cff;
  --cyan: #47e7ff;
  --yellow: #ffd84d;
  --rainbow: linear-gradient(90deg, #f91690, #ff7a2f, #ffd84d, #6ff34d, #47e7ff, #2f6bff, #9b5cff);
  --display: "Sora", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --marker: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* , *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--space);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgba(13, 11, 22, .92);
}
/* Space all the way down */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8, transparent 60%),
    radial-gradient(1px 1px at 72% 9%, #fff9, transparent 60%),
    radial-gradient(1.5px 1.5px at 33% 44%, #fff7, transparent 60%),
    radial-gradient(1px 1px at 88% 36%, #fff8, transparent 60%),
    radial-gradient(1px 1px at 52% 71%, #fff6, transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 83%, #fff7, transparent 60%),
    radial-gradient(1px 1px at 94% 77%, #fff8, transparent 60%),
    radial-gradient(1px 1px at 42% 92%, #fff6, transparent 60%),
    radial-gradient(60rem 40rem at 90% 0%, rgba(155, 92, 255, .28), transparent 65%),
    radial-gradient(50rem 35rem at 0% 35%, rgba(249, 22, 144, .14), transparent 65%),
    radial-gradient(50rem 40rem at 50% 100%, rgba(47, 107, 255, .16), transparent 65%),
    var(--space);
  background-size: 260px 260px, 330px 330px, 410px 410px, 290px 290px, 370px 370px, 230px 230px, 350px 350px, 310px 310px, auto, auto, auto, auto;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(13, 11, 22, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(111, 243, 77, .55)); }
.brand-name { font: 800 24px/1 var(--display); letter-spacing: -.03em; }
.brand-name .gay {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { display: block; font: 600 8.5px/1 var(--body); letter-spacing: .32em; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav .join { color: #0d1a08; background: var(--green); padding: 7px 16px; border-radius: 10px; font-weight: 600; }
.nav .join:hover { color: #0d1a08; box-shadow: 0 0 22px rgba(111, 243, 77, .5); }
.burger { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; margin: auto; transition: transform .25s, background .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -8px; } .burger span::after { top: 8px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 980px) {
  .burger { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0d0b16; border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
    box-shadow: 0 30px 60px rgba(0,0,0,.6);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav .join { margin-top: 16px; text-align: center; border: 0; padding: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 28px 8px; }
.hero .wrap { display: grid; gap: 8px; align-items: center; }
.eyebrow { font: 600 10.5px/1.4 var(--body); letter-spacing: .26em; color: var(--muted); text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 8.4vw, 64px); line-height: 1.04; font-weight: 800; margin-top: 12px; text-wrap: balance; }
.hero h1 .fab { color: var(--pink); text-shadow: 0 0 28px rgba(249, 22, 144, .45); }
.hero h1 .nom { color: var(--green); text-shadow: 0 0 28px rgba(111, 243, 77, .35); }
.hero-sub { margin-top: 16px; color: #ddd8ea; font-size: 17px; max-width: 34rem; }
.hero-art { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (min-width: 900px) {
  .hero { padding-block: 48px 24px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 24px; }
}
@media (max-width: 899px) {
  .hero-art { margin-top: -6px; max-width: 460px; }
}

.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 20px; border-radius: 14px; border: 0;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-pink { background: linear-gradient(180deg, #ff3aa6, #e60f84); color: #fff; box-shadow: 0 0 0 1px #ff6bbd inset, 0 8px 30px rgba(249, 22, 144, .35); }
.btn-green { background: linear-gradient(180deg, #8bff6b, #55dc33); color: #0b1906; box-shadow: 0 0 0 1px #b2ff9c inset, 0 8px 30px rgba(111, 243, 77, .3); }
.btn-blue { background: linear-gradient(180deg, #4f7dff, #2a52e8); color: #fff; box-shadow: 0 0 0 1px #7d9dff inset, 0 8px 30px rgba(47, 107, 255, .35); }
.btn:hover { transform: translateY(-1px); }
.btn-pink:hover { box-shadow: 0 0 0 1px #ff6bbd inset, 0 0 36px rgba(249, 22, 144, .6); }
.btn-green:hover { box-shadow: 0 0 0 1px #b2ff9c inset, 0 0 36px rgba(111, 243, 77, .55); }
.btn-blue:hover { box-shadow: 0 0 0 1px #7d9dff inset, 0 0 36px rgba(47, 107, 255, .6); }
@media (max-width: 520px) { .ctas .btn { flex: 1 1 calc(50% - 10px); padding: 0 12px; font-size: 15px; } }
.ticker { margin-top: 22px; font: 600 10.5px/1.6 var(--body); letter-spacing: .26em; color: var(--muted); text-transform: uppercase; }
.ticker span { color: var(--pink); margin: 0 6px; }

/* Graffiti */
.tag { font-family: var(--marker); }
.tag-green { fill: var(--green); color: var(--green); filter: drop-shadow(0 0 6px rgba(111, 243, 77, .7)); }
.tag-pink { fill: #ff4fb5; color: #ff4fb5; filter: drop-shadow(0 0 6px rgba(249, 22, 144, .8)); }
.tag-violet { fill: #c08bff; color: #c08bff; filter: drop-shadow(0 0 6px rgba(155, 92, 255, .8)); }

/* Hero motion: the rainbow breathes, the Z pulses, flags wave. */
.arch { animation: breathe 5s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes breathe { 50% { opacity: .78; } }
.zglow { animation: zpulse 3s ease-in-out infinite; }
@keyframes zpulse { 50% { filter: drop-shadow(0 0 18px #6ff34d) drop-shadow(0 0 4px #6ff34d); } }
.flag { animation: wave 2.4s ease-in-out infinite; transform-origin: 0 50%; transform-box: fill-box; }
@keyframes wave { 50% { transform: skewY(-6deg) scaleX(.94); } }

/* ---------- Panels ---------- */
main { display: grid; gap: 18px; padding-block: 18px 32px; }
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 20px 60px rgba(0,0,0,.35), 0 0 40px rgba(111, 243, 77, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 5vw, 28px); font-weight: 700; }
.panel-head h2 svg { width: 30px; height: 30px; flex: none; }
.panel-note { font: 600 10px/1.4 var(--body); letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }

/* Why Zenon */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-grid > div { display: flex; gap: 12px; padding: 4px 14px; border-left: 1px solid rgba(255,255,255,.1); }
.why-grid > div:first-child { border-left: 0; padding-left: 0; }
.why-grid svg { width: 36px; height: 36px; flex: none; }
.why-grid h3 { font-size: 16px; line-height: 1.25; font-weight: 600; }
.why-grid h3 em { font-style: normal; color: var(--green); }
.why-grid p { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid > div { border-left: 0; padding: 0 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .why-grid > div:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* Get started */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 18px 40px 18px 18px; min-height: 140px;
  border-radius: 18px; text-decoration: none;
  background: rgba(30, 42, 60, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .2s, background .2s, transform .15s;
}
a.tile:hover { border-color: rgba(111, 243, 77, .45); background: rgba(36, 52, 72, .7); transform: translateY(-2px); }
.tile svg.icon { width: 32px; height: 32px; margin-bottom: 10px; }
.tile h3 { font-size: 18px; font-weight: 600; }
.tile p { color: var(--muted); font-size: 14px; }
.tile .chev { position: absolute; right: 16px; bottom: 18px; width: 16px; height: 16px; color: var(--muted); }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Community */
.community {
  overflow: hidden;
  background:
    radial-gradient(40rem 20rem at 85% 110%, rgba(249, 22, 144, .45), transparent 65%),
    radial-gradient(30rem 16rem at 10% 120%, rgba(155, 92, 255, .45), transparent 65%),
    linear-gradient(180deg, rgba(36, 22, 72, .9), rgba(52, 18, 70, .92));
  border-color: rgba(192, 139, 255, .35);
  padding-bottom: 0;
}
.community-copy { color: #e7e1f5; font-size: 16px; }
.crew { position: relative; margin-top: 64px; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.crew svg.person { width: 22%; max-width: 170px; height: auto; margin: 0 -1.6%; flex: none; }
.crew svg.person:nth-child(odd) { transform: translateY(6px); }
.crew-tag {
  position: absolute; right: 2%; top: -62px; white-space: nowrap;
  font: 400 clamp(20px, 3.2vw, 34px)/1.05 var(--marker);
  color: var(--green); text-align: right; transform: rotate(-9deg);
  text-shadow: 0 0 10px rgba(111, 243, 77, .8);
  pointer-events: none;
}
@media (max-width: 640px) {
  .crew { flex-wrap: wrap; padding-top: 0; margin-top: 14px; }
  .crew-tag { position: static; order: -1; flex: 1 0 100%; text-align: right; margin: 6px 4px 10px; transform: rotate(-5deg); font-size: 24px; }
  .crew svg.person { width: 24%; margin: 0 -2.5%; }
}
.chant {
  margin-top: 16px; font-size: 14px; color: var(--muted);
}
.chant strong { color: var(--ink); }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.stat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--muted);
}
.stat b { font: 700 16px/1 var(--display); color: var(--ink); }
.stat b.inf { font-size: 22px; line-height: 16px; height: 16px; display: inline-flex; align-items: center; color: var(--pink); text-shadow: 0 0 12px rgba(249, 22, 144, .7); }

/* Make it gayer */
.gayer { text-align: center; padding-block: 28px; }
.gayer-btn {
  font: 800 clamp(20px, 5vw, 28px)/1 var(--display); letter-spacing: -.01em;
  color: var(--ink); padding: 20px 34px; border-radius: 999px; cursor: pointer;
  border: 3px solid transparent;
  background: linear-gradient(#171327, #171327) padding-box, var(--rainbow) border-box;
  box-shadow: 0 0 30px rgba(249, 22, 144, .25), 0 0 60px rgba(71, 231, 255, .15);
  transition: transform .15s, box-shadow .3s;
}
.gayer-btn:hover { box-shadow: 0 0 40px rgba(249, 22, 144, .45), 0 0 90px rgba(71, 231, 255, .25); }
.gayer-btn:active { transform: scale(.96); }
.gayer-status { margin-top: 14px; color: var(--muted); min-height: 3em; }
.gayer-meter { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gayer-meter i { width: 26px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); transition: background .3s; }
.gayer-meter i.on:nth-child(1) { background: var(--pink); }
.gayer-meter i.on:nth-child(2) { background: var(--yellow); }
.gayer-meter i.on:nth-child(3) { background: var(--green); }
.gayer-meter i.on:nth-child(4) { background: var(--cyan); }
.gayer-meter i.on:nth-child(5) { background: var(--violet); }

/* Stickers */
.panel-copy { color: var(--muted); margin: -6px 0 16px; }
.sticker-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
/* Collapsed: two rows (6 per row; 4 on tablets, 3 on phones). */
.sticker-grid:not(.open) li:nth-child(n+13) { display: none; }
.sticker-more { margin-top: 14px; display: flex; justify-content: center; }
.sticker-more button { background: none; border: 1px solid rgba(255,255,255,.18); color: var(--ink); border-radius: 999px; padding: 10px 20px; font: 600 15px/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.sticker-more button:hover { border-color: var(--green); color: var(--green); }
.sticker-more svg { width: 16px; height: 16px; transition: transform .2s; }
.sticker-more button[aria-expanded="true"] svg { transform: rotate(180deg); }
.sticker-grid a { display: block; border-radius: 16px; padding: 6px; background: rgba(255,255,255,.04); transition: transform .15s, background .2s; }
.sticker-grid a:hover { transform: rotate(-4deg) scale(1.06); background: rgba(255,255,255,.08); }
.sticker-grid img { display: block; width: 100%; height: auto; }
.sticker-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.sticker-note { color: var(--faint); font-size: 14px; flex: 1 1 16rem; }
@media (max-width: 720px) {
  .sticker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sticker-grid:not(.open) li:nth-child(n+9) { display: none; }
}
@media (max-width: 420px) {
  .sticker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sticker-grid:not(.open) li:nth-child(n+7) { display: none; }
}

/* Share links */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.links li { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 14px; background: rgba(30, 42, 60, .55); border: 1px solid rgba(255,255,255,.08); min-width: 0; }
.links .say { flex: 1; min-width: 0; }
.links .say b { display: block; font: 600 16px/1.3 var(--display); }
.links .say code { display: block; font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--cyan); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links .copy { flex: none; }
@media (max-width: 640px) { .links { grid-template-columns: 1fr; } }

/* Certificate */
.cert-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.cert-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-row input {
  flex: 1 1 14rem; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.3); color: var(--ink);
  font: 500 17px/1 var(--body);
}
.cert-row input::placeholder { color: var(--faint); }
.cert-row input:focus { outline: 2px solid var(--pink); outline-offset: 1px; border-color: transparent; }
.cert-result { margin-top: 18px; display: grid; gap: 12px; }
.cert-canvas { width: 100%; max-width: 720px; height: auto; border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.5); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Donate */
.donate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.coin {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 16px; border-radius: 18px;
  background: rgba(30, 42, 60, .55); border: 1px solid rgba(255,255,255,.08);
}
.coin-logo { width: 52px; height: 52px; }
.coin h3 { font-size: 20px; }
.coin p { color: var(--muted); font-size: 13px; }
.coin .qr { width: 86px; background: #fff; padding: 6px; border-radius: 10px; }
.coin .qr svg { display: block; width: 100%; height: auto; }
.coin-actions { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; min-width: 0; }
.coin-actions code {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted);
  padding: 11px 12px; border-radius: 10px; background: rgba(0,0,0,.3);
}
.copy { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
@media (max-width: 720px) { .donate-grid { grid-template-columns: 1fr; } }

/* Mascot */
.outro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding-top: 8px; }
.quote { font: 600 12px/2 var(--body); letter-spacing: .26em; color: #d9d3ea; text-transform: uppercase; }
.quote small { display: block; margin-top: 8px; font-size: 10px; color: var(--faint); }
.outro-tag {
  font: 400 clamp(24px, 6vw, 42px)/1.02 var(--marker);
  color: #ff4fb5; text-shadow: 0 0 12px rgba(249, 22, 144, .8);
  transform: rotate(-6deg); transform-origin: left center; margin-top: 26px; white-space: nowrap;
}
@media (max-width: 640px) {
  .outro { grid-template-columns: 1fr; }
  .outro .alien-wrap { justify-self: end; margin-top: -10px; }
  .outro-tag { font-size: clamp(22px, 6.4vw, 30px); }
}
.alien { width: clamp(130px, 30vw, 220px); height: auto; animation: bob 4s ease-in-out infinite; display: block; }
.alien-wrap { position: relative; }
.alien-btn { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.alien-btn:active .alien { transform: scale(.94) rotate(-4deg); animation: none; }
.bubble {
  position: absolute; right: 70%; bottom: 82%; width: max-content; max-width: min(15rem, 60vw);
  padding: 10px 14px; border-radius: 16px 16px 4px 16px;
  background: var(--ink); color: #120f1d; font-weight: 600; font-size: 14px; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); z-index: 2;
}
.poke-hint {
  position: absolute; top: -4px; right: 4px; margin: 0; pointer-events: none;
  font: 400 18px/1 var(--marker); color: var(--green); transform: rotate(8deg);
  text-shadow: 0 0 8px rgba(111, 243, 77, .7);
}
.bubble.pop { animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.alien-btn.ascend .alien { animation: ascend 2.4s ease-in forwards; }
@keyframes ascend { 30% { transform: translateY(10px) rotate(-6deg); } 100% { transform: translateY(-120vh) rotate(720deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

footer { border-top: 1px solid rgba(255,255,255,.07); }
footer .wrap { padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; color: var(--muted); font-size: 13px; }
footer a { color: var(--ink); text-underline-offset: 3px; }
footer a:hover { color: var(--green); }
footer .wrap > span + span::before { content: "•"; color: var(--pink); margin-right: 18px; }
@media (max-width: 640px) {
  footer .wrap { flex-direction: column; gap: 6px; }
  footer .wrap > span + span::before { content: none; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  translate: -50% 12px; opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px;
  background: var(--ink); color: #120f1d; font-weight: 600; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.6); transition: opacity .25s, translate .25s;
}
.toast.show { opacity: 1; translate: -50% 0; }
.toast small { display: block; font-weight: 400; opacity: .75; }

/* ---------- Make it gayer levels ---------- */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
body.gay-1 .sky { filter: saturate(1.8) brightness(1.15); }
body.gay-2 .panel { border-color: transparent; box-shadow: 0 0 0 2px #f91690aa, 0 0 26px #9b5cff66, 0 0 60px #47e7ff33; }
body.gay-2 .hero h1 { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.gay-2 .hero h1 span { color: inherit; text-shadow: none; }
body.gay-5 .alien { animation: spin 1.6s linear infinite; }
body.gay-5 .arch { animation: hue 2s linear infinite; }
body.gay-6 { transform: rotate(180deg); transition: transform 1.2s cubic-bezier(.6, -.3, .3, 1.3); }
body.flipping { transition: transform 1.2s cubic-bezier(.6, -.3, .3, 1.3); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hue { to { filter: hue-rotate(360deg); } }
body.pride { --green: #ff6bd5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
