:root{--ink:#1f1834;--cream:#f4e8c9;--orange:#f25e32;--pink:#ed82a7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#1b1530;color:var(--cream);font-family:'DM Sans',sans-serif}.page{min-height:100vh;overflow:hidden;position:relative;background:radial-gradient(ellipse at 64% 48%,#443359 0,#252039 34%,#1b172d 72%)}.page:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:radial-gradient(#e7ceac 0.7px,transparent .7px);background-size:5px 5px}header,footer{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;margin:0 5%;height:92px;border-bottom:1px solid #ffffff24}.brand{text-decoration:none;color:#fff1d1;font-family:Unbounded,sans-serif;font-size:17px;font-weight:800;letter-spacing:-1px}.brand span:not(.brand-icon){color:#f77450}.brand-icon{font-size:25px;color:#f77450;vertical-align:middle;margin-right:6px}.brand small{display:block;font:700 7px 'DM Sans';letter-spacing:3px;padding-left:34px;color:#ad9ba7}.header-right{display:flex;align-items:center;gap:50px}.status{font-size:9px;letter-spacing:2px;font-weight:700;color:#d4c5ba}.status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b4df96;margin-right:8px;box-shadow:0 0 10px #b4df96}.header-link{font-size:10px;letter-spacing:1.5px;text-decoration:none;color:#fff4db;font-weight:700}.header-link span{font-size:18px;margin-left:12px;color:#f58761}main{min-height:calc(100vh - 160px);max-width:1600px;margin:auto;position:relative;display:flex;align-items:center;padding:45px 8% 55px}.hero-copy{position:relative;z-index:2;width:47%;padding-bottom:20px}.eyebrow{font-size:10px;letter-spacing:2.7px;color:#f69876;font-weight:700;margin-bottom:28px}.eyebrow span{display:inline-block;width:26px;height:1px;background:#f69876;vertical-align:middle;margin-right:9px}h1{font-family:Unbounded,sans-serif;font-size:clamp(48px,5.7vw,90px);line-height:1.08;letter-spacing:-.065em;margin:0;color:#f8eacb}h1 span{color:#f0714b}.hero-copy p{color:#c0b1bb;font-size:15px;line-height:1.8;max-width:330px;margin:28px 0 52px}.instruction{display:flex;align-items:center;gap:15px}.instruction-icon{border:1px solid #f08160;color:#f08160;border-radius:50%;height:43px;width:43px;display:grid;place-items:center;font-size:23px}.instruction strong,.instruction small{display:block}.instruction strong{font-size:9px;letter-spacing:1.4px}.instruction small{font-size:11px;color:#a99aa9;margin-top:7px}.stage{width:53%;height:600px;position:relative;display:flex;align-items:center;justify-content:center;perspective:1000px}.orbit{position:absolute;border:1px solid #ffffff14;border-radius:50%;width:540px;height:540px}.orbit-two{width:430px;height:430px;border-style:dashed;opacity:.7}.spark{position:absolute;color:#f9ad77}.spark-a{font-size:42px;top:75px;right:12%}.spark-b{font-size:30px;left:5%;top:185px;color:#eb7299}.spark-c{font-size:25px;bottom:100px;right:4%}.star-label{position:absolute;right:0;top:205px;font:700 9px/1.4 Unbounded;color:#f0b48f;transform:rotate(12deg);letter-spacing:1px}.star-label span{font-size:20px}.floor-shadow{position:absolute;width:340px;height:35px;bottom:36px;border-radius:50%;background:#0b0818;filter:blur(20px);opacity:.8}.pull-note{position:absolute;right:-2%;bottom:150px;color:#f3b08d;font:700 9px/1.4 Unbounded;letter-spacing:1px;transform:rotate(-8deg)}.pull-note span{display:inline-block;font-size:26px;margin-left:8px}.side-note{position:absolute;right:3%;top:45%;display:flex;align-items:center;gap:13px;writing-mode:vertical-rl;font-size:8px;letter-spacing:2px;color:#958799}.side-note div{height:50px;width:1px;background:#827283}footer{height:68px;border-top:1px solid #ffffff24;border-bottom:0;color:#9d8e9c;font-size:8px;letter-spacing:1.6px;font-weight:700}.footer-center{color:#716878}.result{position:fixed;z-index:10;left:50%;bottom:35px;transform:translate(-50%,20px);opacity:0;background:#ffe4a1;color:#6b2b43;border-radius:30px;padding:14px 25px;font:700 10px Unbounded;letter-spacing:1px;white-space:nowrap;pointer-events:none;transition:.35s}.result.show{opacity:1;transform:translate(-50%,0)}@media(max-width:850px){main{padding:65px 7% 20px;display:block}.hero-copy{width:100%;text-align:center}.eyebrow{margin-bottom:20px}.hero-copy p{margin:22px auto 25px}.instruction{justify-content:center}.stage{width:100%;height:520px}.machine-wrap{transform:scale(.85) rotate(-5deg)}.machine-wrap.jump{animation:jumpmobile .8s}@keyframes jumpmobile{0%,100%{transform:scale(.85) translateY(0) rotate(-5deg)}40%{transform:scale(.85) translateY(-55px) rotate(2deg)}70%{transform:scale(.85) translateY(-20px) rotate(-8deg)}}.orbit{width:420px;height:420px}.orbit-two{width:340px;height:340px}.side-note,.star-label{display:none}.pull-note{right:5%;bottom:110px}.floor-shadow{bottom:25px}footer{margin:0 6%}.footer-center{display:none}}@media(max-width:480px){header{height:76px}.status{display:none}.hero-copy h1{font-size:43px}.stage{height:460px}.machine-wrap{transform:scale(.72) rotate(-5deg)}.machine-wrap.jump{animation:jumpmini .8s}@keyframes jumpmini{0%,100%{transform:scale(.72) translateY(0) rotate(-5deg)}40%{transform:scale(.72) translateY(-55px) rotate(2deg)}70%{transform:scale(.72) translateY(-20px) rotate(-8deg)}}.orbit{width:340px;height:340px}.orbit-two{width:280px;height:280px}.pull-note{right:0;bottom:90px;font-size:8px}.spark-a{top:55px}.spark-b{left:0}.hero-copy p{font-size:14px}footer{font-size:7px;letter-spacing:.6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


.webgl-host{position:absolute;inset:-10px -55px -10px -30px;z-index:2;touch-action:pan-y}
#casino-canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y}
#casino-canvas:active{cursor:grabbing}
.spin-button{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);border:1px solid #f4a17688;border-radius:25px;background:#4e2843;color:#ffdeb1;padding:12px 21px;font:700 9px Unbounded,sans-serif;letter-spacing:1px;cursor:pointer;white-space:nowrap;box-shadow:0 4px 16px #140e26aa}
.spin-button:hover{background:#78384e}.spin-button:disabled{opacity:.6;cursor:wait}.spin-button:focus-visible{outline:3px solid #ffe4a4;outline-offset:4px}
.rotate-hint{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);color:#a994a6;font-size:7px;letter-spacing:1.2px;white-space:nowrap}.pull-note{pointer-events:none;z-index:3}.floor-shadow{display:none}
@media(max-width:850px){.webgl-host{inset:-30px -25px 0}.pull-note{right:0;bottom:145px}}
@media(max-width:480px){.webgl-host{inset:-25px -22px 0}.pull-note{display:none}}


.spin-button{font-size:12px;padding:11px 20px}
.result.loss{background:#f4a6b3;color:#4d2037}


.spin-button{font-size:14px}
.result{font-size:14px;line-height:1.5;white-space:normal;text-align:center;width:max-content;max-width:calc(100vw - 32px)}

/* The game owns the viewport; controls stay outside the camera frame. */
.page{height:100svh;min-height:0}
header{height:60px;margin:0 3%}
main{height:calc(100svh - 60px);min-height:0;max-width:none;padding:0}
.stage{position:absolute;inset:0;width:100%;height:100%;perspective:none}
.webgl-host{inset:0}
#casino-canvas{height:calc(100% - 68px)}
.hero-copy{position:absolute;left:3%;top:28px;width:250px;padding:0;pointer-events:none}
.hero-copy h1{font-size:32px;line-height:1.15}
.hero-copy .eyebrow,.hero-copy>p,.hero-copy .instruction{display:none}

.spin-button{bottom:16px}
.rotate-hint{bottom:8px}
.orbit,.side-note,.star-label,.pull-note,footer{display:none}
.spark-a{top:18%;right:15%}.spark-b{top:46%;left:12%}.spark-c{bottom:23%;right:10%}
.result{bottom:112px}
@media(max-width:850px){
  header{height:54px;margin:0 5%}
  main{height:calc(100svh - 54px)}
  .hero-copy{display:none}
  .webgl-host{inset:0}
  .spark-a{right:7%}.spark-b{left:5%}.spark-c{right:5%}
}
@media(max-width:480px){
  .header-right{display:none}
  .brand{font-size:14px}.brand-icon{font-size:21px}.brand small{display:none}
  .webgl-host{inset:0}
  .rotate-hint{font-size:8px;letter-spacing:.7px}

}

.sound-toggle{margin-left:auto;border:1px solid #f4a17666;border-radius:20px;background:#302239;color:#ffdeb1;padding:9px 13px;font:700 11px Unbounded,sans-serif;letter-spacing:.5px;cursor:pointer;white-space:nowrap}
.sound-toggle:hover{background:#4e2843}.sound-toggle:focus-visible{outline:3px solid #ffe4a4;outline-offset:4px}
.sound-toggle[aria-pressed="false"]{color:#b5a5b8;border-color:#ffffff30}
.header-right{margin-left:30px}
@media(max-width:850px){.header-right .status{display:none}}
@media(max-width:480px){.sound-toggle{font-size:10px;padding:8px 11px}}

.brand{display:inline-flex;align-items:center;gap:8px}
.brand .brand-icon{display:block;width:84px;height:84px;object-fit:contain;margin:0;flex-shrink:0}
.brand span.brand-name{color:#fff1d1;white-space:nowrap;font-size:1.5em}
header{height:88px}
main{height:calc(100svh - 88px)}
@media(max-width:850px){
  header{height:80px}
  main{height:calc(100svh - 80px)}
  .brand .brand-icon{width:76px;height:76px}
}

.jackpot-confetti{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}

@media(max-width:360px){
  header{margin:0 3%}
  .brand{gap:4px}
  .brand .brand-icon{width:64px;height:64px}
  .sound-toggle{padding:8px}
}
