*,:before,:after{box-sizing:border-box;margin:0;padding:0}
:root{--teal:#12aaa5;--teal-dark:#078d8c;--ink:#142d3a;--mint:#dff8f2;--white:#fff}
html,body{min-height:100%;background:#d9f5ef;color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
body{min-height:100dvh;overflow-x:hidden}button,a{font:inherit}button{border:0}.page-shell{min-height:100dvh;width:100%;display:flex;justify-content:center;background:#d9f5ef}
.game-screen{position:relative;width:min(100%,480px);min-height:100svh;min-height:100dvh;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,#fff 0%,#f4fffc 43%,transparent 75%),linear-gradient(150deg,#a6eee4 0%,#e7fbf6 53%,#c6eee7 100%)}
.game-screen:before,.game-screen:after{content:"";position:absolute;z-index:-1;pointer-events:none;width:150%;height:34%;left:-25%;border-radius:50%;background:rgba(35,185,177,.13);transform:rotate(-13deg)}.game-screen:before{top:-22%}.game-screen:after{bottom:-24%;background:rgba(255,255,255,.55);transform:rotate(-17deg)}
.space-bg{position:absolute;inset:0;z-index:-1;pointer-events:none}.nebula,.star,.light-arc{display:none}
.game-ui{position:relative;z-index:1;min-height:100dvh;width:100%;padding:max(22px,env(safe-area-inset-top)) clamp(14px,4vw,20px) max(26px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center}
.balance-panel{position:relative;width:min(73%,330px);min-height:clamp(72px,11.2vh,102px);margin-top:clamp(48px,12vh,120px);display:flex;align-items:center;justify-content:center;border-radius:28px;background:linear-gradient(180deg,#fff,#f7fbfa);border:1px solid rgba(28,126,125,.12);box-shadow:0 8px 0 rgba(51,158,151,.18),0 10px 26px rgba(24,132,126,.17)}.balance-panel:after{content:"";position:absolute;inset:5px 8%;height:30%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.8),transparent);pointer-events:none}
#balance-value{position:relative;z-index:1;color:#142c3b;font-size:clamp(2.7rem,10.5vw,4rem);font-weight:900;letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 0 #fff}.balance-panel.balance-hit{animation:balanceHit .18s ease-out}@keyframes balanceHit{0%{transform:scale(1)}50%{transform:scale(1.045)}100%{transform:scale(1)}}
.reels-frame{position:relative;width:100%;height:clamp(390px,49vh,520px);margin-top:clamp(34px,5vh,48px);padding:8px;border-radius:34px;background:#fff;border:3px solid rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(31,133,128,.18),inset 0 0 0 1px rgba(27,156,150,.2);overflow:hidden}.reels-frame:before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 22px rgba(37,158,151,.12);pointer-events:none;z-index:4}.reels-grid{position:relative;width:100%;height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;overflow:hidden;border-radius:25px;background:#f9fffd}.reel-window{position:relative;min-width:0;height:100%;overflow:hidden;background:linear-gradient(180deg,#f7fffd,#fff 50%,#f6fffc)}.reel-window+.reel-window:before{content:"";position:absolute;left:0;top:4%;bottom:4%;width:1px;background:rgba(28,155,149,.12);z-index:2}.reel-strip{display:flex;flex-direction:column;will-change:transform}.slot-symbol{height:clamp(72px,10.2vh,106px);min-height:72px;display:flex;align-items:center;justify-content:center;padding:5px}.slot-image{display:block;width:96%;height:94%;object-fit:contain;filter:drop-shadow(0 4px 3px rgba(24,67,75,.16))}.slot-image--r{width:94%;height:94%}.reel-window.is-spinning .reel-strip{animation:reelSpin .46s linear infinite}.reel-window:nth-child(2) .reel-strip{animation-duration:.51s}.reel-window:nth-child(3) .reel-strip{animation-duration:.43s}.reel-window:nth-child(4) .reel-strip{animation-duration:.49s}.reel-window:nth-child(5) .reel-strip{animation-duration:.45s}@keyframes reelSpin{from{transform:translateY(0)}to{transform:translateY(-50%)}}.reel-window.is-locking{animation:reelLock .32s ease-out}@keyframes reelLock{0%{filter:brightness(1)}45%{filter:brightness(1.2)}100%{filter:brightness(1)}}
.reel-shine{position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(180deg,rgba(255,255,255,.3),transparent 18%,transparent 82%,rgba(255,255,255,.25))}.cash-layer{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden}.banknote{position:absolute;left:50%;top:-45px;padding:7px 10px;border-radius:8px;background:linear-gradient(135deg,#ffe4a0,#c99138);border:1px solid #a87527;color:#5e3a0c;font-weight:900;font-size:13px;white-space:nowrap;box-shadow:0 3px 8px #7d672d55;animation:cashFall var(--cash-duration) ease-in forwards;transform:translateX(var(--x0)) rotate(var(--rot))}@keyframes cashFall{0%{top:-45px;transform:translateX(var(--x0)) rotate(var(--rot));opacity:0}15%{opacity:1}55%{transform:translateX(var(--x1)) rotate(var(--rot-mid))}100%{top:105%;transform:translateX(var(--x2)) rotate(var(--rot-end));opacity:0}}.reels-frame.win-glow{box-shadow:0 0 0 3px #2fc1b4,0 0 30px rgba(17,173,164,.38)}
.brand-row{width:100%;margin-top:clamp(28px,4.3vh,42px);display:flex;align-items:center;justify-content:center;gap:15px;min-height:82px}.pix-mark{width:68px;height:68px;position:relative;transform:rotate(45deg);display:grid;grid-template-columns:1fr 1fr;gap:4px}.pix-mark span{display:block;background:#13aaa5;border-radius:11px 11px 3px 11px}.pix-mark span:nth-child(2){border-radius:11px 11px 11px 3px}.pix-mark span:nth-child(3){border-radius:11px 3px 11px 11px}.pix-mark span:nth-child(4){border-radius:3px 11px 11px 11px}.brand-name{font-size:clamp(2.6rem,10vw,4rem);font-weight:300;letter-spacing:-.065em;color:#8b9b9d;line-height:1}.info-dot{position:absolute;right:5%;font-size:22px;font-family:Georgia,serif;font-style:italic;color:#607b7c;border:2px solid #80999a;width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.start-button{position:relative;width:min(72%,340px);min-height:clamp(82px,11vh,108px);margin-top:clamp(34px,5vh,54px);border-radius:32px;background:linear-gradient(180deg,#22bdb5 0%,#0b9e9b 100%);color:#fff;font-size:clamp(2.3rem,8vw,3.2rem);font-weight:900;letter-spacing:.015em;box-shadow:0 8px 0 #087f7d,0 12px 22px rgba(10,130,125,.25),inset 0 2px 0 rgba(255,255,255,.35);cursor:pointer;transition:transform .12s,filter .12s}.start-button:before{content:"";position:absolute;left:7%;right:7%;top:7px;height:30%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.2),transparent);pointer-events:none}.start-button span{position:relative;z-index:1}.start-button:hover{filter:brightness(1.06)}.start-button:active{transform:translateY(4px) scale(.985)}.start-button:disabled{opacity:.82;cursor:default;filter:saturate(.8)}.start-button:disabled:before{display:none}
.bonus-modal{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(7,54,57,.58);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}.bonus-modal.is-open{opacity:1;visibility:visible}.modal-backdrop{position:absolute;inset:0;backdrop-filter:blur(5px)}.bonus-card{position:relative;width:min(100%,410px);padding:38px 24px 30px;text-align:center;border-radius:30px;background:linear-gradient(160deg,#fafffe,#dff8f2);border:3px solid white;box-shadow:0 20px 70px #063e3c66;transform:translateY(18px) scale(.96);transition:transform .35s cubic-bezier(.2,.8,.2,1);overflow:hidden}.bonus-modal.is-open .bonus-card{transform:translateY(0) scale(1)}.popup-rays,.popup-stars{display:none}.bonus-kicker{font-size:20px;font-weight:900;letter-spacing:.1em;color:#0c9c98;margin-bottom:18px}.popup-congrats{font-size:clamp(1.2rem,5vw,1.6rem);font-weight:800;color:#1b4750;margin-bottom:18px}.bonus-title{font-size:clamp(1.5rem,6vw,2.1rem);line-height:1.25;color:#23434b;font-weight:700}.bonus-title strong{display:block;margin-top:12px;color:#079c98;font-size:clamp(1.8rem,7vw,2.5rem)}.get-bonus-button{display:flex;align-items:center;justify-content:center;min-height:64px;margin-top:26px;padding:12px 18px;border-radius:18px;background:linear-gradient(180deg,#20bcb4,#079692);box-shadow:0 6px 0 #087b79;color:#fff;text-decoration:none;font-size:20px;font-weight:900}.footer-spacer{height:0}.site-footer{width:min(100%,480px);margin:0 auto;padding:26px 22px 38px;background:#e7f8f4;color:#577273;font-size:12px}.footer-inner{max-width:420px;margin:auto}.footer-title{font-size:15px;margin-bottom:16px;color:#315c5e}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.footer-item-full{grid-column:1/-1}.footer-label{font-weight:700;margin-bottom:4px}.footer-item p,.footer-item a{color:#577273;line-height:1.5;overflow-wrap:anywhere}.footer-item a{text-decoration:none}.footer-item a:hover,.footer-item a:focus-visible{text-decoration:underline}
@media(max-height:760px){.balance-panel{margin-top:5vh}.reels-frame{height:43vh;margin-top:3vh}.slot-symbol{height:8.7vh;min-height:58px}.brand-row{margin-top:2vh;min-height:60px}.pix-mark{width:54px;height:54px}.start-button{margin-top:2vh;min-height:70px}}
@media(max-width:360px){.reels-frame{padding:5px;border-radius:25px}.reels-grid{gap:1px}.slot-symbol{padding:2px}.brand-name{font-size:2.4rem}.start-button{width:78%}.info-dot{right:2%}}


/* Mobile-first compact layout: keep the brand, reels and spin button visible. */
.game-ui{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));gap:0}
.brand-row{order:0;margin-top:0;min-height:clamp(48px,8vh,68px);gap:10px}
.pix-mark{width:clamp(38px,7vh,54px);height:clamp(38px,7vh,54px);gap:3px}
.pix-mark span{border-radius:8px 8px 2px 8px}
.brand-name{font-size:clamp(2rem,8vw,3rem)}
.info-dot{width:23px;height:23px;font-size:18px}
.balance-panel{order:1;margin-top:clamp(8px,1.5vh,14px);width:min(73%,330px);min-height:clamp(54px,8vh,72px);border-radius:22px}
#balance-value{font-size:clamp(2.2rem,9vw,3.2rem)}
.reels-frame{order:2;margin-top:clamp(10px,1.8vh,16px);height:clamp(210px,calc(100dvh - 300px),420px);min-height:0;border-radius:26px;padding:6px}
.reels-grid{border-radius:19px}
.slot-symbol{height:clamp(48px,9vh,82px);min-height:0;padding:3px}
.brand-row + .balance-panel{margin-top:clamp(8px,1.5vh,14px)}
.start-button{order:3;margin-top:clamp(12px,2vh,18px);width:min(72%,340px);min-height:clamp(58px,9vh,76px);border-radius:24px;font-size:clamp(1.9rem,7vw,2.7rem)}
@media(max-height:700px){
  .brand-row{min-height:42px}
  .pix-mark{width:34px;height:34px}
  .brand-name{font-size:1.9rem}
  .balance-panel{min-height:48px;margin-top:6px}
  #balance-value{font-size:2.1rem}
  .reels-frame{height:clamp(180px,calc(100dvh - 245px),330px);margin-top:8px}
  .slot-symbol{height:clamp(42px,8vh,62px)}
  .start-button{min-height:54px;margin-top:10px;font-size:1.8rem}
}
