/* KandiChains — sticker-book UI floating over a live WebGL sky */
:root {
  --blue: #35b3f5; --pink: #ff4b8b; --orange: #ff9d3c; --yellow: #ffdf3a; --lilac: #c7a2f7; --lime: #b8f03c;
  --ink: #17122b; --paper: #fffdf5;
  --shadow: var(--ink);
  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Arial Black", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, "Helvetica Neue", system-ui, sans-serif;
  --pixel: "Silkscreen", ui-monospace, "Courier New", monospace;
  --pad: clamp(18px, 4vw, 56px);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-night { --shadow: var(--pink); }
body {
  margin: 0; font-family: var(--body); font-weight: 700; color: var(--ink); line-height: 1.5;
  background: linear-gradient(#2b93ee, #a9e2ff) fixed; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pixel { font-family: var(--pixel); text-transform: uppercase; letter-spacing: .04em; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; pointer-events: none; }
main, .nav { position: relative; z-index: 1; }
html.no-webgl #gl { display: none; }

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: linear-gradient(#2b93ee, #a9e2ff); color: #fff; transition: opacity .6s ease, visibility .6s; text-shadow: 2px 2px 0 var(--ink); }
#loader.done { opacity: 0; visibility: hidden; }
.loader-beads { display: flex; gap: 10px; }
.loader-beads i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--ink); background: var(--pink); animation: bead-bounce .9s var(--ease-pop) infinite alternate; box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .15), inset 4px 4px 0 rgba(255, 255, 255, .5); }
.loader-beads i:nth-child(2) { background: var(--yellow); animation-delay: .1s; }
.loader-beads i:nth-child(3) { background: var(--blue); animation-delay: .2s; }
.loader-beads i:nth-child(4) { background: var(--lime); animation-delay: .3s; }
.loader-beads i:nth-child(5) { background: var(--orange); animation-delay: .4s; }
@keyframes bead-bounce { from { transform: translateY(10px) scale(1.05, .92); } to { transform: translateY(-16px) scale(.96, 1.06); } }

/* ---------- building blocks ---------- */
.card { background: var(--paper); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--shadow); transition: box-shadow .6s ease; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.35em; border: 3px solid var(--ink); border-radius: 999px;
  font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.1; text-decoration: none; color: var(--ink); background: var(--paper); white-space: nowrap;
  box-shadow: 5px 5px 0 var(--shadow); transition: transform .16s var(--ease-pop), box-shadow .16s ease, background .2s; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-2px, -3px) rotate(-1.5deg); box-shadow: 8px 9px 0 var(--shadow); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--shadow); }
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn small { font-family: var(--body); font-weight: 800; font-size: .72em; opacity: .75; }
.btn-sm { font-size: .95rem; padding: .6em 1.05em; box-shadow: 4px 4px 0 var(--shadow); }
.btn-yellow { background: var(--yellow); } .btn-pink { background: var(--pink); color: #fff; } .btn-blue { background: var(--blue); color: #fff; }
.btn-pink, .btn-blue { text-shadow: 1.5px 1.5px 0 var(--ink); }
.eyebrow { font-size: .82rem; color: var(--ink); background: var(--paper); display: inline-block; padding: .35em .8em; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--shadow); transform: rotate(-2deg); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 800; max-width: 34em; }
.fine { font-size: .82rem; font-weight: 700; opacity: .72; }

/* sticker headlines */
.big, .mega {
  font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: .005em; color: #fff;
  font-size: clamp(2.7rem, 8vw, 6.4rem);
  -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: .075em .085em 0 var(--ink);
}
.big.small { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.mega { font-size: clamp(3.4rem, 12.5vw, 11rem); }
.big .ch, .mega .ch { display: inline-block; transform-origin: 50% 80%; transition: transform .25s var(--ease-pop); }
.big .ch:hover { transform: translateY(-.12em) rotate(-6deg) scale(1.08); }
[data-rainbow] .ch:nth-child(4n+1) { color: var(--blue); } [data-rainbow] .ch:nth-child(4n+2) { color: var(--pink); }
[data-rainbow] .ch:nth-child(4n+3) { color: var(--orange); } [data-rainbow] .ch:nth-child(4n+4) { color: var(--yellow); }
[data-rainbow] .word { display: inline-block; white-space: nowrap; }
[data-rainbow] .ch { opacity: 0; transform: translateY(.5em) rotate(12deg) scale(.4); }
[data-rainbow].in .ch { opacity: 1; transform: none; transition: transform .55s var(--ease-pop) calc(var(--i) * 38ms), opacity .2s ease calc(var(--i) * 38ms); }
[data-rainbow].in .ch:hover { transition-delay: 0s; transform: translateY(-.12em) rotate(-6deg) scale(1.08); }

[data-reveal] { opacity: 0; transform: translateY(46px) rotate(-1.5deg) scale(.96); transition: opacity .5s ease, transform .8s var(--ease-pop); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(12px, 2.4vw, 28px); pointer-events: none; }
.nav > * { pointer-events: auto; }
.brand { width: clamp(92px, 11vw, 132px); display: block; transition: transform .3s var(--ease-pop); filter: drop-shadow(3px 4px 0 rgba(23, 18, 43, .35)); }
.brand:hover { transform: rotate(-5deg) scale(1.08); }
.logo-svg { width: 100%; height: auto; overflow: visible; }
.brand:hover .logo-letter { animation: letter-hop .5s var(--ease-pop) calc(var(--i) * 30ms); }
.logo-letter { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes letter-hop { 40% { translate: 0 -14px; } }
.nav-links { display: flex; gap: 2px; padding: 5px; background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--shadow); transition: box-shadow .6s, transform .4s var(--ease-pop); }
.nav-links a { padding: .42em .95em; border-radius: 999px; text-decoration: none; font-weight: 900; font-size: .92rem; transition: background .2s, color .2s, transform .2s var(--ease-pop); }
.nav-links a:hover { background: var(--ink); color: var(--paper); transform: rotate(-2deg) scale(1.05); }
.nav-links a.is-here { background: var(--pink); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 4px 4px 0 var(--shadow); transition: transform .16s var(--ease-pop), box-shadow .16s, background .2s; padding: 0; }
.icon-btn:hover { transform: translate(-1px, -2px) rotate(-8deg); }
.icon-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .wave { display: none; } .icon-btn[aria-pressed="true"] .wave { display: block; } .icon-btn[aria-pressed="true"] .mute { display: none; }
.icon-btn[aria-pressed="true"] { background: var(--lime); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.2vh, 24px); text-align: center; padding: 92px var(--pad) 56px; position: relative; }
.hero-stage { width: min(90vw, 940px, 118vh); aspect-ratio: 640 / 290; cursor: pointer; flex: none; }
html.no-webgl [data-logo-fallback] { cursor: default; }
.pill { display: inline-flex; align-items: center; gap: .7em; padding: .5em 1.1em; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: clamp(.8rem, 1.5vw, 1.02rem); border: 3px solid var(--ink); box-shadow: 4px 4px 0 rgba(23, 18, 43, .3); }
.pill i { font-style: normal; color: var(--yellow); animation: twinkle 1.6s ease-in-out infinite; }
.pill i:nth-of-type(2) { animation-delay: .8s; color: var(--pink); }
.pill span:nth-of-type(1) { color: var(--blue); } .pill span:nth-of-type(2) { color: var(--pink); } .pill span:nth-of-type(3) { color: var(--yellow); }
@keyframes twinkle { 50% { transform: scale(1.5) rotate(90deg); } }
.hero-sub { font-size: clamp(1.08rem, 2vw, 1.5rem); font-weight: 800; max-width: 31em; color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 3px 4px 0 var(--ink); line-height: 1.35; }
.hero-sub b { color: var(--yellow); font-weight: 900; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-cta .btn { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li { background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; padding: .28em .9em; font-size: .92rem; font-weight: 800; box-shadow: 3px 3px 0 var(--shadow); }
.chips li:nth-child(1) { transform: rotate(-2deg); } .chips li:nth-child(3) { transform: rotate(2deg); }
.chips b { font-weight: 900; }
.hint { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; font-size: .74rem; color: #fff; text-shadow: 1.5px 1.5px 0 var(--ink); animation: hint 2.4s ease-in-out infinite; white-space: nowrap; }
@keyframes hint { 50% { transform: translateY(-6px); } }
.hero > *:not(.hero-stage) { opacity: 0; transform: translateY(26px) scale(.94); }
body.ready .hero > *:not(.hero-stage) { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--ease-pop); }
body.ready .hero > :nth-child(2) { transition-delay: 1.15s; } body.ready .hero > :nth-child(3) { transition-delay: 1.3s; }
body.ready .hero > :nth-child(4) { transition-delay: 1.45s; } body.ready .hero > :nth-child(5) { transition-delay: 1.6s; } body.ready .hero > :nth-child(6) { transition-delay: 2.4s; }
html.no-webgl .hint { display: none; }

/* ---------- ribbon ---------- */
.ribbon { position: relative; z-index: 2; width: 108vw; margin: -12px 0 0 -4vw; background: var(--ink); border-block: 3px solid var(--ink); transform: rotate(-2deg); overflow: hidden; box-shadow: 0 8px 0 rgba(23, 18, 43, .25); }
.ribbon-track { display: flex; width: max-content; animation: marquee 26s linear infinite; padding: .5em 0; }
.ribbon-track span { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 2rem); white-space: nowrap; padding: 0 .55em; }
.ribbon-track span:nth-child(4n+1) { color: var(--blue); } .ribbon-track span:nth-child(4n+2) { color: var(--yellow); } .ribbon-track span:nth-child(4n+3) { color: var(--pink); } .ribbon-track span:nth-child(4n) { color: var(--orange); }
.ribbon-track i { font-style: normal; color: var(--paper); font-size: clamp(1rem, 2vw, 1.5rem); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- how it's made ---------- */
.make { height: 620vh; position: relative; }
.make-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(300px, 40%) 1fr; align-items: center; gap: 2vw; padding: 84px var(--pad) 28px; overflow: clip; }
.make-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; z-index: 2; }
.make-stage { height: min(84vh, 100%); align-self: center; }
.make-steps { display: grid; width: 100%; max-width: 440px; }
.step { grid-area: 1 / 1; background: var(--paper); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--shadow); padding: 20px 22px 22px; opacity: 0; transform: translateY(34px) rotate(3deg) scale(.92); transition: opacity .3s ease, transform .55s var(--ease-pop), box-shadow .6s; pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.step.is-on { opacity: 1; transform: rotate(-1deg); pointer-events: auto; }
.step.is-past { transform: translateY(-34px) rotate(-4deg) scale(.92); }
.step-n { font-size: .8rem; background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px; padding: .1em .7em; }
.step:nth-child(2) .step-n { background: var(--pink); color: #fff; } .step:nth-child(3) .step-n { background: var(--blue); color: #fff; } .step:nth-child(4) .step-n { background: var(--lime); } .step:nth-child(5) .step-n { background: var(--orange); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; }
.step p { font-weight: 700; font-size: 1.02rem; }
.step .btn { margin-top: 8px; }
.make-beads { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 440px; height: 34px; padding: 0 4px; }
.make-beads .string { position: absolute; left: 6px; right: 6px; top: 50%; height: 6px; translate: 0 -50%; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.make-beads .string-fill { display: block; height: 100%; width: 100%; background: var(--pink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.make-beads i { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); transition: background .25s, transform .4s var(--ease-pop); box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .12); }
.make-beads i.on { transform: scale(1.22); background: var(--yellow); }
.make-beads i.on:nth-of-type(2) { background: var(--pink); } .make-beads i.on:nth-of-type(3) { background: var(--blue); } .make-beads i.on:nth-of-type(4) { background: var(--lime); } .make-beads i.on:nth-of-type(5) { background: var(--orange); }

/* ---------- the drop ---------- */
.drop { padding: 12vh 0 6vh; }
.drop-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6vh var(--pad) 2vh; }
.drop-head .lead { color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 3px 4px 0 var(--ink); }
.product { display: grid; grid-template-columns: 1fr minmax(320px, 520px); align-items: center; gap: clamp(16px, 4vw, 64px); min-height: 100vh; padding: 8vh var(--pad); max-width: 1320px; margin: 0 auto; }
.product:nth-child(even) { grid-template-columns: minmax(320px, 520px) 1fr; }
.product:nth-child(even) .product-stage { order: 2; }
.product-stage { height: min(82vh, 760px); cursor: grab; touch-action: pan-y; position: relative; }
.product-stage:active { cursor: grabbing; }
.product-stage::after { content: "drag to spin · tap to poke"; font-family: var(--pixel); font-size: .68rem; text-transform: uppercase; position: absolute; left: 50%; bottom: 2%; translate: -50% 0; color: #fff; text-shadow: 1.5px 1.5px 0 var(--ink); white-space: nowrap; opacity: .9; }
html.no-webgl .product-stage, html.no-webgl .kandi-stage { display: none; }
.product-card { padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; position: relative; }
.product-card .kicker { font-size: .76rem; color: var(--pink); padding-right: 76px; }
.product-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.price { position: absolute; top: -26px; right: -14px; width: 96px; height: 96px; display: grid; place-items: center; font-family: var(--display); font-size: 1.9rem; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 5px 5px 0 var(--shadow); transform: rotate(12deg); animation: price-wobble 3.2s ease-in-out infinite; }
.product:nth-child(even) .price { background: var(--pink); color: #fff; text-shadow: 2px 2px 0 var(--ink); }
@keyframes price-wobble { 50% { transform: rotate(4deg) scale(1.06); } }
.specs { display: grid; gap: 6px; border-top: 3px dashed rgba(23, 18, 43, .2); padding-top: 12px; }
.specs li { display: grid; grid-template-columns: 5.2em 1fr; gap: 10px; font-size: .95rem; align-items: baseline; }
.specs b { font-family: var(--pixel); font-size: .68rem; text-transform: uppercase; opacity: .65; font-weight: 400; }
.gallery { display: grid; grid-template-columns: 1fr 64px; gap: 10px; }
.gallery-main { aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--blue); position: relative; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; animation: media-in .45s var(--ease-pop); }
@keyframes media-in { from { transform: scale(1.12) rotate(2deg); opacity: 0; } }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button { position: relative; aspect-ratio: 1; padding: 0; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--blue); transition: transform .2s var(--ease-pop), box-shadow .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { transform: scale(1.08) rotate(-3deg); }
.thumbs button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--pink); }
.thumbs .play::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(23, 18, 43, .45); font-size: 1.1rem; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline wavy var(--pink) 3px; text-underline-offset: 6px; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.buy .more { font-weight: 900; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pink); text-underline-offset: 4px; white-space: nowrap; }
.buy .more:hover { color: var(--pink); }
.buy .btn { font-size: 1.25rem; flex: 1 1 auto; }

/* ---------- after dark ---------- */
.afterdark { color: #fff; text-align: center; }
.ad-lead { min-height: 110vh; display: grid; place-items: center; padding: 10vh var(--pad); }
.ad-main { height: 240vh; }
.ad-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 80px var(--pad) 40px; }
.afterdark .eyebrow { background: var(--ink); color: var(--lime); border-color: var(--lime); box-shadow: 0 0 22px rgba(184, 240, 60, .6); }
.neon { color: var(--pink); -webkit-text-stroke: .1em #2a0a3d; text-shadow: 0 0 .12em #fff, 0 0 .35em var(--pink), 0 0 .9em var(--pink), 0 0 1.6em #b026ff; animation: neon 3.4s linear infinite; }
.mega { -webkit-text-stroke: .1em #17122b; }
@keyframes neon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .72; } }
.afterdark .lead { text-shadow: 0 2px 12px #17122b, 0 0 2px #17122b; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tags li { padding: .45em 1em; border: 2.5px solid currentColor; border-radius: 999px; font-size: .82rem; background: rgba(23, 18, 43, .55); backdrop-filter: blur(4px); }
.tags li:nth-child(1) { color: var(--pink); box-shadow: 0 0 18px rgba(255, 75, 139, .55); } .tags li:nth-child(2) { color: var(--blue); box-shadow: 0 0 18px rgba(53, 179, 245, .55); }
.tags li:nth-child(3) { color: var(--yellow); box-shadow: 0 0 18px rgba(255, 223, 58, .5); } .tags li:nth-child(4) { color: var(--lime); box-shadow: 0 0 18px rgba(184, 240, 60, .5); }

/* ---------- kandi ---------- */
.kandi { display: grid; grid-template-columns: minmax(320px, 480px) 1fr; align-items: center; gap: clamp(16px, 4vw, 60px); min-height: 110vh; padding: 12vh var(--pad); max-width: 1320px; margin: 0 auto; }
.kandi-copy { padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.kandi-stage { height: min(74vh, 660px); cursor: grab; touch-action: pan-y; }
.kandi-stage:active { cursor: grabbing; }
.field { display: grid; gap: 6px; width: 100%; }
.field span { font-size: .7rem; opacity: .7; }
.field input { width: 100%; font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: .12em; text-transform: uppercase; padding: .28em .5em; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: inset 4px 4px 0 rgba(23, 18, 43, .1); outline: none; transition: box-shadow .2s, transform .2s var(--ease-pop); }
.field input:focus { box-shadow: inset 4px 4px 0 rgba(23, 18, 43, .1), 0 0 0 4px var(--pink); transform: rotate(-.6deg); }
.kandi-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; width: 100%; }
.symbols { display: flex; gap: 6px; }
.symbols button { width: 44px; height: 44px; font-size: 1.3rem; line-height: 1; background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--shadow); transition: transform .16s var(--ease-pop), box-shadow .16s; padding: 0; }
.symbols button:hover { transform: translate(-1px, -3px) rotate(-8deg); } .symbols button:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--shadow); }
.symbols button:nth-child(1) { color: var(--pink); } .symbols button:nth-child(2) { color: #f4a900; }
#kandi-trade { font-size: 1.3rem; align-self: stretch; }

/* ---------- love ---------- */
.love { min-height: 120vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding: 14vh var(--pad); color: #fff; }
.score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score-num { font-family: var(--display); font-size: clamp(7rem, 26vw, 19rem); line-height: .82; color: var(--yellow); -webkit-text-stroke: .07em var(--ink); paint-order: stroke fill; text-shadow: .04em .05em 0 var(--ink), 0 0 .5em rgba(255, 223, 58, .55); }
.score-stars { display: flex; gap: .15em; font-size: clamp(2rem, 6vw, 4.2rem); line-height: 1; }
.score-stars i { font-style: normal; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 0 20px rgba(255, 223, 58, .8); opacity: 0; transform: scale(0) rotate(-120deg); }
.score.in .score-stars i { opacity: 1; transform: none; transition: transform .7s var(--ease-pop), opacity .2s; }
.score.in .score-stars i:nth-child(1) { transition-delay: .3s; } .score.in .score-stars i:nth-child(2) { transition-delay: .42s; } .score.in .score-stars i:nth-child(3) { transition-delay: .54s; } .score.in .score-stars i:nth-child(4) { transition-delay: .66s; } .score.in .score-stars i:nth-child(5) { transition-delay: .78s; }
.love .lead { text-shadow: 0 2px 10px #17122b; }
.quote { color: var(--ink); padding: 26px 30px; max-width: 620px; transform: rotate(-1.5deg); position: relative; }
.quote::before { content: "“"; position: absolute; top: -34px; left: 18px; font-family: var(--display); font-size: 6rem; line-height: 1; color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.quote blockquote { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.1; }
.quote figcaption { margin-top: 10px; font-weight: 800; opacity: .75; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(100%, 780px); color: var(--ink); }
.stat-grid li { padding: 16px 8px; display: grid; gap: 2px; border-radius: 22px; }
.stat-grid li:nth-child(odd) { transform: rotate(-2deg); } .stat-grid li:nth-child(even) { transform: rotate(2deg); }
.stat-grid li:nth-child(1) { background: var(--blue); } .stat-grid li:nth-child(2) { background: var(--yellow); } .stat-grid li:nth-child(3) { background: var(--pink); } .stat-grid li:nth-child(4) { background: var(--lime); }
.stat-grid b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.stat-grid span { font-family: var(--pixel); font-size: .64rem; text-transform: uppercase; }

/* ---------- faq ---------- */
.faq { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 10vh var(--pad) 14vh; }
.faq-list { display: grid; gap: 14px; width: min(100%, 780px); text-align: left; color: var(--ink); }
.faq-item { border-radius: 22px; box-shadow: 6px 6px 0 var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem; line-height: 1; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; transition: transform .3s var(--ease-pop), background .2s; }
.faq-item[open] summary::after { transform: rotate(135deg); background: var(--pink); color: #fff; }
.faq-item:nth-child(3n+2) summary::after { background: var(--blue); } .faq-item:nth-child(3n) summary::after { background: var(--lime); }
.faq-item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.15; }
.faq-item p { padding: 0 20px 18px; font-size: 1.02rem; }
.faq-item a { font-weight: 900; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 3px; }
html.no-webgl .faq { background: #0a0530; }

/* ---------- say hi / footer ---------- */
.hi { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 20px; text-align: center; padding: 30vh var(--pad) 0; }
.hi-stage { width: min(74vw, 460px, 52vh); aspect-ratio: 640 / 290; cursor: pointer; }
.hi .big { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hi .lead { color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 3px 4px 0 var(--ink); }
.socials { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.socials .btn { font-size: clamp(1.1rem, 1.9vw, 1.45rem); flex-direction: row; }
.socials .btn small { display: block; }
.foot { width: 100vw; margin-top: 4vh; background: var(--ink); color: var(--paper); padding: 30px var(--pad) 34px; display: grid; gap: 8px; justify-items: center; font-size: .9rem; border-top: 3px solid var(--ink); border-radius: 36px 36px 0 0; }
.foot-plur { color: var(--yellow); font-size: 1rem; }
.foot .fine { max-width: 46em; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 4px 0 6px; }
.foot-links a { font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255, 253, 245, .35); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.foot-links a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ---------- toasts & birthday ---------- */
.toast { position: fixed; z-index: 40; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: calc(100vw - 24px); animation: toast-in .6s var(--ease-pop); }
.toast[hidden] { display: none; }
.toast .x { border: 0; background: none; font-size: 1.6rem; line-height: 1; padding: 0 4px; }
#trade-word { font-family: var(--display); color: var(--pink); letter-spacing: .1em; }
@keyframes toast-in { from { transform: translateY(120%) rotate(4deg); } }
.bday { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(23, 18, 43, .35); backdrop-filter: blur(3px); }
.bday[hidden] { display: none; }
.bday-card { padding: clamp(24px, 4vw, 44px); max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: bday-in .8s var(--ease-pop); }
.bday-card p { font-size: 1.15rem; }
.bday-from { font-family: var(--display); font-size: 1.4rem; color: var(--pink); }
@keyframes bday-in { from { transform: scale(.2) rotate(-18deg); opacity: 0; } }
.noscript { position: relative; z-index: 5; padding: 40px; text-align: center; background: var(--paper); }

/* logo fallback (no WebGL) */
[data-logo-fallback] .logo-svg { display: none; }
html.no-webgl [data-logo-fallback] .logo-svg { display: block; filter: drop-shadow(6px 8px 0 rgba(23, 18, 43, .3)); }
html.no-webgl .make { height: auto; } html.no-webgl .make-sticky { position: static; height: auto; display: block; padding-block: 12vh; }
html.no-webgl .make-stage, html.no-webgl .make-beads { display: none; }
html.no-webgl .make-steps { gap: 18px; margin-top: 20px; } html.no-webgl .step { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
html.no-webgl .ad-main { height: auto; } html.no-webgl .afterdark { background: linear-gradient(transparent, #2a1160 30%, #0a0530); }
html.no-webgl .love { background: #0a0530; } html.no-webgl .kandi { display: none; }
html.no-webgl .product { min-height: 0; grid-template-columns: minmax(0, 560px); justify-content: center; }
html.no-webgl .hero-stage, html.no-webgl .hi-stage { aspect-ratio: auto; }
html.no-webgl .hi { background: linear-gradient(#0a0530, #4f6fe6 40%, #ffb48a); }

/* ---------- small screens ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .make-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 6px; padding: 76px 16px 14px; }
  .make-copy { gap: 10px; order: 2; }
  .make-copy .big { font-size: clamp(2rem, 9vw, 3rem); order: -1; }
  .make-copy .eyebrow { display: none; }
  .make-stage { order: 1; height: 100%; min-height: 0; }
  .make-sticky { grid-template-rows: 1fr auto; }
  .make-steps { max-width: none; } .make-beads { max-width: none; }
  .step { padding: 14px 16px 16px; border-radius: 20px; } .step p { font-size: .95rem; }
  .product, .product:nth-child(even) { grid-template-columns: 1fr; gap: 0; padding: 4vh 16px 8vh; min-height: 0; }
  .product:nth-child(even) .product-stage { order: 0; }
  .product-stage { height: 56vh; }
  .price { right: -4px; width: 82px; height: 82px; font-size: 1.6rem; }
  .kandi { grid-template-columns: 1fr; padding: 8vh 16px; gap: 0; }
  .kandi-stage { order: -1; height: 44vh; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 84px; }
  .hero-stage { width: 94vw; }
  .gallery { grid-template-columns: 1fr 54px; }
}
@media (max-width: 420px) { .btn-sm { font-size: .84rem; padding: .55em .85em; } .brand { width: 84px; } .icon-btn { width: 40px; height: 40px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track, .price, .pill i, .hint, .neon, .loader-beads i { animation: none; }
  [data-reveal], [data-rainbow] .ch { transition-duration: .01s !important; transition-delay: 0s !important; }
}
