@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&display=swap");

:root { color-scheme: dark; --night: var(--c_demo_12072d, #12072d); --panel: var(--c_demo_28105e, #28105e); --cyan: var(--c_demo_21daf7, #21daf7); --pink: var(--c_demo_ff3ca8, #ff3ca8); --lime: var(--c_demo_8dec28, #8dec28); --yellow: var(--c_demo_ffd42b, #ffd42b); --violet: var(--c_demo_914fff, #914fff); --var(--c_demo_ffffff, white): var(--c_demo_fffaff, #fffaff); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; overscroll-behavior: none; }
body { margin: 0; overflow: hidden; color: var(--var(--c_demo_ffffff, white)); background: radial-gradient(circle at 50% 20%, var(--c_demo_40208a, #40208a), var(--night) 58%); font-family: "Nunito", ui-rounded, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.demo { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; }
.demo::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(circle, rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.35) 1px, transparent 1.5px); background-size: 38px 38px; mask-image: linear-gradient(var(--c_demo_000000, #000), transparent 86%); }
.demo-screen { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }

.demo-intro-card { width: min(440px, 100%); overflow: hidden; border: 1px solid rgb(var(--c_demo_d3bbff-rgb, 211 187 255) / 0.36); border-radius: 34px; background: var(--c_demo_241052, #241052); box-shadow: 0 32px 100px rgb(var(--c_demo_05001a-rgb, 5 0 26) / 0.58), 0 0 0 8px rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.04); }
.demo-intro-art { position: relative; height: min(66dvh, 560px); min-height: 400px; overflow: hidden; background: radial-gradient(circle at 50% 43%, rgb(var(--c_demo_22dbf7-rgb, 34 219 247) / 0.31), transparent 29%), linear-gradient(155deg, var(--c_demo_4a1c99, #4a1c99), var(--c_demo_201052, #201052) 62%, var(--c_demo_10062c, #10062c)); }
.demo-intro-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, var(--c_demo_241052, #241052)), repeating-radial-gradient(ellipse at 50% 110%, transparent 0 55px, rgb(var(--c_demo_794cd9-rgb, 121 76 217) / 0.18) 56px 58px); pointer-events: none; }
.demo-intro-logo { position: absolute; z-index: 3; top: 24px; left: 50%; width: min(255px, 66%); height: auto; transform: translateX(-50%); filter: drop-shadow(0 13px 24px rgb(var(--c_demo_06001e-rgb, 6 0 30) / 0.46)); }
.demo-intro-mascot { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(285px, 73%); height: auto; transform: translate(-50%, -43%); filter: drop-shadow(0 28px 34px rgb(var(--c_demo_05001b-rgb, 5 0 27) / 0.44)); animation: mascot-float 3.6s ease-in-out infinite; }
.demo-label { position: absolute; z-index: 4; left: 50%; bottom: 28px; width: max-content; max-width: calc(100% - 30px); padding: 9px 15px; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.22); border-radius: 999px; background: rgb(var(--c_demo_180742-rgb, 24 7 66) / 0.73); color: var(--c_demo_8ff1ff, #8ff1ff); box-shadow: 0 12px 28px rgb(var(--c_demo_040018-rgb, 4 0 24) / 0.28); font-size: 10px; font-weight: 950; letter-spacing: .16em; transform: translateX(-50%); backdrop-filter: blur(11px); }
.intro-bubbles .pop-bubble { position: absolute; z-index: 2; }
.intro-bubbles .pop-bubble:nth-child(1) { width: 86px; height: 86px; left: -18px; top: 25%; }
.intro-bubbles .pop-bubble:nth-child(2) { width: 58px; height: 58px; right: 8%; top: 24%; }
.intro-bubbles .pop-bubble:nth-child(3) { width: 43px; height: 43px; left: 13%; bottom: 24%; }
.intro-bubbles .pop-bubble:nth-child(4) { width: 78px; height: 78px; right: -19px; bottom: 18%; }
.intro-bubbles .pop-bubble:nth-child(5) { width: 39px; height: 39px; left: 9%; top: 14%; }
.intro-bubbles .pop-bubble:nth-child(6) { width: 49px; height: 49px; right: 24%; bottom: 12%; }

.pop-bubble { display: block; border: 2px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.42); border-radius: 50%; box-shadow: inset -12px -15px 20px rgb(var(--c_demo_250757-rgb, 37 7 87) / 0.31), inset 8px 9px 13px rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.43), 0 10px 18px rgb(var(--c_demo_05001c-rgb, 5 0 28) / 0.29); animation: bubble-float 5s ease-in-out infinite; }
.pop-bubble::after { content: ""; position: absolute; width: 23%; height: 13%; left: 22%; top: 17%; border-radius: 50%; background: rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.79); transform: rotate(-25deg); }
.cyan { background: linear-gradient(145deg, var(--c_demo_b9fbff, #b9fbff), var(--c_demo_20daf7, #20daf7) 43%, var(--c_demo_0b78e3, #0b78e3)); }
.pink { background: linear-gradient(145deg, var(--c_demo_ffb8df, #ffb8df), var(--c_demo_ff3ca8, #ff3ca8) 43%, var(--c_demo_c40d7c, #c40d7c)); }
.lime { background: linear-gradient(145deg, var(--c_demo_e8ffa6, #e8ffa6), var(--c_demo_8dec28, #8dec28) 43%, var(--c_demo_3fb516, #3fb516)); }
.yellow { background: linear-gradient(145deg, var(--c_demo_fff8af, #fff8af), var(--c_demo_ffd42b, #ffd42b) 43%, var(--c_demo_ec8a0f, #ec8a0f)); }
.violet { background: linear-gradient(145deg, var(--c_demo_d6baff, #d6baff), var(--c_demo_914fff, #914fff) 43%, var(--c_demo_5020be, #5020be)); }
.demo-primary { width: calc(100% - 36px); min-height: 66px; margin: 18px; padding: 0 23px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.45); border-radius: 20px; background: linear-gradient(135deg, var(--yellow), var(--c_demo_ffae25, #ffae25) 48%, var(--c_demo_ff784b, #ff784b)); color: var(--c_demo_351260, #351260); box-shadow: 0 16px 36px rgb(var(--c_demo_ff8d1b-rgb, 255 141 27) / 0.25), inset 0 2px rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.52); font-weight: 950; text-decoration: none; cursor: pointer; }
.demo-primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.demo-primary span { font-size: 12px; }

.demo-screen--game { padding: 0; background: linear-gradient(180deg, var(--c_demo_251057, #251057), var(--c_demo_12072d, #12072d)); }
.game-shell { position: relative; width: min(100%, 520px); height: 100vh; height: 100svh; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; overflow: hidden; border-inline: 1px solid rgb(var(--c_demo_cbb1ff-rgb, 203 177 255) / 0.19); background: radial-gradient(circle at 50% 42%, rgb(var(--c_demo_20d8f7-rgb, 32 216 247) / 0.13), transparent 48%), linear-gradient(180deg, var(--c_demo_2c1266, #2c1266), var(--c_demo_160936, #160936)); box-shadow: 0 0 90px rgb(var(--c_demo_000000-rgb, 0 0 0) / 0.38); }
.game-topbar { min-height: calc(66px + env(safe-area-inset-top)); padding: max(13px, env(safe-area-inset-top)) 14px 8px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 9px; border-bottom: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.1); }
.round-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.18); border-radius: 15px; background: rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.07); color: var(--c_demo_d9ccf2, #d9ccf2); font-size: 24px; cursor: pointer; }
.sound-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sound-button[aria-pressed="false"] { color: var(--c_demo_816ea9, #816ea9); }
.game-brand { display: grid; justify-items: center; }
.game-brand img { width: 134px; height: auto; display: block; }
.game-brand span { margin-top: -3px; color: var(--c_demo_68eafd, #68eafd); font-size: 7px; font-weight: 950; letter-spacing: .2em; }
.game-stats { min-height: 67px; padding: 9px 13px; display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 8px; }
.game-stats > div { min-width: 0; padding: 9px 11px; display: grid; align-content: center; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.11); border-radius: 14px; background: rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.05); }
.game-stats small { display: block; color: var(--c_demo_8e7bb7, #8e7bb7); font-size: 7px; font-weight: 950; letter-spacing: .11em; }
.game-stats strong { display: block; margin-top: 2px; color: var(--c_demo_ffffff, #fff); font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.next-preview { width: 25px; height: 25px; margin-top: 2px; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.42); border-radius: 50%; box-shadow: inset -5px -6px 8px rgb(var(--c_demo_1d0550-rgb, 29 5 80) / 0.3), inset 3px 4px 6px rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.45); }
.game-canvas-wrap { position: relative; min-height: 0; overflow: hidden; border-block: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.09); background: linear-gradient(180deg, rgb(var(--c_demo_0d042b-rgb, 13 4 43) / 0.46), rgb(var(--c_demo_190841-rgb, 25 8 65) / 0.2)); touch-action: none; }
.game-canvas-wrap::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: radial-gradient(circle, var(--c_demo_ffffff, #fff) 1px, transparent 1.5px); background-size: 34px 34px; }
.game-canvas-wrap canvas { position: relative; z-index: 2; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.danger-label { position: absolute; z-index: 3; top: 76%; left: 50%; padding: 4px 8px; border-radius: 999px; background: rgb(var(--c_demo_ff327d-rgb, 255 50 125) / 0.15); color: var(--c_demo_ff78ae, #ff78ae); font-size: 6px; font-weight: 950; letter-spacing: .15em; transform: translateX(-50%); pointer-events: none; }
.combo-flash { position: absolute; z-index: 5; top: 47%; left: 50%; padding: 9px 15px; border-radius: 16px; background: rgb(var(--c_demo_240756-rgb, 36 7 86) / 0.67); color: var(--yellow); font-size: 24px; font-weight: 950; transform: translate(-50%, -50%) rotate(-4deg); text-shadow: 0 4px 13px var(--c_demo_2b006b, #2b006b); pointer-events: none; animation: combo-in .6s ease-out both; backdrop-filter: blur(7px); }
.game-actions { min-height: calc(116px + env(safe-area-inset-bottom)); padding: 10px 14px max(12px, env(safe-area-inset-bottom)); display: grid; align-content: center; gap: 8px; }
.game-actions p { margin: 0; color: var(--c_demo_9a88bf, #9a88bf); font-size: 9px; font-weight: 800; text-align: center; }
.game-actions p span { color: var(--cyan); }
.cashout-button { min-height: 62px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.35); border-radius: 19px; background: linear-gradient(135deg, var(--c_demo_23daf6, #23daf6), var(--c_demo_8256ff, #8256ff)); color: var(--c_demo_ffffff, #fff); box-shadow: 0 13px 28px rgb(var(--c_demo_24c2f4-rgb, 36 194 244) / 0.18), inset 0 1px rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.35); font-size: 12px; font-weight: 950; cursor: pointer; }
.cashout-button strong { padding: 8px 10px; border-radius: 11px; background: rgb(var(--c_demo_170541-rgb, 23 5 65) / 0.22); font-size: 14px; }

.demo-screen--result { overflow-y: auto; align-items: safe center; background: radial-gradient(circle at 50% 24%, rgb(var(--c_demo_ff3ba9-rgb, 255 59 169) / 0.2), transparent 23rem), rgb(var(--c_demo_10062a-rgb, 16 6 42) / 0.75); backdrop-filter: blur(12px); }
.result-card { position: relative; isolation: isolate; width: min(450px, 100%); padding: 28px 26px 23px; overflow: hidden; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.38); border-radius: 34px; background: radial-gradient(circle at 50% 0, var(--c_demo_ffffff, #fff), var(--c_demo_fff8ff, #fff8ff) 45%, var(--c_demo_f4edff, #f4edff)); color: var(--c_demo_2f145d, #2f145d); box-shadow: 0 32px 100px rgb(var(--c_demo_05001b-rgb, 5 0 27) / 0.62); text-align: center; }
.result-card.is-entering[data-outcome="cashout"] { animation: result-victory-in .58s cubic-bezier(.16,1,.3,1) both; }
.result-card.is-entering[data-outcome="lost"] { animation: result-defeat-in .58s cubic-bezier(.2,.8,.2,1) both; }
.result-card[data-outcome="cashout"] { background: radial-gradient(circle at 50% 0, var(--c_demo_ffffff, #fff) 0 20%, var(--c_demo_f5ffe5, #f5ffe5) 48%, var(--c_demo_f4edff, #f4edff) 100%); }
.result-card[data-outcome="lost"] { background: radial-gradient(circle at 50% 0, var(--c_demo_ffffff, #fff) 0 18%, var(--c_demo_eef7ff, #eef7ff) 48%, var(--c_demo_eee6fb, #eee6fb) 100%); }
.result-card > :not(.result-animation) { position: relative; z-index: 2; }
.result-animation { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.result-animation__ring { position: absolute; left: 50%; top: 67px; width: 74px; height: 74px; border: 2px solid rgb(var(--c_demo_36daf2-rgb, 54 218 242) / 0.7); border-radius: 50%; transform: translate(-50%,-50%); }
.result-card[data-outcome="cashout"] .result-animation__ring { animation: demo-victory-ring 1.05s cubic-bezier(.16,1,.3,1) both; }
.result-card[data-outcome="cashout"] .result-animation__ring--two { border-color: rgb(var(--c_demo_9ff544-rgb, 159 245 68) / 0.76); animation-delay: .17s; }
.result-card[data-outcome="lost"] .result-animation__ring { border-color: rgb(var(--c_demo_745ab9-rgb, 116 90 185) / 0.3); animation: demo-defeat-ring .9s ease-out both; }
.result-card[data-outcome="lost"] .result-animation__ring--two { animation-delay: .14s; }
.result-animation i { position: absolute; display: block; pointer-events: none; }
.result-card[data-outcome="cashout"] .result-animation i { --angle: calc(var(--i) * 30deg); left: 50%; top: 70px; width: 8px; height: 15px; border-radius: 3px; background: hsl(calc(var(--i) * 47deg) 92% 58%); box-shadow: 0 0 8px rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.68); animation: demo-victory-confetti 1.4s calc(var(--i) * 24ms) cubic-bezier(.12,.68,.18,1) both; }
.result-card[data-outcome="lost"] .result-animation i { left: var(--x); top: -20px; width: 9px; height: 9px; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.6); border-radius: 50%; background: radial-gradient(circle at 34% 27%, var(--c_demo_ffffff, #fff) 0 12%, hsl(calc(205deg + var(--i) * 7deg) 76% 72%) 28%, hsl(calc(248deg + var(--i) * 4deg) 49% 52%) 100%); box-shadow: 0 4px 11px rgb(var(--c_demo_392677-rgb, 57 38 119) / 0.18); animation: demo-defeat-bubbles 1.65s calc(var(--i) * 28ms) ease-in both; }
.result-card[data-outcome="cashout"] .result-animation i:nth-of-type(3n) { width: 6px; height: 12px; }
.result-card[data-outcome="cashout"] .result-animation i:nth-of-type(3n + 2) { width: 10px; height: 18px; }
.result-card[data-outcome="lost"] .result-animation i:nth-of-type(3n) { width: 7px; height: 7px; }
.result-card[data-outcome="lost"] .result-animation i:nth-of-type(3n + 2) { width: 11px; height: 11px; }
.result-card > img { position: relative; z-index: 2; width: 86px; height: 86px; object-fit: contain; filter: drop-shadow(0 11px 16px rgb(var(--c_demo_491789-rgb, 73 23 137) / 0.18)); }
.result-card.is-entering[data-outcome="cashout"] > img { animation: demo-victory-mascot .9s .07s cubic-bezier(.16,1.4,.3,1) both; }
.result-card.is-entering[data-outcome="lost"] > img { animation: demo-defeat-mascot .85s .05s cubic-bezier(.24,.72,.3,1) both; }
.result-card > p:first-of-type { margin: 7px 0 0; color: var(--c_demo_9a4bd6, #9a4bd6); font-size: 9px; font-weight: 950; letter-spacing: .16em; }
.result-card h2 { margin: 5px 0 18px; font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.demo-campaign { margin: 18px 0; padding: 16px; border: 1px solid var(--c_demo_dcc9f5, #dcc9f5); border-radius: 18px; background: var(--c_demo_f1e8ff, #f1e8ff); text-align: left; font-size: 13px; line-height: 1.55; }
.demo-campaign p { margin: 0 0 12px; }
.demo-campaign label { display: flex; align-items: flex-start; gap: 10px; font-weight: 800; cursor: pointer; }
.demo-campaign input { flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0; accent-color: var(--c_demo_7438c5, #7438c5); }
.demo-campaign small { display: block; margin-top: 10px; }
[data-demo-status]:not(.sr-only) { display: block; padding: 10px 18px; background: var(--c_demo_391647, #391647); color: var(--c_demo_ffe3b3, #ffe3b3); font-size: 12px; line-height: 1.5; }
.result-prize { padding: 18px 10px; border: 1px solid var(--c_demo_dcd0fa, #dcd0fa); border-radius: 23px; background: linear-gradient(145deg, var(--c_demo_ffffff, #fff), var(--c_demo_f4edff, #f4edff)); }
.result-prize small { display: block; color: var(--c_demo_8c7aa8, #8c7aa8); font-size: 8px; font-weight: 950; letter-spacing: .1em; }
.result-prize strong { display: block; margin-top: 4px; color: var(--c_demo_19a966, #19a966); font-size: clamp(3rem, 13vw, 4.35rem); font-weight: 950; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.result-card[data-outcome="lost"] .result-prize { background: linear-gradient(145deg, var(--c_demo_ffffff, #fff), var(--c_demo_eeeafa, #eeeafa)); }
.result-card[data-outcome="lost"] .result-prize strong { color: var(--c_demo_725b9b, #725b9b); }
.result-message { margin: 18px auto; max-width: 34ch; color: var(--c_demo_705f91, #705f91); font-size: 13px; line-height: 1.5; }
.demo-primary--register { width: 100%; min-height: 70px; margin: 0; font-size: 17px; }
.replay-button { min-height: 45px; margin-top: 9px; padding: 9px 18px; border: 0; border-radius: 13px; background: transparent; color: var(--c_demo_725b9b, #725b9b); font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; }
.replay-button:hover { background: var(--c_demo_eee6ff, #eee6ff); }
.result-note { display: block; margin-top: 7px; color: var(--c_demo_9889ae, #9889ae); font-size: 9px; line-height: 1.45; }
.exit-dialog { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(var(--c_demo_09021e-rgb, 9 2 30) / 0.8); backdrop-filter: blur(12px); }
.exit-dialog > div { width: min(380px, 100%); padding: 27px; border: 1px solid rgb(var(--c_demo_ffffff-rgb, 255 255 255) / 0.2); border-radius: 27px; background: var(--c_demo_2a1262, #2a1262); box-shadow: 0 25px 70px rgb(var(--c_demo_030014-rgb, 3 0 20) / 0.54); text-align: center; }
.exit-dialog > div > span { color: var(--c_demo_64e8fa, #64e8fa); font-size: 8px; font-weight: 950; letter-spacing: .15em; }
.exit-dialog h2 { margin: 7px 0 8px; }
.exit-dialog p { margin: 0 0 17px; color: var(--c_demo_ad9dcd, #ad9dcd); font-size: 13px; }
.exit-dialog .demo-primary { width: 100%; min-height: 55px; margin: 0; }
.exit-dialog .replay-button { color: var(--c_demo_c5b8de, #c5b8de); }

@keyframes mascot-float { 50% { transform: translate(-50%, -48%) rotate(2deg); } }
@keyframes bubble-float { 50% { transform: translateY(-11px) scale(1.04); } }
@keyframes combo-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.5) rotate(-10deg); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(3deg); } to { opacity: 0; transform: translate(-50%, -70%) scale(1) rotate(-4deg); } }
@keyframes result-victory-in { from { opacity: 0; transform: translateY(18px) scale(.92); filter: saturate(1.4) brightness(1.14); } to { opacity: 1; transform: none; } }
@keyframes result-defeat-in { 0% { opacity: 0; transform: translateX(-7px) scale(.97); filter: saturate(.55); } 38% { transform: translateX(5px) scale(1); } 67% { transform: translateX(-2px); } 100% { opacity: 1; transform: none; } }
@keyframes demo-victory-ring { 0% { opacity: .85; transform: translate(-50%,-50%) scale(.35); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(2.9); } }
@keyframes demo-defeat-ring { 0% { opacity: .68; transform: translate(-50%,-50%) scale(1.8); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(.45); } }
@keyframes demo-victory-confetti { 0% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--angle)) translateY(0) scale(.25); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--angle)) translateY(-138px) rotate(260deg) scale(1); } }
@keyframes demo-defeat-bubbles { 0% { opacity: 0; transform: translate3d(0,-18px,0) scale(1.12); } 17% { opacity: .6; } 100% { opacity: 0; transform: translate3d(var(--drift),440px,0) scale(.18); } }
@keyframes demo-victory-mascot { 0% { opacity: 0; transform: translateY(24px) scale(.45) rotate(-14deg); } 66% { opacity: 1; transform: translateY(-8px) scale(1.12) rotate(5deg); } 100% { transform: none; } }
@keyframes demo-defeat-mascot { 0% { opacity: 0; transform: translateY(-18px) scale(1.08) rotate(8deg); } 56% { opacity: 1; transform: translateY(8px) scale(.94) rotate(-5deg); } 100% { transform: translateY(3px) scale(.97) rotate(-2deg); filter: saturate(.78); } }

@media (max-height: 730px) {
  .demo-intro-art { min-height: 330px; height: 56dvh; }
  .demo-intro-mascot { width: min(230px, 65%); }
  .game-topbar { min-height: calc(56px + env(safe-area-inset-top)); }
  .game-stats { min-height: 58px; padding-block: 6px; }
  .game-actions { min-height: calc(102px + env(safe-area-inset-bottom)); }
  .cashout-button { min-height: 55px; }
}
@media (max-width: 370px) {
  .game-stats strong { font-size: 14px; }
  .game-brand img { width: 112px; }
  .result-card { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .result-animation { display: none; }
}
