:root{
  --bg:#0a0d19;
  --bg2:#141c36;
  --panel:#161f3a;
  --line:rgba(255,255,255,.1);
  --text:#eff5ff;
  --muted:#b7c4df;
  --gold:#f6c64d;
  --green:#8cf0b5;
  --blue:#84b6ff;
  --pink:#e0198a;
  --shadow:0 22px 55px rgba(0,0,0,.32);
  --radius:28px;
  --wrap:min(1180px,calc(100vw - 28px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);font:16px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 15% 0%,rgba(255,138,169,.16),transparent 24%),radial-gradient(circle at 100% 0%,rgba(132,182,255,.18),transparent 28%),radial-gradient(circle at 70% 20%,rgba(140,240,181,.09),transparent 24%),linear-gradient(180deg,var(--bg),var(--bg2) 40%,#0a101d 100%);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button{font:inherit}
.wrap{width:var(--wrap);margin:0 auto}
.skip{position:absolute;left:-9999px}.skip:focus{left:14px;top:14px;z-index:99;background:#fff;color:#000;padding:10px 12px;border-radius:12px}
.panel,.hero-copy,.demo-card,.table-card,.text-card,.card,.footer-main,.gallery figure,.shot{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius)}
.hero-copy,.demo-card,.table-card,.text-card,.card,.footer-main,.gallery figure,.shot{overflow:hidden}
.site-header{position:sticky;top:0;z-index:40;background:rgba(10,13,25,.78);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px;font-weight:900;letter-spacing:.01em}
.brand img{width:48px;height:48px;border-radius:14px;box-shadow:var(--shadow)}
.brand small{display:block;color:var(--muted);font-size:.83rem;font-weight:700}
.nav-links{display:flex;gap:10px;flex-wrap:wrap}
.nav-links a{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--muted);font-weight:800;font-size:.94rem}
.nav-links a:hover{color:#fff;border-color:rgba(255,255,255,.18)}
.hero{padding:34px 0 22px}
.hero-grid,.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hero-copy{padding:30px}
.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);font-weight:800;font-size:.92rem;color:var(--muted)}
h1,h2,h3{line-height:1.06;letter-spacing:-.04em}
h1{margin:16px 0 14px;font-size:clamp(2.4rem,5vw,4.9rem);max-width:11ch}
h2{margin:0;font-size:clamp(1.7rem,3vw,2.5rem)}
h3{margin:0 0 12px;font-size:1.16rem}
.lead,.section-head p,.text-card p,.card p,.footer-note,.faq p,.demo-copy p,.mini-list,.shot figcaption{color:var(--muted)}
.lead{margin:0;max-width:62ch;font-size:1.05rem}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 20px}
.btn{min-height:52px;padding:0 18px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;letter-spacing:.01em}
.btn-primary{background:linear-gradient(135deg,var(--gold),var(--green));color:#101526}
.btn-secondary{background:rgba(255,255,255,.04);border:1px solid var(--line)}
.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.stat-box{padding:14px 15px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.stat-box strong{display:block;font-size:1.16rem}
.stat-box span{display:block;color:var(--muted);font-size:.89rem}
.demo-card{display:grid;grid-template-rows:auto 1fr}
.demo-player{padding:18px 18px 0}
.demo-stage{position:relative;border-radius:22px;overflow:hidden;background:#0a0f1b;border:1px solid rgba(255,255,255,.08);aspect-ratio:16/9;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.demo-poster,.demo-embed{position:absolute;inset:0;width:100%;height:100%}
.demo-poster{object-fit:cover;object-position:center center;background:#0a0f1b;transform:scale(1.035)}
.demo-embed{border:0;background:#0d1224;opacity:0;pointer-events:none}
.demo-stage.is-live .demo-embed{opacity:1;pointer-events:auto}
.demo-stage.is-live .demo-poster{opacity:0}
.demo-overlay{position:absolute;inset:0;display:block;background:linear-gradient(180deg,rgba(10,13,25,.08),rgba(10,13,25,.18) 45%,rgba(10,13,25,.58));transition:opacity .25s ease;z-index:2}
.demo-overlay[hidden]{display:none}
.demo-play{min-height:62px;padding:0 30px;border:none;border-radius:18px;background:rgba(52,70,97,.92);color:#fff;font-weight:900;font-size:1.1rem;display:inline-flex;align-items:center;gap:12px;cursor:pointer;box-shadow:0 18px 35px rgba(0,0,0,.35);backdrop-filter:blur(6px)}
.demo-play svg{width:22px;height:22px;fill:currentColor}
.demo-copy{padding:18px 22px 22px}
.demo-expand{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(7,13,25,.6);color:#fff;font-size:22px;font-weight:900;display:grid;place-items:center;cursor:pointer;z-index:4;backdrop-filter:blur(6px)}
.demo-expand[hidden]{display:none}
.demo-actions{position:absolute;left:14px;right:14px;bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:4;pointer-events:none}
.demo-actions[hidden]{display:none}
.demo-minimize,.demo-real{pointer-events:auto;min-height:48px;padding:0 18px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.48);color:#fff;font-weight:800;display:inline-flex;align-items:center;justify-content:center;backdrop-filter:blur(6px)}
.demo-real{margin-left:auto;background:var(--pink);border-color:var(--pink)}
.demo-stage:fullscreen,.demo-stage:-webkit-full-screen{border-radius:0;border:none}
.demo-stage.is-fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0;border:none}
.demo-stage.is-fullscreen .demo-actions{left:22px;right:22px;bottom:22px}
.section-head{margin:18px 0 16px}
.section-head p{margin:8px 0 0}
.table-card,.text-card,.shot{padding:22px}
.text-card p:last-child,.card p:last-child,.footer-note:last-child{margin-bottom:0}
table{width:100%;border-collapse:collapse}
thead th{text-align:left;padding:0 0 14px;font-size:1.25rem;font-weight:900;color:#fff}
tbody tr{border-top:1px solid rgba(255,255,255,.08)}
tbody td{padding:10px 0;vertical-align:top}
tbody td:first-child{font-weight:800;color:#fff;padding-right:16px;width:34%}
#overview,#features,#symbols,#bets,#gallery,#faq{padding-top:8px;padding-bottom:8px}
.card{padding:20px}
.card .icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,rgba(246,198,77,.25),rgba(132,182,255,.22));border:1px solid rgba(255,255,255,.1);margin-bottom:14px}
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.gallery figure{margin:0}
.gallery img,.shot img{width:100%;border-radius:20px;object-fit:cover}
.gallery figure{padding:14px}
.gallery figcaption,.shot figcaption{padding:14px 6px 4px}
.faq{display:grid;gap:14px}
.faq details{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:22px;padding:18px 20px;box-shadow:var(--shadow)}
.faq summary{cursor:pointer;font-weight:900;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.site-footer{margin-top:28px}
.footer-main{padding:24px;display:grid;grid-template-columns:1.3fr .7fr;gap:24px}
.footer-links{display:grid;gap:10px;align-content:start}
.footer-links a{color:var(--muted);font-weight:800}
.footer-bottom{margin-top:18px;border-top:1px solid rgba(255,255,255,.08);padding:18px 0 26px;background:rgba(0,0,0,.18)}
.footer-bottom-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.95rem}
@media (max-width: 980px){
  .hero-grid,.grid-2,.grid-3,.gallery,.footer-main{grid-template-columns:1fr}
  h1{max-width:none}
  .stat-strip{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .nav{flex-direction:column;align-items:flex-start}
  .nav-links{width:100%}
  .nav-links a{flex:1 1 calc(50% - 10px);text-align:center}
  .btn{width:100%}
  .hero-copy,.table-card,.text-card,.shot,.footer-main{padding:18px}
  .demo-player{padding:14px 14px 0}
  .demo-play{padding:0 22px}
  .demo-actions{left:10px;right:10px;bottom:10px}
  .demo-minimize,.demo-real{min-height:42px;padding:0 14px;font-size:.92rem}
  .stat-strip{grid-template-columns:1fr 1fr}
  tbody td:first-child{width:auto}
}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}


body.demo-open{overflow:hidden}
.menu-toggle{display:none!important;width:48px;height:48px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.04);align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.menu-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#fff}
.demo-stage.is-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;z-index:9999;background:#000;border-radius:0!important;border:none!important}
.demo-stage.is-fullscreen .demo-embed{position:absolute;inset:0;width:100%;height:100%}
.demo-stage.is-fullscreen .demo-actions{position:absolute;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:10000}
.demo-stage.is-fullscreen .demo-expand{top:max(10px,env(safe-area-inset-top));}
@media (max-width: 640px){
  .site-header{padding:8px 0}
  .nav{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}
  .brand{flex:1;min-width:0}
  .brand span{font-size:1.05rem;line-height:1.1}
  .brand small{margin-top:4px}
  .menu-toggle{display:inline-flex!important}
  .nav-links{display:none;position:absolute;left:14px;right:14px;top:calc(100% + 8px);padding:14px;border-radius:24px;background:rgba(10,13,25,.96);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow);z-index:50}
  .nav-links.is-open{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .nav-links a{display:flex;justify-content:center;align-items:center;min-height:72px;padding:0 10px;border-radius:24px;font-size:1.05rem}
  .nav-links a:last-child{grid-column:1/-1}
  .hero{padding-top:20px}
  .demo-stage{aspect-ratio:16/10}
  .demo-copy{padding-top:14px}
  .demo-stage.is-fullscreen .demo-actions{gap:10px}
  .demo-minimize,.demo-real{min-height:44px;padding:0 12px;font-size:.9rem}
}

:root{--demo-control-h:76px;--demo-control-gap:12px}
.site-header{position:sticky}
.demo-stage.is-fullscreen .demo-embed,
.demo-stage.is-fullscreen .demo-poster,
.demo-stage.is-fullscreen .demo-overlay{
  inset:0 0 calc(var(--demo-control-h) + var(--demo-control-gap) + env(safe-area-inset-bottom)) 0!important;
  height:auto!important;
}
.demo-stage.is-fullscreen .demo-overlay{display:grid!important}
.demo-stage.is-fullscreen .demo-actions{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:calc(var(--demo-control-h) + env(safe-area-inset-bottom));
  padding:12px 14px calc(12px + env(safe-area-inset-bottom));
  background:rgba(0,0,0,.92);
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  z-index:10001;
}
.demo-stage.is-fullscreen .demo-minimize,
.demo-stage.is-fullscreen .demo-real{
  min-height:52px;
  flex:1 1 0;
  max-width:220px;
}
@media (max-width: 640px){
  :root{--demo-control-h:84px}
  .demo-stage.is-fullscreen{height:100svh!important;height:100dvh!important}
  .demo-stage.is-fullscreen .demo-actions{padding-left:10px;padding-right:10px;gap:10px}
  .demo-stage.is-fullscreen .demo-minimize,
  .demo-stage.is-fullscreen .demo-real{min-height:48px;max-width:none;font-size:.95rem}
}
.demo-overlay-actions{position:absolute!important;inset:0!important;padding:18px!important;z-index:3}
.demo-real-preview{position:absolute!important;left:18px!important;right:18px!important;bottom:18px!important;display:flex!important;align-items:center;justify-content:center;min-height:52px;padding:0 20px;border-radius:16px;border:1px solid rgba(255,255,255,.16);background:rgba(17,22,36,.34);color:#fff;font-weight:800;text-decoration:none;backdrop-filter:blur(8px);box-shadow:0 12px 28px rgba(0,0,0,.24);z-index:3}
.demo-play{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-64%)!important;white-space:nowrap;z-index:4}
.demo-real-preview:hover{transform:translateY(-1px)}
.ios-demo-bar{position:fixed;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:rgba(0,0,0,.94);border-top:1px solid rgba(255,255,255,.10);z-index:10001}
.ios-demo-bar[hidden]{display:none}
body.demo-open-ios{overflow:hidden}
body.demo-open-ios .site-header,body.demo-open-ios main,body.demo-open-ios .site-footer{pointer-events:none}
body.demo-open-ios .demo-player.is-ios-fullscreen{position:fixed;inset:0;z-index:10000;padding:0;background:#000;display:block}
body.demo-open-ios .demo-player.is-ios-fullscreen .demo-stage{position:fixed;left:0;right:0;top:0;height:calc(100dvh - 84px - env(safe-area-inset-bottom));width:100vw;max-width:none;border-radius:0;border:none;aspect-ratio:auto;z-index:10000;background:#000}
body.demo-open-ios .demo-player.is-ios-fullscreen .demo-embed{position:absolute;inset:0;width:100%;height:100%;border:0}
body.demo-open-ios .demo-player.is-ios-fullscreen .demo-actions{display:none!important}
body.demo-open-ios .demo-player.is-ios-fullscreen .demo-expand{display:none!important}
body.demo-open-ios .demo-player.is-ios-fullscreen .demo-overlay{display:none!important}

@media (max-width: 640px){ body.demo-open-ios .demo-player.is-ios-fullscreen .demo-stage{height:calc(100dvh - 78px - env(safe-area-inset-bottom));}}

@media (max-width: 640px){
  .demo-play{transform:translate(-50%,-62%);padding:0 24px;min-height:58px;font-size:1rem}
  .demo-real-preview{left:14px;right:14px;bottom:14px;min-height:48px;font-size:.95rem}
}

.demo-overlay::after{content:"";position:absolute;left:0;right:0;bottom:0;height:96px;background:linear-gradient(to top,rgba(6,10,20,.58),rgba(6,10,20,0));pointer-events:none}


/* preview polish override */
.demo-player,.demo-stage{overflow:hidden}
.demo-stage{background:#0a0f1b}
.demo-poster{
  width:calc(100% + 42px)!important;
  max-width:none!important;
  height:100%!important;
  margin-left:-21px!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
  opacity:1;
}
.demo-stage.is-live .demo-poster{opacity:0!important}
.demo-overlay{background:linear-gradient(180deg,rgba(10,13,25,.08),rgba(10,13,25,.14) 44%,rgba(10,13,25,.48) 78%,rgba(10,13,25,.72) 100%)!important}
.demo-overlay-actions{
  position:absolute!important;
  inset:0!important;
  padding:18px!important;
  z-index:3!important;
}
.demo-play{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-62%)!important;
  z-index:4!important;
}
.demo-real-preview{
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  bottom:18px!important;
  width:auto!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:16px!important;
  background:rgba(18,24,38,.38)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  text-decoration:none!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.2)!important;
  z-index:3!important;
}
.demo-real-preview:hover{background:rgba(18,24,38,.5)!important}
@media (max-width: 640px){
  .demo-play{transform:translate(-50%,-68%)!important}
  .demo-real-preview{left:14px!important;right:14px!important;bottom:14px!important;min-height:48px!important;font-size:.95rem!important}
}


/* preview hardfix */
#demo-stage.is-live .demo-overlay{display:none !important;}
#demo-stage.is-live .demo-embed{opacity:1 !important;pointer-events:auto !important;}
#demo-stage .demo-embed{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;pointer-events:none;background:#0d1224;z-index:2;}
@media (max-width:640px){
  #demo-cta-hardfix{width:min(280px,calc(100% - 24px)) !important;}
  #demo-cta-hardfix .demo-play,
  #demo-cta-hardfix .demo-real-preview{width:230px !important;}
}



/* FINAL DESKTOP/OVERLAY FIX */
#demo-cta-hardfix{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  width:260px !important;
  max-width:calc(100% - 32px) !important;
  z-index:4 !important;
}

#demo-cta-hardfix .demo-play,
#demo-cta-hardfix .demo-real-preview{
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  top:auto !important;
  transform:none !important;
  width:260px !important;
  max-width:100% !important;
  margin:0 !important;
}

#demo-cta-hardfix .demo-real-preview{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:46px !important;
  padding:0 20px !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(18,24,38,.34) !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800 !important;
  box-shadow:0 10px 24px rgba(0,0,0,.20) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}

#demo-stage.is-live .demo-overlay,
#demo-stage.is-live img{
  display:none !important;
}

#demo-stage.is-live .demo-embed{
  opacity:1 !important;
  pointer-events:auto !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:2 !important;
}

#demo-stage.is-fullscreen.is-live{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100dvh !important;
  background:#000 !important;
  border-radius:0 !important;
  overflow:hidden !important;
}

#demo-stage.is-fullscreen.is-live .demo-overlay,
#demo-stage.is-fullscreen.is-live img{
  display:none !important;
}

#demo-stage.is-fullscreen.is-live .demo-embed{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  width:100% !important;
  height:calc(100% - 88px) !important;
  z-index:2 !important;
  background:#000 !important;
}

#demo-stage.is-fullscreen.is-live .demo-actions{
  display:flex !important;
  position:absolute !important;
  left:12px !important;
  right:12px !important;
  bottom:max(12px, env(safe-area-inset-bottom)) !important;
  z-index:10000 !important;
  pointer-events:none !important;
}

#demo-stage.is-fullscreen.is-live .demo-minimize,
#demo-stage.is-fullscreen.is-live .demo-real{
  pointer-events:auto !important;
}

@media (max-width:640px){
  #demo-cta-hardfix{
    width:230px !important;
    max-width:calc(100% - 24px) !important;
  }
  #demo-cta-hardfix .demo-play,
  #demo-cta-hardfix .demo-real-preview{
    width:230px !important;
  }
  #demo-stage.is-fullscreen.is-live .demo-embed{
    height:calc(100% - 82px) !important;
  }
}
