:root{--bg:#050607;--panel:#0a0c0f;--line:rgba(255,255,255,.11);--muted:#8f949d;--white:#f7f8fa;--green:#14f195;--violet:#9945ff;--cyan:#4be7ff;--ease:cubic-bezier(.2,.75,.2,1)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif}body{overflow:hidden}button,a{font:inherit}button{cursor:pointer}.aurora{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(circle at 50% 115%,#11151b 0,#050607 48%)}.aurora i{position:absolute;border-radius:50%;filter:blur(95px);opacity:.2;animation:drift 18s ease-in-out infinite alternate}.aurora i:nth-child(1){width:45vw;height:45vw;left:-12vw;top:-10vw;background:#16d99a}.aurora i:nth-child(2){width:48vw;height:48vw;right:-14vw;top:8vw;background:#8c45ff;animation-delay:-6s}.aurora i:nth-child(3){width:40vw;height:40vw;left:34vw;bottom:-25vw;background:#1f8cab;animation-delay:-10s}@keyframes drift{to{transform:translate3d(5vw,4vh,0) scale(1.1)}}#particles{position:fixed;inset:0;pointer-events:none;z-index:20}.boot{position:fixed;inset:0;z-index:100;background:#050607;display:grid;place-items:center;transition:opacity .18s ease,visibility 0s linear .18s}.boot img{width:64px;filter:drop-shadow(0 0 30px rgba(20,241,149,.3));animation:bootPulse .55s ease-in-out infinite alternate}@keyframes bootPulse{to{transform:scale(1.08);opacity:.72}}.boot.hidden{opacity:0;visibility:hidden}
.brand{display:flex;align-items:center;gap:13px;letter-spacing:.18em}.brand span{width:31px;height:31px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.035)}.brand img{width:19px}.brand b{font-size:12px}
.intro-scene{position:fixed;inset:0;z-index:5;padding:30px 42px 24px;display:flex;flex-direction:column;transition:transform 1.25s var(--ease),opacity .8s ease,filter 1s ease}.intro-scene::before{content:"";position:absolute;inset:10% 7%;border:1px solid rgba(255,255,255,.05);border-radius:36px;pointer-events:none}.intro-header,.intro-foot{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center}.intro-copy{position:relative;z-index:2;margin:auto;text-align:center;display:flex;flex-direction:column;align-items:center}.intro-rule{display:flex;align-items:center;gap:15px;margin-bottom:32px}.intro-rule span{width:48px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45))}.intro-rule span:last-child{transform:scaleX(-1)}.intro-rule small{font-size:9px;letter-spacing:.28em;color:#a5aab2}.intro-copy h1{margin:0;font-family:Didot,"Bodoni 72","Times New Roman",serif;font-weight:400;font-size:clamp(68px,9vw,142px);line-height:.83;letter-spacing:-.065em}.intro-copy h1 span,.intro-copy h1 em{display:block}.intro-copy h1 em{font-style:italic;background:linear-gradient(100deg,#fff 15%,#a7fff0 43%,#b99cff 72%,#fff);-webkit-background-clip:text;color:transparent;padding-right:.08em}.entry-orb{margin-top:55px;width:132px;height:132px;border-radius:50%;border:1px solid rgba(255,255,255,.16);color:#fff;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.17),transparent 27%),linear-gradient(145deg,#11151a,#080a0c);box-shadow:0 28px 80px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.16);display:grid;place-content:center;gap:5px;transition:transform .5s var(--ease),box-shadow .5s}.entry-orb::before{content:"";position:absolute;width:132px;height:132px;border-radius:50%;background:conic-gradient(from 160deg,var(--green),var(--cyan),var(--violet),transparent 75%);filter:blur(18px);opacity:.28;z-index:-1}.entry-orb span{font-size:14px;letter-spacing:.24em;margin-left:.24em}.entry-orb i{font-style:normal;color:#a9ffdf}.entry-orb:hover{transform:translateY(-6px) scale(1.025);box-shadow:0 36px 100px rgba(0,0,0,.65),0 0 55px rgba(153,69,255,.12)}.intro-foot{font-size:9px;letter-spacing:.19em;color:#6e737c}.intro-scene.exit{transform:translateY(-105%) scale(.98);opacity:0;filter:blur(10px)}
.app-stage{position:fixed;inset:0;z-index:4;opacity:0;visibility:hidden;transform:scale(1.06);transition:opacity .75s .35s ease,transform 1.15s .2s var(--ease),visibility 0s 1.2s;overflow:auto}.app-stage.active{opacity:1;visibility:visible;transform:scale(1);transition-delay:.25s,.15s,0s}.app-header{height:78px;padding:0 34px;border-bottom:1px solid rgba(255,255,255,.07);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:rgba(5,6,7,.62);backdrop-filter:blur(22px);position:sticky;top:0;z-index:30}.header-metrics{display:flex;gap:42px}.header-metrics div{display:flex;flex-direction:column;gap:5px}.header-metrics small{font-size:8px;letter-spacing:.2em;color:#767c85}.header-metrics strong{font-size:12px;font-weight:540;letter-spacing:.045em}.header-wallet{justify-self:end;border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:12px 18px;color:#fff;background:#0b0d10;font-size:10px;letter-spacing:.13em;transition:.3s}.header-wallet:hover{border-color:rgba(20,241,149,.42);background:#101419}
.experience-shell{min-height:calc(100vh - 130px);max-width:1460px;margin:0 auto;padding:38px 34px 24px;display:grid;grid-template-columns:290px minmax(0,1fr);gap:36px;align-items:center}.activity-panel{height:520px;border-left:1px solid rgba(255,255,255,.1);padding-left:24px;align-self:center}.activity-title{display:flex;align-items:center;gap:10px;margin:5px 0 23px}.activity-title span{width:6px;height:6px;background:var(--green);border-radius:50%;box-shadow:0 0 14px var(--green)}.activity-title b{font-size:9px;letter-spacing:.2em}.activity-list{display:flex;flex-direction:column}.win-row{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;gap:20px;animation:rowIn .5s var(--ease)}.win-row div{display:flex;flex-direction:column;gap:6px}.win-row span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#d6d9df}.win-row small{font-size:8px;letter-spacing:.14em;color:#646a73}.win-row strong{font-size:12px;color:#b8ffdf;font-weight:550}@keyframes rowIn{from{opacity:0;transform:translateY(-8px);filter:blur(5px)}}
.machine-stage{display:grid;place-items:center;min-width:0}.machine{width:min(880px,100%);position:relative;perspective:1200px}.machine-shadow{position:absolute;left:8%;right:8%;bottom:-44px;height:72px;background:radial-gradient(ellipse,rgba(0,0,0,.75),transparent 70%);filter:blur(14px)}.machine-crown{height:72px;margin:0 54px -1px;border:1px solid rgba(255,255,255,.13);border-bottom:0;border-radius:30px 30px 8px 8px;background:linear-gradient(180deg,#1a1d22,#0a0c0f 72%);display:flex;align-items:center;justify-content:center;gap:25px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 -15px 55px rgba(153,69,255,.07)}.crown-logo{display:flex;align-items:center;gap:12px}.crown-logo img{width:25px}.crown-logo b{font-size:11px;letter-spacing:.23em}.crown-edge{height:1px;width:100px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.16))}.crown-edge:last-child{transform:scaleX(-1)}.machine-body{position:relative;padding:22px 38px 28px;border:1px solid rgba(255,255,255,.15);border-radius:34px;background:linear-gradient(145deg,#1b1f24 0,#090b0e 21%,#12151a 55%,#07090b 100%);box-shadow:0 55px 100px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -18px 30px rgba(0,0,0,.4)}.machine-body::before{content:"";position:absolute;inset:8px;border-radius:28px;border:1px solid rgba(255,255,255,.045);pointer-events:none}.metal-rail{position:absolute;top:62px;bottom:62px;width:9px;border-radius:10px;background:linear-gradient(90deg,#020304,#4d535d 45%,#111419);box-shadow:0 0 18px rgba(0,0,0,.8)}.rail-left{left:18px}.rail-right{right:18px}.glass-reflection{position:absolute;inset:17px 28px auto;height:38%;border-radius:26px;background:linear-gradient(155deg,rgba(255,255,255,.08),transparent 36%);pointer-events:none;z-index:6}.reel-bay{height:430px;position:relative;display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.11);background:#030405;box-shadow:inset 0 20px 55px rgba(0,0,0,.96),inset 0 -20px 55px rgba(0,0,0,.96),0 12px 35px rgba(0,0,0,.55)}.reel-column{overflow:hidden;position:relative;transform:translateZ(0)}.reel-track{position:absolute;width:100%;top:0;left:0;will-change:transform}.symbol{height:142px;display:grid;place-items:center;padding:9px 12px}.symbol-plate{height:118px;width:92%;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.012) 48%,rgba(0,0,0,.28));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 12px 35px rgba(0,0,0,.25);display:grid;grid-template-columns:44px 1fr;align-items:center;padding:0 17px;gap:10px;transition:filter .35s,transform .35s,border-color .35s}.symbol img{width:35px;filter:saturate(.82) brightness(.88)}.symbol-copy{display:flex;align-items:baseline;gap:8px;justify-content:flex-start}.symbol-copy strong{font-family:"SF Pro Display",-apple-system,sans-serif;font-size:31px;font-weight:500;letter-spacing:-.045em}.symbol-copy small{font-size:9px;letter-spacing:.18em;color:#777d86}.reel-seam{background:linear-gradient(180deg,transparent,#555b65 24%,#181b20 50%,#555b65 76%,transparent);opacity:.55;z-index:5}.focus-line{position:absolute;left:2.4%;right:2.4%;height:1px;z-index:10;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8) 12%,rgba(201,255,238,.95) 50%,rgba(255,255,255,.8) 88%,transparent);box-shadow:0 0 14px rgba(20,241,149,.22)}.focus-top{top:143px}.focus-bottom{top:285px}.reel-vignette{position:absolute;inset:0;z-index:8;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.84),transparent 31%,transparent 69%,rgba(0,0,0,.84)),radial-gradient(ellipse at center,transparent 42%,rgba(0,0,0,.28) 100%)}.machine.spinning .symbol-plate{filter:blur(1.4px) brightness(.76)}.machine.won .symbol:nth-child(n) .symbol-plate{} .symbol.jackpot .symbol-plate{border-color:rgba(20,241,149,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 30px rgba(20,241,149,.12);transform:scale(1.018)}.machine-console{margin:17px 60px 0;display:flex;align-items:center;gap:18px}.spin-button{flex:1;height:64px;border-radius:18px;border:1px solid rgba(255,255,255,.13);color:#06100c;background:linear-gradient(105deg,#15d993,#54f2c1 45%,#b49aff);display:flex;align-items:center;justify-content:center;gap:18px;box-shadow:0 18px 40px rgba(20,241,149,.1),inset 0 1px 0 rgba(255,255,255,.45);font-weight:700;letter-spacing:.18em;transition:transform .25s,filter .25s}.spin-button:hover{transform:translateY(-2px);filter:brightness(1.06)}.spin-button:disabled{cursor:default;transform:none;filter:saturate(.55) brightness(.72)}.spin-button i{font-style:normal}.console-status{width:116px;height:64px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:#080a0c;display:flex;align-items:center;justify-content:center;gap:9px}.console-status i{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 12px rgba(20,241,149,.7)}.console-status span{font-size:9px;letter-spacing:.16em;color:#a4a9b0}.app-footer{height:52px;border-top:1px solid rgba(255,255,255,.065);padding:0 34px;display:flex;align-items:center;justify-content:space-between;color:#666c75;font-size:9px;letter-spacing:.14em}.app-footer nav{display:flex;gap:23px}.app-footer a{color:inherit;text-decoration:none}.app-footer a:hover{color:#fff}
.reward-backdrop{position:fixed;inset:0;z-index:80;background:rgba(3,4,5,.68);backdrop-filter:blur(16px);display:grid;align-items:end;opacity:0;visibility:hidden;transition:.45s}.reward-backdrop.open{opacity:1;visibility:visible}.reward-modal{width:min(560px,calc(100% - 24px));margin:0 auto 12px;padding:30px 34px 24px;border:1px solid rgba(255,255,255,.15);border-radius:32px;background:linear-gradient(160deg,rgba(25,28,34,.98),rgba(7,9,11,.99));box-shadow:0 -30px 100px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.14);text-align:center;transform:translateY(40px);transition:transform .55s var(--ease);position:relative}.reward-backdrop.open .reward-modal{transform:none}.modal-close{position:absolute;right:18px;top:15px;border:0;background:transparent;color:#858b94;font-size:25px}.reward-mark{width:62px;height:62px;border:1px solid var(--line);border-radius:20px;margin:0 auto 18px;display:grid;place-items:center;background:#090b0e}.reward-mark img{width:36px}.reward-modal p{font-size:10px;letter-spacing:.25em;color:#9ca1a9}.reward-modal h2{font-size:72px;line-height:1;margin:10px 0;font-weight:520;letter-spacing:-.055em}.reward-modal h2 span{font-size:18px;letter-spacing:.11em;color:#a8adb5}.reward-rule{width:80px;height:1px;background:linear-gradient(90deg,transparent,#5d636c,transparent);margin:24px auto}.reward-modal small{display:block;max-width:320px;margin:auto;color:#8d939c;line-height:1.6}.wallet-main{width:100%;height:58px;margin-top:25px;border:0;border-radius:17px;background:linear-gradient(105deg,#14f195,#87f5d1 48%,#aa8cff);color:#07100d;font-weight:750;letter-spacing:.13em}.modal-cancel{border:0;background:transparent;color:#777d86;margin-top:17px;font-size:9px;letter-spacing:.15em}
@media(max-width:980px){.app-header{grid-template-columns:1fr auto}.header-metrics{display:none}.experience-shell{grid-template-columns:1fr;padding-top:20px}.activity-panel{order:2;height:auto;border-left:0;border-top:1px solid rgba(255,255,255,.08);padding:18px 0 0}.activity-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px}.machine{max-width:760px}.reel-bay{height:382px}.symbol{height:126px}.symbol-plate{height:104px}.focus-top{top:127px}.focus-bottom{top:253px}}
@media(max-width:640px){.intro-scene{padding:24px 20px}.intro-copy h1{font-size:66px}.entry-orb{width:112px;height:112px;margin-top:42px}.entry-orb::before{width:112px;height:112px}.intro-foot span:last-child{display:none}.app-header{height:66px;padding:0 16px}.header-wallet{padding:10px 12px;font-size:8px}.experience-shell{padding:18px 12px 20px}.machine-crown{margin:0 22px;height:58px}.crown-edge{width:50px}.machine-body{padding:14px 13px 18px;border-radius:25px}.metal-rail{display:none}.reel-bay{height:330px;border-radius:17px}.symbol{height:109px;padding:7px 5px}.symbol-plate{height:90px;width:96%;grid-template-columns:28px 1fr;padding:0 8px;gap:5px;border-radius:13px}.symbol img{width:25px}.symbol-copy{gap:4px}.symbol-copy strong{font-size:21px}.symbol-copy small{font-size:7px}.focus-top{top:110px}.focus-bottom{top:219px}.machine-console{margin:13px 8px 0;gap:9px}.spin-button,.console-status{height:56px;border-radius:15px}.console-status{width:90px}.activity-list{grid-template-columns:1fr}.app-footer{padding:0 16px}.reward-modal h2{font-size:62px}}

/* FINAL ALIGNMENT + SCENE FIXES */
.intro-scene::before{display:none!important}
.intro-foot nav{display:flex;gap:24px}.intro-foot a{color:inherit;text-decoration:none;transition:color .25s}.intro-foot a:hover{color:#fff}
.app-header-left{display:flex;align-items:center;gap:14px;min-width:0}.back-button{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(9,11,14,.72);color:#dfe3e8;display:grid;place-items:center;font-size:17px;transition:transform .25s,border-color .25s,background .25s}.back-button:hover{transform:translateX(-2px);border-color:rgba(255,255,255,.28);background:#101318}
.reel-bay{--row-h:142px;height:calc(var(--row-h) * 3);grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr);align-items:stretch}
.reel-column{height:100%;min-width:0}.reel-track{top:0;left:0;width:100%;transform:translate3d(0,0,0)}
.symbol{height:var(--row-h);padding:0;display:flex;align-items:center;justify-content:center}
.symbol-plate{width:100%;height:100%;border:0;border-radius:0;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.008));box-shadow:inset 0 1px rgba(255,255,255,.045),inset 0 -1px rgba(255,255,255,.035);display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;padding:0 24px;gap:14px}
.symbol-copy{justify-content:flex-start;white-space:nowrap}.symbol-copy strong{font-variant-numeric:tabular-nums;min-width:2.7ch}.symbol-copy small{transform:translateY(-1px)}
.reel-seam{width:1px;align-self:stretch}
.focus-line{display:none!important}.payline-frame{position:absolute;z-index:11;left:0;right:0;top:var(--row-h);height:var(--row-h);pointer-events:none;border-top:1px solid rgba(220,255,244,.75);border-bottom:1px solid rgba(220,255,244,.75);box-shadow:inset 0 0 36px rgba(20,241,149,.035),0 0 18px rgba(20,241,149,.08)}
.payline-frame::before,.payline-frame::after{content:"";position:absolute;top:50%;width:8px;height:8px;border:1px solid rgba(210,255,240,.8);border-radius:50%;background:#07100d;box-shadow:0 0 14px rgba(20,241,149,.32);transform:translateY(-50%)}.payline-frame::before{left:-1px}.payline-frame::after{right:-1px}.payline-frame span{display:none}
.machine.won .payline-frame{border-color:rgba(20,241,149,.95);box-shadow:inset 0 0 55px rgba(20,241,149,.07),0 0 22px rgba(20,241,149,.12)}
.app-footer nav{display:none}
@media(max-width:980px){.reel-bay{--row-h:126px;height:calc(var(--row-h)*3)}.payline-frame{top:var(--row-h);height:var(--row-h)}}
@media(max-width:640px){.intro-foot nav{gap:14px}.app-header-left{gap:8px}.back-button{width:32px;height:32px}.reel-bay{--row-h:109px;height:calc(var(--row-h)*3)}.payline-frame{top:var(--row-h);height:var(--row-h)}.symbol-plate{grid-template-columns:28px minmax(0,1fr);padding:0 10px;gap:6px}}


/* SOLANA REEL REBUILD — aligned glass drums */
.machine-body{
  padding:18px 30px 24px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.08),transparent 16%),
    linear-gradient(160deg,#15191f 0%,#07090c 42%,#10141a 100%);
  box-shadow:0 50px 95px rgba(0,0,0,.62),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -30px 55px rgba(0,0,0,.46);
}
.reel-bay{
  --row-h:136px;
  height:calc(var(--row-h) * 3);
  border-radius:28px;
  grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(ellipse at 50% 48%,rgba(30,36,45,.45),transparent 58%),
    linear-gradient(180deg,#020304,#080a0d 48%,#020304);
  box-shadow:
    inset 0 32px 60px rgba(0,0,0,.96),
    inset 0 -32px 60px rgba(0,0,0,.96),
    inset 18px 0 40px rgba(0,0,0,.68),
    inset -18px 0 40px rgba(0,0,0,.68),
    0 18px 42px rgba(0,0,0,.5);
}
.reel-column{
  border-radius:20px;
  background:linear-gradient(90deg,rgba(255,255,255,.018),rgba(255,255,255,.04) 50%,rgba(255,255,255,.018));
  box-shadow:inset 0 0 34px rgba(0,0,0,.72);
}
.reel-seam{
  width:10px;
  background:
    linear-gradient(90deg,#020304 0%,#4a5059 42%,#11151a 52%,#4a5059 62%,#020304 100%);
  opacity:.72;
  box-shadow:0 0 22px rgba(0,0,0,.8);
}
.symbol{height:var(--row-h);padding:10px 8px;box-sizing:border-box}
.symbol-plate{
  width:100%;height:100%;
  border:1px solid rgba(255,255,255,.075);
  border-radius:22px;
  background:
    linear-gradient(148deg,rgba(255,255,255,.085),rgba(255,255,255,.018) 40%,rgba(0,0,0,.28)),
    #090b0e;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(255,255,255,.025),
    0 12px 28px rgba(0,0,0,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:0 14px;
}
.symbol img{
  width:38px;height:auto;flex:0 0 auto;
  filter:saturate(.96) brightness(1.04) drop-shadow(0 0 12px rgba(20,241,149,.09));
}
.symbol-copy{display:flex;align-items:baseline;justify-content:center;gap:8px;min-width:0}
.symbol-copy strong{
  min-width:auto;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  font-size:34px;
  font-weight:620;
  letter-spacing:-.045em;
  font-variant-numeric:tabular-nums;
  color:#f4f6f8;
}
.symbol-copy small{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
  font-size:9px;
  font-weight:650;
  letter-spacing:.16em;
  color:#8a9099;
}
.payline-frame{
  left:10px;right:10px;top:var(--row-h);height:var(--row-h);
  border:1px solid rgba(220,255,244,.5);
  border-radius:24px;
  background:linear-gradient(90deg,rgba(20,241,149,.025),rgba(153,69,255,.025));
  box-shadow:inset 0 0 46px rgba(20,241,149,.025),0 0 20px rgba(20,241,149,.055);
}
.payline-frame::before,.payline-frame::after{
  width:9px;height:9px;background:#07100d;border-color:rgba(225,255,246,.78)
}
.payline-frame::before{left:-5px}.payline-frame::after{right:-5px}
.reel-vignette{
  background:
    linear-gradient(180deg,rgba(0,0,0,.93),transparent 28%,transparent 72%,rgba(0,0,0,.93)),
    radial-gradient(ellipse at center,transparent 45%,rgba(0,0,0,.32) 100%);
}
.machine.spinning .symbol-plate{filter:blur(1.8px) brightness(.66);transform:scale(.985)}
.symbol.jackpot .symbol-plate{
  border-color:rgba(20,241,149,.62);
  background:
    linear-gradient(145deg,rgba(20,241,149,.095),rgba(153,69,255,.055) 56%,rgba(0,0,0,.24)),
    #0a0d10;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 34px rgba(20,241,149,.13);
}
.machine.won .payline-frame{border-color:rgba(214,255,242,.88);box-shadow:inset 0 0 56px rgba(20,241,149,.055),0 0 24px rgba(20,241,149,.1)}

/* Reward typography: modern, balanced, no display-serif */
.reward-modal h2{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:18px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  font-size:84px;
  font-weight:650;
  letter-spacing:-.06em;
  line-height:.95;
  margin:14px 0 12px;
}
.reward-modal h2 span{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  font-size:28px;
  font-weight:600;
  letter-spacing:-.02em;
  color:#f0f2f5;
}

@media(max-width:980px){
  .reel-bay{--row-h:124px}
  .symbol-copy strong{font-size:30px}
  .symbol img{width:34px}
}
@media(max-width:640px){
  .machine-body{padding:12px 10px 16px}
  .reel-bay{--row-h:106px;grid-template-columns:minmax(0,1fr) 5px minmax(0,1fr) 5px minmax(0,1fr);border-radius:18px}
  .reel-seam{width:5px}
  .symbol{padding:7px 4px}
  .symbol-plate{border-radius:15px;gap:6px;padding:0 5px}
  .symbol img{width:23px}
  .symbol-copy{gap:3px}
  .symbol-copy strong{font-size:21px}
  .symbol-copy small{font-size:6px;letter-spacing:.08em}
  .payline-frame{left:5px;right:5px;border-radius:17px}
  .reward-modal h2{font-size:68px;gap:12px}
  .reward-modal h2 span{font-size:23px}
}

/* FINAL SLOT POLISH — exact center, no early jackpot reveal */
.reel-bay{
  --row-h:136px;
  height:calc(var(--row-h) * 3);
}

/* Replace the oversized selection frame with one precise center payline. */
.payline-frame{
  left:18px;
  right:18px;
  top:50%;
  height:1px;
  transform:translateY(-.5px);
  border:0;
  border-radius:0;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.46) 8%,rgba(218,255,244,.78) 50%,rgba(255,255,255,.46) 92%,transparent 100%);
  box-shadow:0 0 10px rgba(20,241,149,.08);
}
.payline-frame::before,.payline-frame::after{
  content:"";
  position:absolute;
  top:50%;
  width:6px;
  height:6px;
  transform:translateY(-50%);
  border:1px solid rgba(225,255,247,.64);
  border-radius:50%;
  background:#070a0c;
  box-shadow:none;
}
.payline-frame::before{left:-3px}
.payline-frame::after{right:-3px}

/* Every symbol is neutral until all three reels have stopped. */
.symbol-plate,
.machine.spinning .symbol-plate,
.symbol.jackpot .symbol-plate{
  border-color:rgba(255,255,255,.075);
  background:linear-gradient(148deg,rgba(255,255,255,.085),rgba(255,255,255,.018) 40%,rgba(0,0,0,.28)),#090b0e;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),inset 0 -1px 0 rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.28);
}
.machine.spinning .symbol-plate{
  filter:blur(1.8px) brightness(.66);
  transform:scale(.985);
}

/* Jackpot styling is enabled only after the JS adds .won. */
.machine.won .symbol.jackpot .symbol-plate{
  filter:none;
  transform:scale(1.012);
  border-color:rgba(170,255,228,.52);
  background:linear-gradient(145deg,rgba(20,241,149,.075),rgba(153,69,255,.045) 58%,rgba(0,0,0,.22)),#0a0d10;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 0 25px rgba(20,241,149,.09);
  transition:border-color .42s ease,background .42s ease,box-shadow .42s ease,transform .42s cubic-bezier(.2,.8,.2,1);
}
.machine.won .payline-frame{
  background:linear-gradient(90deg,transparent 0%,rgba(190,255,234,.58) 8%,rgba(223,255,246,.95) 50%,rgba(190,255,234,.58) 92%,transparent 100%);
  box-shadow:0 0 13px rgba(20,241,149,.13);
}

@media(max-width:980px){
  .reel-bay{--row-h:124px}
}
@media(max-width:640px){
  .reel-bay{--row-h:106px}
  .payline-frame{left:9px;right:9px}
}

/* FINAL WIN ROW TREATMENT — no line through values. */
.payline-frame{
  top:var(--row-h)!important;
  height:var(--row-h)!important;
  left:10px!important;
  right:10px!important;
  border:1px solid transparent!important;
  border-radius:22px!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:0!important;
  transform:scale(.992)!important;
  transition:opacity .32s ease,transform .45s cubic-bezier(.2,.8,.2,1),border-color .35s ease,box-shadow .45s ease,background .45s ease!important;
}
.payline-frame::before,.payline-frame::after{
  display:none!important;
}
.machine.won .payline-frame{
  opacity:1!important;
  transform:scale(1)!important;
  border-color:rgba(205,255,239,.56)!important;
  background:
    linear-gradient(105deg,rgba(20,241,149,.075),rgba(75,231,255,.045) 48%,rgba(153,69,255,.07)),
    rgba(255,255,255,.012)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    inset 0 0 46px rgba(20,241,149,.038),
    0 0 0 1px rgba(153,69,255,.06),
    0 0 34px rgba(20,241,149,.10)!important;
}
.machine.won .reel-bay::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:9;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.11),transparent 35%,transparent 65%,rgba(0,0,0,.11));
}
.machine.won .symbol.jackpot .symbol-plate{
  border-color:rgba(206,255,240,.46)!important;
  background:linear-gradient(145deg,rgba(20,241,149,.085),rgba(153,69,255,.055) 60%,rgba(0,0,0,.18)),#0a0d10!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 24px rgba(20,241,149,.09)!important;
  transform:scale(1.012)!important;
}
.machine:not(.won) .symbol.jackpot .symbol-plate{
  border-color:transparent!important;
  box-shadow:inset 0 1px rgba(255,255,255,.045),inset 0 -1px rgba(255,255,255,.035)!important;
  transform:none!important;
}

@media(max-width:640px){
  .payline-frame{left:6px!important;right:6px!important;border-radius:16px!important}
}

/* TRUE FINAL CENTER ROW — visible at rest, exact plate alignment, unified win state */
.payline-frame{
  top:calc(var(--row-h) + 9px)!important;
  height:calc(var(--row-h) - 18px)!important;
  left:22px!important;
  right:22px!important;
  z-index:11!important;
  display:block!important;
  opacity:1!important;
  transform:none!important;
  border:1px solid rgba(224,255,246,.14)!important;
  border-radius:20px!important;
  background:linear-gradient(105deg,rgba(20,241,149,.018),rgba(75,231,255,.012) 48%,rgba(153,69,255,.018)),rgba(255,255,255,.008)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),inset 0 0 26px rgba(255,255,255,.008)!important;
  transition:border-color .42s ease,background .42s ease,box-shadow .48s ease,filter .42s ease!important;
}
.payline-frame::before,.payline-frame::after{display:none!important}

/* While the reels move, the target window stays calm and neutral. */
.machine.spinning .payline-frame{
  border-color:rgba(224,255,246,.10)!important;
  background:rgba(255,255,255,.004)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.022)!important;
}

/* The complete center row confirms the result as one unified combination. */
.machine.won .payline-frame{
  border-color:rgba(194,255,235,.72)!important;
  background:
    linear-gradient(105deg,rgba(20,241,149,.085),rgba(75,231,255,.052) 48%,rgba(153,69,255,.085)),
    rgba(255,255,255,.018)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 0 42px rgba(20,241,149,.045),
    0 0 0 1px rgba(153,69,255,.055),
    0 0 30px rgba(20,241,149,.095)!important;
}

/* No three separate glowing boxes: the shared row treatment is the hero. */
.machine.won .symbol.jackpot .symbol-plate{
  transform:none!important;
  border-color:rgba(255,255,255,.105)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.078),rgba(255,255,255,.018) 45%,rgba(0,0,0,.24)),#090b0e!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 12px 28px rgba(0,0,0,.25)!important;
}
.machine.won .symbol.jackpot img{filter:saturate(1.08) brightness(1.12) drop-shadow(0 0 10px rgba(20,241,149,.13))!important}
.machine.won .symbol.jackpot .symbol-copy strong{color:#fff;text-shadow:0 0 18px rgba(190,255,235,.09)}

@media(max-width:980px){
  .payline-frame{top:calc(var(--row-h) + 9px)!important;height:calc(var(--row-h) - 18px)!important;left:20px!important;right:20px!important}
}
@media(max-width:640px){
  .payline-frame{top:calc(var(--row-h) + 7px)!important;height:calc(var(--row-h) - 14px)!important;left:10px!important;right:10px!important;border-radius:15px!important}
}

/* FINAL PAYLINE: full-width, square edges, slightly taller than center row */
.payline-frame{
  left:0!important;
  right:0!important;
  top:calc(var(--row-h) - 10px)!important;
  height:calc(var(--row-h) + 20px)!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:1px solid rgba(214,255,242,.34)!important;
  border-bottom:1px solid rgba(214,255,242,.34)!important;
  background:linear-gradient(90deg,
    rgba(20,241,149,.035) 0%,
    rgba(64,224,208,.045) 35%,
    rgba(153,69,255,.045) 70%,
    rgba(153,69,255,.035) 100%)!important;
  box-shadow:inset 0 0 34px rgba(20,241,149,.025)!important;
}
.machine.spinning .payline-frame{
  border-top-color:rgba(214,255,242,.22)!important;
  border-bottom-color:rgba(214,255,242,.22)!important;
  background:linear-gradient(90deg,rgba(255,255,255,.015),rgba(255,255,255,.025),rgba(255,255,255,.015))!important;
  box-shadow:none!important;
}
.machine.won .payline-frame{
  border-top-color:rgba(214,255,242,.72)!important;
  border-bottom-color:rgba(214,255,242,.72)!important;
  background:linear-gradient(90deg,
    rgba(20,241,149,.12) 0%,
    rgba(74,234,205,.105) 42%,
    rgba(153,69,255,.12) 100%)!important;
  box-shadow:inset 0 0 62px rgba(20,241,149,.06),0 0 26px rgba(20,241,149,.08)!important;
}
@media(max-width:980px){
  .payline-frame{top:calc(var(--row-h) - 8px)!important;height:calc(var(--row-h) + 16px)!important}
}
@media(max-width:640px){
  .payline-frame{top:calc(var(--row-h) - 6px)!important;height:calc(var(--row-h) + 12px)!important}
}

/* =========================================================
   MOBILE FINAL — preserve original art, blend with iOS Safari
   Desktop layout is untouched.
   ========================================================= */
@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    background: #000;
    overscroll-behavior: none;
  }

  body {
    overflow: hidden !important;
  }

  /* Keep the original aurora, but let only the extreme screen edges
     fade into Safari's black chrome so there is no visible hard seam. */
  .aurora {
    inset: -2px;
    background:
      radial-gradient(circle at 50% 112%, #11151b 0, #050607 49%);
  }
  .aurora::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg,
        #000 0,
        rgba(0,0,0,.76) 22px,
        rgba(0,0,0,0) 108px,
        rgba(0,0,0,0) calc(100% - 132px),
        rgba(0,0,0,.54) calc(100% - 42px),
        #000 100%);
  }

  /* HOME: one fixed screen, never scrolls. */
  .intro-scene {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: max(104px, calc(env(safe-area-inset-bottom) + 78px));
  }

  .intro-header {
    flex: 0 0 auto;
  }

  .intro-copy {
    min-height: 0;
  }

  .intro-foot {
    flex: 0 0 auto;
    width: 100%;
    gap: 14px;
  }

  .intro-foot > span {
    white-space: nowrap;
  }

  .intro-foot nav {
    display: flex;
    gap: 14px;
    margin-left: auto;
  }

  /* APP: the body remains locked; only this scene scrolls. */
  .app-stage {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    background: transparent;
    padding-bottom: max(112px, calc(env(safe-area-inset-bottom) + 84px));
  }

  .app-header {
    top: 0;
    padding-top: env(safe-area-inset-top);
    height: calc(66px + env(safe-area-inset-top));
    background: rgba(5,6,7,.72);
  }

  .experience-shell {
    min-height: auto;
    padding-bottom: 34px;
    background: transparent !important;
  }

  .activity-panel,
  .activity-list,
  .win-row,
  .app-footer {
    background: transparent !important;
  }

  .activity-panel {
    padding-bottom: 18px;
  }

  .app-footer {
    min-height: 56px;
    padding-bottom: 0;
  }
}

/* =========================================================
   REAL FINAL POLISH
   1) Footer sits naturally near the bottom on iPhone.
   2) Reverse transition mirrors the entrance transition.
   ========================================================= */
.app-stage.active.returning{
  opacity:0!important;
  visibility:visible!important;
  transform:translateY(5%) scale(.96)!important;
  filter:blur(10px)!important;
  transition:opacity .72s ease,transform 1.05s var(--ease),filter .8s ease,visibility 0s 1.05s!important;
  pointer-events:none!important;
}
.intro-scene.returning{
  z-index:6;
}

@media (max-width:640px){
  .intro-scene{
    /* Keep the footer inside the visible page, but no longer float it
       far above Safari's bottom bar. */
    padding-bottom:max(26px, calc(env(safe-area-inset-bottom) + 12px))!important;
  }
  .intro-foot{
    transform:translateY(0)!important;
    margin-top:18px!important;
  }
}
