600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--gold:#e6c890;--muted:#a0abc3}*{box-sizing:border-box}body{margin:0;background:#080e21;color:#f7f1e4;font-family:Manrope,Arial,sans-serif;background-image:radial-gradient(ellipse at 50% 35%,#28395f88,transparent 55%),radial-gradient(ellipse at 5% 70%,#28545644,transparent 40%);min-height:100vh}body:before{content:'';position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 25%,#e1c99b66 0 1px,transparent 2px),radial-gradient(circle at 83% 45%,#c1e8ef77 0 1px,transparent 2px);background-size:181px 193px,227px 271px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a0f3ed;outline-offset:5px}main{max-width:1280px;margin:auto;padding:26px 42px 20px}header{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-family:Georgia,serif;font-size:30px;text-decoration:none;color:var(--gold);letter-spacing:4px}.brand span{font-size:18px}.demo{font-size:12px;letter-spacing:2px;color:var(--gold)}.demo span{display:block;color:var(--muted);letter-spacing:.4px;margin-top:5px}.options{display:flex;gap:8px}.options button,footer button{background:transparent;color:#bcc7db;border:1px solid #ffffff1c;border-radius:30px;padding:9px 14px;font-size:12px}.game{max-width:900px;margin:25px auto 0}.title{text-align:center;margin-bottom:27px}.eyebrow{font-size:11px;letter-spacing:4px;color:var(--gold)}h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:82px;line-height:.95;margin:10px 0 8px;letter-spacing:13px;font-weight:600;background:linear-gradient(#fff8dc,#e7c996 55%,#ab854c);background-clip:text;color:transparent;text-shadow:0 8px 40px #e0c48f22}.subtitle{display:flex;align-items:center;justify-content:center;gap:16px;letter-spacing:8px;font-size:14px;color:#e5d4b6}.subtitle i{height:1px;width:45px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.topline{display:flex;justify-content:space-between;color:#a7b2ca;font-size:11px;letter-spacing:2px;margin:0 20px 12px}.machine{position:relative;padding:15px;background:linear-gradient(135deg,#ead3a7,#5f4d32 15%,#d2b276 50%,#625638 85%,#ebd3a2);border-radius:24px;box-shadow:0 25px 70px #0009,0 0 65px #7fd6ef15,inset 0 0 0 4px #131a30}.reels{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:12px;background:#091025;border-radius:13px;position:relative;overflow:hidden}.column{display:grid;grid-template-rows:repeat(3,110px);gap:8px;background:linear-gradient(#17243d,#101b33);border:1px solid #7891b72b;border-radius:9px;overflow:hidden}.cell{position:relative;display:flex;justify-content:center;align-items:center;border-bottom:1px solid #a9c8ef0b;background:radial-gradient(ellipse,#42618c30,transparent 68%)}.gem{width:112px;height:104px;background-image:url('assets/gems.png');background-size:300% 200%;background-position:var(--x) var(--y);filter:drop-shadow(0 8px 8px #0009);transition:transform .3s}.cell.win{background:radial-gradient(ellipse,#ffd98a33,transparent);box-shadow:inset 0 0 0 2px #e6c890;border-radius:8px}.cell.win .gem{animation:celebrate .7s ease-in-out 2}.rolling .gem{filter:blur(4px);animation:roll .13s linear infinite}.ornament{position:absolute;top:48%;font-size:22px;color:#efd5a0;z-index:2;text-shadow:0 0 12px #e8cd91}.left{left:-8px}.right{right:-8px}.payline{position:absolute;top:50%;left:6px;right:6px;height:1px;pointer-events:none;background:linear-gradient(90deg,#e9c48a,transparent 8%,transparent 92%,#e9c48a)}.result{text-align:center;min-height:62px;padding:22px 10px 15px;font-size:14px;color:#c7d4e6}.result.won{color:#f8d99b;font-weight:800}.controls{display:flex;align-items:center;gap:28px;padding:21px 28px;background:linear-gradient(120deg,#202b43,#10192e);border:1px solid #e8cb992e;border-radius:18px;box-shadow:0 15px 35px #0004}.metric{flex:1}.metric span,.bet>span{font-size:10px;letter-spacing:1.4px;color:#a4b1c8;display:block;margin-bottom:9px}.metric strong{font-size:27px;font-weight:600;white-space:nowrap}.metric b{font-weight:600}.metric small{font-size:13px;color:#a8b5cc}.bet{text-align:center}.bet>div{display:flex;align-items:center;gap:16px}.bet button{border:1px solid #9db0cf33;border-radius:50%;background:#25324a;color:#e7eefb;font-size:20px;width:30px;height:30px}.bet strong{font-size:20px;min-width:26px}.spin{flex:1.4;min-height:66px;background:linear-gradient(120deg,#f8dfaa,#c19a5c);border:1px solid #fff0c5;color:#302516;font-weight:800;letter-spacing:2px;border-radius:12px;box-shadow:0 5px 0 #775936,0 8px 26px #ebc47724;display:flex;align-items:center;justify-content:center;gap:12px}.spin:hover{filter:brightness(1.09)}.spin:active{transform:translateY(3px);box-shadow:0 2px 0 #775936}.spin-icon{font-size:32px;font-weight:400}.prize{text-align:right}button:disabled{cursor:default;opacity:.5}footer{display:flex;justify-content:space-between;align-items:center;margin:18px 3px;color:#8393af;font-size:11px}footer button{padding:7px 12px}.bottom{display:flex;justify-content:space-between;margin:35px 0 0;color:#62718c;font-size:11px;letter-spacing:1px}dialog{max-width:560px;width:calc(100% - 32px);background:#172139;color:#d8e1f1;border:1px solid #c7ab77;border-radius:20px;padding:32px;box-shadow:0 30px 90px #000a}dialog::backdrop{background:#030916dd;backdrop-filter:blur(8px)}h2{font-family:Georgia,serif;font-size:29px;color:#eed4a3}dialog p{font-size:14px;line-height:1.7}.close{position:absolute;right:15px;top:10px;background:none;border:0;color:#d7dfef;font-size:28px}.ack{width:100%;background:#d8bd86;color:#28231a;border:0;border-radius:8px;padding:12px}.payout{display:flex;justify-content:space-between;font-size:14px;padding:6px 0;border-bottom:1px solid #ffffff12}#particles{position:absolute;inset:0;pointer-events:none;overflow:hidden}.spark{position:absolute;width:5px;height:5px;background:#ffe4a6;border-radius:50%;animation:spark 1s ease-out forwards}@keyframes roll{from{transform:translateY(-65px)}to{transform:translateY(65px)}}@keyframes celebrate{50%{transform:scale(1.13)}}@keyframes spark{to{transform:translate(var(--dx),var(--dy));opacity:0}}.reduced *{animation:none!important;transition:none!important}@media(max-width:680px){main{padding:18px 14px}header{gap:8px}.brand{font-size:24px}.demo{font-size:9px;letter-spacing:1px}.options{gap:5px;flex-direction:column}.options button{font-size:10px;padding:6px 9px}.game{margin-top:32px}h1{font-size:62px;letter-spacing:9px}.title{margin-bottom:25px}.machine{padding:9px;border-radius:17px}.reels{padding:6px;gap:5px}.column{grid-template-rows:repeat(3,90px);gap:3px}.gem{width:90px;height:84px}.controls{padding:17px 15px;gap:18px;display:grid;grid-template-columns:1fr 1fr}.metric strong{font-size:24px}.prize{text-align:right;grid-column:2;grid-row:1}.bet{grid-column:1;grid-row:2}.spin{grid-column:2;grid-row:2;min-height:62px}.metric span,.bet>span{font-size:9px}.bet>div{justify-content:center}.result{font-size:12px;padding:18px 0;min-height:56px}footer{flex-direction:column;gap:12px;font-size:10px}.bottom{font-size:9px;margin-top:22px;gap:20px}.topline{font-size:9px;margin:0 8px 10px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:681px) and (max-height:850px){main{padding-top:18px}.game{margin-top:12px}.title{margin-bottom:17px}h1{font-size:64px}.column{grid-template-rows:repeat(3,85px)}.gem{width:94px;height:87px}.controls{padding:14px 24px}.result{padding:16px 10px;min-height:50px}.bottom{margin-top:18px}}
/* Aurora Cascatas */
.game{max-width:810px}.title{margin-bottom:18px}h1{font-size:68px}.machine{padding:13px}.reels{grid-template-columns:repeat(5,1fr);gap:5px;padding:8px;background:radial-gradient(ellipse at center,#27355c,#10162c)}.column{grid-template-rows:repeat(5,75px);gap:4px;background:linear-gradient(#182740bb,#111a31bb);border-radius:8px}.gem{width:80px;height:74px;max-width:100%;filter:drop-shadow(0 6px 5px #0009)}.cell{border-radius:7px;background:radial-gradient(ellipse,#596ca724,transparent 72%);overflow:visible}.cell.win{box-shadow:inset 0 0 0 1px #f7d892,0 0 16px #f0c58050;background:radial-gradient(ellipse,#e9c78a55,transparent)}.cell.win .gem{animation:match-glow .45s ease-in-out infinite}.cell.pop .gem{animation:gem-pop .24s ease-in forwards}.cell.drop .gem{animation:gem-fall .36s cubic-bezier(.22,.65,.3,1.15)}.dealing .gem{animation:gem-arrive .5s both;animation-delay:var(--delay)}.payline,.ornament{display:none}.cascade-strip{min-height:35px;display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;padding:12px 8px 0;color:#7f91af;font-size:11px}.cascade-chip{background:#b3e9f014;border:1px solid #add8df27;padding:4px 8px;border-radius:20px;color:#c9e8ef;font-size:11px}.result{min-height:50px;padding:12px 0 15px;font-size:13px}.controls{padding:16px 21px;gap:20px}.metric strong{font-size:26px}.metric span,.bet>span{font-size:9px;letter-spacing:1px}.bet-options{gap:6px!important}.bet-options button{border-radius:8px;width:35px;height:36px;font-size:17px;font-weight:700;transition:background .2s,border .2s}.bet-options button[aria-pressed=true]{color:#20253a;background:#eee0b7;border-color:#fff2c5;box-shadow:0 0 15px #e3c48025}.spin{min-height:61px;letter-spacing:1px;font-size:14px}.spin:disabled{opacity:.65}.bottom{font-size:10px;letter-spacing:.3px;gap:12px}.reduced .spark{display:none}@keyframes match-glow{50%{transform:scale(1.1);filter:drop-shadow(0 0 10px #fce6ab)}}@keyframes gem-pop{30%{transform:scale(1.18)}to{transform:scale(.15);opacity:0;filter:brightness(2)}}@keyframes gem-fall{from{transform:translateY(-65px);opacity:.3}70%{transform:translateY(5px);opacity:1}to{transform:translateY(0)}}@keyframes gem-arrive{from{transform:translateY(-100px) rotate(-8deg);opacity:0}to{transform:none;opacity:1}}@media(min-width:681px) and (max-height:850px){.game{margin-top:8px}.title{margin-bottom:14px}h1{font-size:54px}.column{grid-template-rows:repeat(5,58px);gap:3px}.gem{width:65px;height:60px}.topline{margin-bottom:8px}.cascade-strip{padding-top:8px;min-height:28px}.result{min-height:40px;padding:8px 0 10px}.controls{padding:13px 20px}.bottom{margin-top:16px}}@media(max-width:680px){.game{margin-top:25px}.title{margin-bottom:20px}h1{font-size:57px;letter-spacing:7px}.reels{gap:3px;padding:4px}.machine{padding:8px;border-radius:15px}.column{grid-template-rows:repeat(5,61px);gap:2px;border-radius:5px}.gem{width:64px;height:59px}.controls{padding:15px;gap:15px}.bet-options button{width:39px;height:36px}.result{font-size:12px;line-height:1.6;min-height:55px;padding:10px 3px 13px}.cascade-strip{font-size:10px;min-height:32px}.cascade-chip{font-size:10px;padding:3px 6px}.metric strong{font-size:24px}.spin{min-height:58px;font-size:12px}.bottom{font-size:9px;flex-direction:column;align-items:center;text-align:center;gap:8px}footer{font-size:10px}dialog{padding:25px}}@media(max-width:359px){.column{grid-template-rows:repeat(5,51px)}.gem{width:52px;height:48px}.controls{padding:12px;gap:12px}.bet-options button{width:33px}.metric span{font-size:8px}}dialog{max-height:88vh;overflow:auto}
.result{font-size:14px}.embedded header,.embedded .bottom{display:none}.embedded main{padding:12px 14px}.embedded .game{margin-top:10px}@media(max-width:680px){.result{font-size:14px}.embedded .title{margin-bottom:16px}.embedded main{padding:5px 0}.embedded .game{margin-top:7px}.embedded h1{font-size:50px}}
/* Original crystal palace: actual game layers, not a background mockup. */
body{background:#071c25}.world{position:fixed;inset:0;z-index:-1;background:url('assets/aurora-palace.jpg') center 43%/cover no-repeat}.world:after{content:'';position:absolute;inset:0;background:linear-gradient(#07172733,#08172a08 30%,#071423d9)}.world-haze{position:absolute;inset:-10%;background:radial-gradient(ellipse at 20% 40%,#18dbc51a,transparent 35%),radial-gradient(ellipse at 80% 70%,#aa54ff22,transparent 40%);animation:world-breathe 12s ease-in-out infinite alternate}.world-motes{position:absolute;inset:0;background:radial-gradient(circle,#b6ffffaa 1px,transparent 3px);background-size:171px 153px;opacity:.35;animation:world-drift 25s linear infinite}.game{max-width:760px;position:relative}.title{position:relative;z-index:2;text-shadow:0 2px 14px #001721}.title h1{font-weight:700;filter:drop-shadow(0 4px 3px #03111c);background-image:linear-gradient(#fff9d9,#f4d391 45%,#b17c37 90%)}.title .eyebrow{letter-spacing:5px;color:#b6ebe8}.stage{position:relative;isolation:isolate}.guardian{position:absolute;width:260px;height:290px;object-fit:contain;right:-204px;bottom:20px;z-index:3;filter:drop-shadow(0 15px 12px #03121baa);pointer-events:none;transform-origin:50% 80%;animation:guardian-float 5s ease-in-out infinite}.machine{background:linear-gradient(125deg,#9b6637,#ffe2a0 7%,#90603f 16%,#f5ce84 50%,#8c603b 84%,#fce5ad 96%);box-shadow:0 26px 55px #0009,0 0 0 3px #031727,0 0 0 5px #d7c28b88,inset 0 0 0 3px #392b28;border-radius:25px;padding:13px}.machine:before{content:'';position:absolute;inset:7px;border:1px solid #fff6c166;border-radius:20px;pointer-events:none}.reels{background:linear-gradient(150deg,#053837e8,#09243fed 60%,#132445f5);box-shadow:inset 0 8px 24px #0008,inset 0 -2px 8px #7eefce33;border:1px solid #6bd9d73b;gap:4px;padding:8px}.column{background:transparent;border-color:#99ede916;box-shadow:inset 1px 0 0 #3f989715}.cell{background:radial-gradient(ellipse,#61bbca20,transparent 72%);border-bottom:1px solid #7ae4d522;box-shadow:inset 0 1px 5px #011d2a30}.gem{transform:scale(1.1);filter:drop-shadow(0 6px 4px #0008) saturate(1.13);}.topline{color:#d2eee9;text-shadow:0 2px 5px #000}.controls{background:linear-gradient(130deg,#073b3ce8,#0c253bea);border-color:#ebd49f66;backdrop-filter:blur(12px);box-shadow:0 16px 35px #0008,inset 0 1px 0 #b5e8db33}.result,.cascade-strip{background:#041b2bc4;backdrop-filter:blur(8px)}.cascade-strip{border-radius:12px 12px 0 0;margin-top:15px;padding:10px}.result{border-radius:0 0 12px 12px;margin-bottom:12px;padding:10px 12px}.options button,footer button{background:#061f2cbf;color:#d0e8ea}.victory-scene{position:absolute;inset:0;pointer-events:none;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;visibility:hidden;border-radius:25px;overflow:hidden;background:radial-gradient(ellipse,#092734c9,transparent 72%);transition:opacity .3s}.victory .victory-scene{opacity:1;visibility:visible}.victory-halo{position:absolute;width:260px;height:260px;border:3px solid #bffff299;border-radius:50%;box-shadow:0 0 50px #75f5d799,inset 0 0 60px #6ce8d666;animation:victory-ring 2.8s ease-out both}.victory-rays{position:absolute;inset:-40%;background:repeating-conic-gradient(from 10deg,#e6fff61a 0 9deg,transparent 9deg 24deg);animation:victory-rotate 10s linear infinite;mask-image:radial-gradient(circle,black,transparent 62%)}.victory-title{font:700 26px 'Cormorant Garamond',Georgia,serif;letter-spacing:3px;color:#fff1bb;text-shadow:0 3px 8px #000;z-index:2;animation:victory-rise .7s cubic-bezier(.2,1.6,.4,1) both}.victory-value{font-size:22px;font-weight:800;color:#e1fff7;z-index:2;text-shadow:0 3px 8px #000;margin-top:8px;animation:victory-rise .7s .15s both}.victory-jewel{position:absolute;top:50%;left:50%;width:11px;height:15px;border-radius:3px;background:linear-gradient(135deg,#fff6c5,#71ffe1 45%,#087897);filter:hue-rotate(var(--hue));box-shadow:0 0 12px #b2ffec;animation:jewel-flight 2.7s var(--delay) ease-out both}.victory .guardian{animation:guardian-cheer .7s ease-in-out 4}.spark{width:8px;height:8px;border-radius:1px;background:linear-gradient(135deg,#fff,#a2ffff,#279ac8);box-shadow:0 0 10px #b7ffef;transform:rotate(45deg)}@keyframes world-breathe{to{transform:scale(1.06) translate(2%,1%)}}@keyframes world-drift{to{background-position:30px -153px}}@keyframes guardian-float{50%{transform:translateY(-9px) rotate(2deg)}}@keyframes guardian-cheer{50%{transform:translateY(-22px) rotate(-8deg) scale(1.06)}}@keyframes victory-rise{from{transform:translateY(32px) scale(.7);opacity:0}to{transform:none;opacity:1}}@keyframes victory-ring{from{transform:scale(.15);opacity:0}35%{opacity:1}to{transform:scale(1.3);opacity:.3}}@keyframes victory-rotate{to{transform:rotate(360deg)}}@keyframes jewel-flight{from{transform:rotate(var(--angle)) translateY(0) rotate(0);opacity:0}15%{opacity:1}to{transform:rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(240deg);opacity:0}}
@media(max-width:1180px){.guardian{right:-100px;width:170px;height:220px;bottom:120px;opacity:.92}}@media(max-width:950px){.guardian{width:130px;height:150px;right:-25px;bottom:auto;top:-125px;z-index:1}.title{margin-bottom:25px}}@media(max-width:680px){.world{background-position:center top}.game{margin-top:23px}.guardian{width:100px;height:112px;top:-95px;right:-6px}.title{text-align:left;padding-left:10px;max-width:260px}.title h1{font-size:48px;letter-spacing:6px}.title .eyebrow{font-size:9px;letter-spacing:2px}.subtitle{justify-content:flex-start;font-size:11px;letter-spacing:5px}.column{grid-template-rows:repeat(5,61px)}.machine{border-radius:19px;padding:8px}.controls{margin-top:8px}.victory-title{font-size:21px;letter-spacing:1px}.victory-value{font-size:18px}.victory-halo{width:190px;height:190px}.embedded .title{margin-top:16px}.embedded .guardian{top:-85px}.embedded main{padding:7px 5px}footer span{color:#c1d5df}}
.reduced .world-motes,.reduced .world-haze{animation:none}.reduced .victory-jewel{display:none}

.victory-flame{position:absolute;width:360px;height:240px;background:url('assets/aurora-flame-strip.png') 0 center/600% 100% no-repeat;right:-35px;bottom:10px;opacity:.8;transform:rotate(-25deg);animation:flame-frames .75s steps(5) 3;mix-blend-mode:screen}.reduced .victory-flame{display:none}@keyframes flame-frames{to{background-position:100% center}}@media(min-width:1181px){.guardian{right:-235px}}@media(max-width:1180px) and (min-width:951px){.guardian{right:-135px;width:150px}}@media(max-width:680px){.victory-flame{width:240px;height:160px;right:-40px}.title{margin-bottom:15px}.title h1{font-size:44px}.title .eyebrow{letter-spacing:1.5px}.result{color:#edf7fa}.cascade-strip{color:#c0d7df}.guardian{right:3px;top:-83px;width:91px;height:105px}}

.embedded{min-height:0}.embedded .world{position:fixed}
.result{font-size:16px;line-height:1.5}dialog p{font-size:16px}footer button{font-size:14px;min-height:40px}@media(max-width:680px){.result{font-size:15px}.topline{font-size:10px;letter-spacing:1px}.metric span,.bet>span{font-size:10px}.options button{font-size:11px}.title .eyebrow{font-size:10px}}

/* Transparent fictitious currency and compact persistent round history. */
.metric strong{font-size:26px}.bet-options button{width:64px;font-size:14px}.round-history{margin-top:20px;padding:20px;background:#041b2bed;border:1px solid #87aeb34d;border-radius:14px}.round-history h2{font-size:20px;margin:0 0 8px;color:#f4db9d}.round-history p{font-size:14px;line-height:1.5;color:#d0e5e8;margin:0 0 12px}.round-history ol{list-style:none;margin:0;padding:0}.round-history li{font-size:14px;line-height:1.6;padding:10px 0;border-top:1px solid #89b7c233;font-variant-numeric:tabular-nums}.pay-table{border-collapse:collapse;width:100%;font-size:14px}.pay-table caption{text-align:left;padding:12px 0;font-weight:600}.pay-table th,.pay-table td{text-align:left;padding:10px 5px;border-bottom:1px solid #74939c66}.pay-table th{color:#ffe3ae}dialog{width:min(640px,calc(100vw - 32px));box-sizing:border-box}@media(max-width:680px){.metric strong{font-size:23px}.bet-options button{width:58px}.controls{gap:12px}.round-history{padding:15px}.pay-table{font-size:12px}.pay-table td,.pay-table th{padding:9px 3px}.victory-value{font-size:15px;text-align:center}.bet>span,.metric span{font-size:11px}}
