@font-face { font-family: 'Inter'; src: url('../fonts/Inter.woff2') format('woff2'); font-weight: 100 900; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight.woff2') format('woff2'); font-weight: 100 900; }
:root { --cream:#F6EADB; --cream2:rgba(246,234,219,.78); --rose:#FF4F86; --coral:#FF7A5C; --mint:#43E8AC; --deep:#170409; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0E0206; overflow: hidden; font-family: 'Inter', system-ui, sans-serif; color: var(--cream); -webkit-font-smoothing: antialiased; user-select: none; }
#viewport { position: fixed; inset: 0; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: #22070F; }
.bg { position: absolute; inset: 0; background:
   radial-gradient(1200px 900px at 78% 40%, #5A1630 0%, rgba(90,22,48,0) 70%),
   radial-gradient(900px 700px at 12% 85%, #3E0C1E 0%, rgba(62,12,30,0) 70%),
   linear-gradient(160deg, #2C0915 0%, #1E0610 55%, #150309 100%); }
.amb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .32; will-change: transform; }
.amb.a { width: 760px; height: 760px; left: 1140px; top: -220px; background: #FF4F86; opacity: .13; animation: drift1 24s ease-in-out infinite alternate; }
.amb.b { width: 620px; height: 620px; left: -200px; top: 640px; background: #FF7A5C; opacity: .09; animation: drift2 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(140px, -70px) scale(1.1); } }
.vig { position: absolute; inset: 0; background: radial-gradient(130% 110% at 55% 45%, rgba(0,0,0,0) 55%, rgba(8,0,4,.65) 100%); pointer-events: none; }
.divider { position: absolute; left: 742px; top: 150px; width: 2px; height: 760px; background: linear-gradient(180deg, rgba(246,234,219,0), rgba(246,234,219,.10), rgba(246,234,219,0)); }

.slide { position: absolute; inset: 0; }
.left { position: absolute; left: 104px; top: 150px; width: 620px; }
.kicker { display: flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.kicker .num { font-family: 'Inter Tight'; color: var(--deep); background: linear-gradient(135deg, var(--rose), var(--coral)); border-radius: 999px; padding: 6px 16px; letter-spacing: .06em; }
.title { margin-top: 26px; font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 800; font-size: 78px; line-height: 1.03; letter-spacing: -.02em; color: var(--cream); text-wrap: balance; }
.title .acc { background: linear-gradient(100deg, var(--rose), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title .mint { color: var(--mint); }
.ctx { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.ctx div { position: relative; padding-left: 30px; font-size: 36px; line-height: 1.26; font-weight: 500; color: var(--cream2); text-wrap: balance; }
.ctx div::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 30px; border-radius: 3px; background: linear-gradient(180deg, var(--rose), var(--coral)); }
.ctx div b { color: var(--cream); font-weight: 700; }
.src { position: absolute; left: 104px; bottom: 132px; width: 600px; font-size: 20px; color: rgba(246,234,219,.55); font-weight: 500; }
svg.vis { position: absolute; left: 770px; top: 60px; width: 1090px; height: 900px; overflow: visible; }
svg text { font-family: 'Inter', sans-serif; }
.tb { transform-box: fill-box; transform-origin: center; }
.tbb { transform-box: fill-box; transform-origin: 50% 100%; }
.limb { transform-box: fill-box; transform-origin: 50% 8px; }
.hand { transform-box: view-box; transform-origin: 0 0; }
.full { position: absolute; inset: 0; }

#logo { position: absolute; left: 104px; bottom: 46px; height: 62px; opacity: .95; transition: opacity .6s; z-index: 5; }
#logo.hide { opacity: 0; }
#counter { position: absolute; right: 64px; bottom: 50px; font-size: 22px; font-weight: 600; color: rgba(246,234,219,.42); letter-spacing: .08em; z-index: 5; font-variant-numeric: tabular-nums; }

/* controls (outside the scaled stage so they stay a fixed size) */
#ui { position: fixed; right: 24px; bottom: 24px; display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(23,4,9,.78); border: 1px solid rgba(246,234,219,.14); backdrop-filter: blur(10px); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; z-index: 20; }
#ui.show { opacity: 1; transform: none; }
#ui button { all: unset; cursor: pointer; display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 12px; color: var(--cream); font: 600 16px 'Inter'; background: rgba(246,234,219,.06); }
#ui button:hover { background: rgba(255,79,134,.25); }
#ui button svg { width: 22px; height: 22px; }
#ui .cnt { font: 600 16px 'Inter'; color: rgba(246,234,219,.7); padding: 0 8px; font-variant-numeric: tabular-nums; }
body.idle { cursor: none; }
#help { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 40; padding: 28px 34px; border-radius: 18px; background: rgba(14,2,6,.95); border: 1px solid rgba(246,234,219,.18); font: 500 18px/1.7 'Inter'; display: none; }
#help.show { display: block; } #help b { color: var(--coral); display: inline-block; min-width: 260px; }
