/* Rebuy motion layer 4: kinetic band, cursor glow, page transitions, feed stagger, launch preview card. */

/* page transitions */
body { animation: pagein .5s var(--ease) both; }
body.leaving { animation: pageout .28s ease forwards; }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } }
@keyframes pageout { to { opacity: 0; transform: translateY(-6px); } }

/* cursor glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(184,255,60,.09), rgba(255,91,31,.04) 40%, transparent 70%); transition: opacity .4s; mix-blend-mode: screen; }

/* kinetic band */
.band { position: relative; overflow: hidden; padding: 26px 0; margin: 10px 0; transform: rotate(-2deg); border-block: 1px solid var(--line2); background: rgba(17,20,15,.6); }
.band.alt { transform: rotate(1.5deg); background: var(--buy); border: 0; margin-top: -18px; }
.band .row { display: inline-flex; gap: 48px; white-space: nowrap; padding-left: 48px; animation: marquee 30s linear infinite; font: 700 clamp(34px, 6vw, 72px)/1 var(--sans); letter-spacing: -.03em; text-transform: uppercase; }
.band.alt .row { animation-direction: reverse; animation-duration: 36s; color: var(--buy-ink); font-size: clamp(22px, 3.6vw, 40px); }
.band .row span { display: inline-flex; align-items: center; gap: 48px; }
.band .o { -webkit-text-stroke: 1.5px var(--ink2); color: transparent; }
.band .g { color: var(--buy); }
.band .f { color: var(--burn); }
.band .dot { width: .4em; height: .4em; border-radius: 50%; background: var(--burn); display: inline-block; box-shadow: 0 0 18px var(--burn); }
.band.alt .dot { background: var(--buy-ink); box-shadow: none; }
.bands { overflow: hidden; padding: 30px 0; }

/* feed / table stagger */
.feed .ev { animation: evin .55s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
@keyframes evin { from { opacity: 0; transform: translateY(10px); } }

/* launch: live coin preview */
.preview { position: sticky; top: 90px; }
.pcard { position: relative; border-radius: 18px; padding: 18px; background: linear-gradient(160deg, #182014, #10130e); border: 1px solid var(--line2); overflow: hidden; }
.pcard::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(184,255,60,.18), transparent 30%); animation: spin 6s linear infinite; z-index: 0; }
.pcard > * { position: relative; z-index: 1; }
.pcard .top { display: flex; gap: 14px; align-items: center; }
.pcard .pimg { width: 64px; height: 64px; border-radius: 14px; background: var(--bg2) center/cover; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--muted); font: 700 22px var(--sans); transition: transform .4s var(--ease); }
.pcard .pimg.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.15) rotate(-6deg); } }
.pcard .pname { font: 700 22px/1.1 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; }
.pcard .ptick { font: 600 14px var(--mono); color: var(--buy); }
.pcard .pdesc { color: var(--ink2); font-size: 14px; margin: 12px 0; min-height: 2.6em; overflow-wrap: anywhere; }
.pcard .curve { height: 8px; border-radius: 99px; background: var(--bg2); overflow: hidden; margin: 10px 0 6px; }
.pcard .curve i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--buy), #e8ffb8); border-radius: inherit; transition: width .8s var(--ease); }
.pcard .meta { display: flex; justify-content: space-between; font: 500 12px var(--mono); color: var(--muted); }
.pcard .split { height: 30px; font-size: 11px; margin-top: 12px; }
.typing-caret::after { content: "▍"; color: var(--buy); animation: caret .7s steps(1) infinite; margin-left: 1px; }

.preview { position: static; }
.bands { width: 100vw; margin-left: calc(50% - 50vw); }
html, body { overflow-x: clip; }
/* steps list: keep inline notes (e.g. "and buys 1.5 SOL") in the same line of text */
.progress li { display: block; position: relative; padding-left: 28px; }
.progress li::before { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; box-sizing: border-box; }
