@font-face{font-family:Inter;src:url("assets/inter-semibold-latin.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
:root{color-scheme:dark;--size:min(38svh,62vw,360px);--depth:calc(var(--size) * .065);font-family:Inter,Arial,Helvetica,sans-serif;background:#000;color:#f5f5f5}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#000}body{overflow-x:hidden;-webkit-font-smoothing:antialiased}
.page{min-height:100svh;display:grid;grid-template-rows:auto auto auto;align-content:center;gap:18px;padding:48px 20px;max-width:1200px;margin:auto}
header{text-align:center;position:relative;z-index:2}h1{font-size:clamp(22px,2.3vw,28px);font-weight:600;letter-spacing:-.045em;line-height:1.2;margin:0}
.stage{position:relative;display:grid;place-items:center;min-height:calc(var(--size) * 1.19);isolation:isolate}
.perspective{position:relative;perspective:1600px;width:var(--size);height:var(--size);z-index:2;transform:translateY(-1%)}
.coin-control{width:100%;height:100%;position:relative;touch-action:pan-y;cursor:grab;outline:none;-webkit-tap-highlight-color:transparent;border-radius:50%}
.coin-control:active{cursor:grabbing}.coin-control:focus-visible{outline:1px solid #b38a36;outline-offset:28px}
.coin{position:absolute;width:100%;height:100%;transform-style:preserve-3d;transform:rotateX(-8deg) rotateY(163deg);will-change:transform}
.face{position:absolute;inset:0;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#b78016;overflow:hidden;border:1px solid #c3902d;box-shadow:0 0 2px #fbd36a,inset 0 0 0 2px #ffe6a0}
.front{transform:translateZ(calc(var(--depth) / 2))}.back{transform:rotateY(180deg) translateZ(calc(var(--depth) / 2))}
.face img{width:102%;height:102%;position:absolute;left:-1%;top:-1%;object-fit:cover;user-select:none;pointer-events:none}
/* Both faces share the identical Bitcoin rim texture and placement. */
.front .matching-rim{width:102%;height:102%;left:-1%;top:-1%;object-fit:cover}
.front-art{position:absolute;inset:8.2%;border-radius:50%;overflow:hidden;background:#d90000}
.front .front-art img{width:122.94%;height:122.94%;left:-10.78%;top:-10.29%;object-fit:fill}
.back img{width:102%;height:102%;left:-1%;top:-1%}
.sheen{position:absolute;inset:0;border-radius:50%;background:linear-gradient(115deg,rgba(255,237,178,.22),transparent 36%,rgba(0,0,0,.04) 60%,rgba(255,202,83,.1));box-shadow:inset 0 0 2px 2px #e2ad48;pointer-events:none}
.edge{position:absolute;inset:0;transform-style:preserve-3d}
.edge-segment{position:absolute;left:50%;top:50%;width:var(--depth);height:calc(var(--size) * .0249);margin-left:calc(var(--depth) / -2);margin-top:calc(var(--size) * -.01245);background:linear-gradient(90deg,#6c3905 0%,#f7cc68 7%,#b77b19 19%,#d6a340 75%,#ffe8a5 93%,#97600e 100%);backface-visibility:hidden;-webkit-backface-visibility:hidden;border-top:1px solid #543001;border-bottom:1px solid #f8ce6a;transform-style:preserve-3d}
.aura{position:absolute;width:calc(var(--size) * 1.38);height:calc(var(--size) * 1.38);border-radius:50%;background:radial-gradient(ellipse,rgba(164,88,6,.16) 0%,rgba(146,76,3,.08) 36%,rgba(115,55,0,.025) 52%,transparent 70%);pointer-events:none}
.shadow{position:absolute;bottom:4%;width:calc(var(--size) * .56);height:18px;background:radial-gradient(ellipse,rgba(190,116,15,.11),transparent 70%);filter:blur(8px)}
.prophecy{text-align:center;position:relative;z-index:3;padding-top:12px}.prophecy p{font-size:clamp(19px,2.2vw,28px);font-weight:600;line-height:1.45;letter-spacing:-.045em;margin:0;white-space:nowrap}.prophecy p+p{margin-top:4px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){:root{--size:min(34svh,62vw,280px)}.page{padding:40px 18px;gap:20px}.prophecy{padding-top:8px}.prophecy p{font-size:clamp(16px,4.6vw,22px)}.stage{min-height:calc(var(--size) * 1.18)}h1{font-size:24px}}
@media(max-height:500px) and (min-width:600px){:root{--size:40svh}.page{padding:20px 20px 24px;gap:8px}.prophecy{padding-top:12px}.prophecy p{font-size:22px}h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.coin{will-change:auto}}
