@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
}

:root {
  --night: #0B1233;
  --night-2: #101A45;
  --surface: #141F52;
  --surface-2: #1B2866;
  --deep: #070B24;
  --ice: #8FEAFF;
  --ice-2: #C9F6FF;
  --frost: #EAF6FF;
  --mist: #AEBBE3;
  --amethyst: #9B7BFF;
  --moss: #4FC291;
  --heather: #EF6AA8;
  --line: rgba(143, 234, 255, .16);
  --line-2: rgba(143, 234, 255, .32);

  --f-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-stone: 22px 14px 26px 12px / 16px 22px 14px 24px;
  --facet: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);

  --header-h: 72px;
  --content: 780px;
  --gutter: clamp(18px, 4vw, 40px);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--frost);
  background:
    radial-gradient(1100px 700px at 8% -5%, rgba(143, 234, 255, .10), transparent 60%),
    radial-gradient(900px 800px at 100% 30%, rgba(155, 123, 255, .10), transparent 60%),
    radial-gradient(900px 700px at 0% 85%, rgba(79, 194, 145, .06), transparent 60%),
    var(--night);
  background-attachment: fixed;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--ice); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ice-2); }

:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ice); color: var(--night); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0; color: var(--frost); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); letter-spacing: .005em; margin-bottom: .6em; text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); margin: 1.4em 0 .45em; color: var(--ice-2); }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }

.btn {
  --btn-pad: 14px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: var(--btn-pad);
  font: 600 1rem/1 var(--f-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 0;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  transition: transform .18s ease, filter .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--crystal {
  position: relative; overflow: hidden;
  color: #0A1440;
  background: linear-gradient(135deg, #F2FDFF 0%, #A8EFFF 45%, #8FEAFF 55%, #B7A2FF 100%);
}
.btn--crystal:hover { color: #0A1440; filter: brightness(1.08) saturate(1.1); }

.btn--ghost {
  color: var(--ice-2);
  background: linear-gradient(135deg, rgba(143,234,255,.18), rgba(155,123,255,.18));
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover { color: #fff; background: linear-gradient(135deg, rgba(143,234,255,.28), rgba(155,123,255,.28)); }

.btn--play {
  position: relative; overflow: hidden;
  color: #0A1440; font-size: 1.05rem; min-width: 168px;
  background: linear-gradient(135deg, #FFFFFF 0%, #8FEAFF 50%, #9B7BFF 100%);
}
.btn--play::after, .btn--crystal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: glint 4.2s ease-in-out infinite;
}
.btn--crystal::after { animation-delay: 1.4s; animation-duration: 6s; }
.btn--play:hover { color: #0A1440; filter: brightness(1.1); }
@keyframes glint { 0%, 70% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }

.linkbtn { background: none; border: 0; padding: 0; color: var(--ice); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.drift { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.drift svg {
  position: absolute; opacity: .13;
  animation: driftSlow var(--d, 60s) ease-in-out var(--dl, 0s) infinite alternate;
  will-change: transform;
}
.drift svg:nth-child(3n) { opacity: .09; }
.drift svg:nth-child(4n+1) { opacity: .17; }
@keyframes driftSlow {
  0%   { transform: translate3d(0, 0, 0) rotate(-8deg); }
  35%  { transform: translate3d(18px, -40px, 0) rotate(6deg); }
  70%  { transform: translate3d(-14px, -18px, 0) rotate(-3deg); }
  100% { transform: translate3d(8px, 30px, 0) rotate(10deg); }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 18, 51, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  height: var(--header-h); max-width: 1400px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand img { height: 46px; width: auto; }
.header-demo { --btn-pad: 10px 24px; min-height: 42px; font-size: .95rem; margin-left: auto; }

.trail-list { list-style: none; margin: 0; padding: 0; position: relative; }
.trail-list li { position: relative; }
.trail-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 7px 0; color: var(--mist); text-decoration: none; font-size: .95rem; line-height: 1.3;
}
.trail-list a::before {
  content: ""; flex: none; width: 18px; height: 12px;
  border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%;
  background: linear-gradient(#56649A, #273262);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  transition: background .3s, box-shadow .3s, transform .3s;
}
.trail-list li:nth-child(odd) a::before { transform: rotate(-8deg); margin-left: 3px; }
.trail-list li:nth-child(even) a::before { transform: rotate(10deg); }
.trail-list a:hover { color: var(--frost); }
.trail-list li.is-passed a::before { background: linear-gradient(#9FB6E6, #4B5C98); }
.trail-list li.is-active a { color: var(--frost); }
.trail-list li.is-active a::before {
  background: radial-gradient(circle at 40% 35%, #FFFFFF, var(--ice) 45%, #4AA5D9);
  box-shadow: 0 0 14px 3px rgba(143,234,255,.55);
}

.rail { display: none; }

.hero { position: relative; padding: clamp(12px, 2vw, 22px) var(--gutter) clamp(28px, 4vw, 48px); isolation: isolate; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: -2;
  background: linear-gradient(180deg, var(--night) 0%, rgba(11,18,51,.55) 40%, rgba(11,18,51,.9) 100%), url("../img/stone-ground.webp") center bottom / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(transparent, #000 40%, #000 80%, transparent);
          mask-image: linear-gradient(transparent, #000 40%, #000 80%, transparent);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__shards { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.fall { animation: drift 22s ease-in-out infinite; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 10px rgba(143,234,255,.6)); }
.f2 { animation-duration: 26s; animation-delay: -4s; }
.f3 { animation-duration: 19s; animation-delay: -7s; }
.f4 { animation-duration: 29s; animation-delay: -2s; }
.f5 { animation-duration: 24s; animation-delay: -9s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(26px) rotate(8deg); }
}
.motes {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 30%, rgba(143,234,255,.9), transparent 60%),
    radial-gradient(2px 2px at 28% 70%, rgba(143,234,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 18%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(2px 2px at 63% 55%, rgba(143,234,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(155,123,255,.9), transparent 60%),
    radial-gradient(2px 2px at 90% 64%, rgba(143,234,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 52% 84%, rgba(255,255,255,.6), transparent 60%);
  animation: motes 9s ease-in-out infinite alternate;
}
@keyframes motes { from { opacity: .45; transform: translateY(0); } to { opacity: 1; transform: translateY(-14px); } }

.hero__grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; gap: clamp(18px, 2.4vw, 36px) clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hero__provider { display: inline-flex; align-items: center; gap: 10px; color: var(--mist); font-size: .92rem; margin-bottom: 8px; }
.hero__provider img { width: 22px; height: 22px; }

h1 { margin: 0; }
.hero__head { min-width: 0; }
.h1-main {
  display: block;
  font-size: clamp(2.2rem, .9rem + 4.3vw, 4.5rem);
  line-height: 1.04; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--frost) 0%, var(--frost) 40%, #FFFFFF 48%, var(--ice) 52%, var(--frost) 60%, var(--frost) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: h1glint 2.4s .4s cubic-bezier(.3,.7,.3,1) both;
}
@keyframes h1glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
.h1-sub {
  display: block; margin-top: 8px;
  font-family: var(--f-body); font-weight: 400;
  font-size: clamp(1.1rem, .95rem + .8vw, 1.45rem);
  color: var(--ice); line-height: 1.3;
}
.h1-sub::before { content: ""; display: inline-block; width: 30px; height: 1px; background: var(--ice); vertical-align: middle; margin-right: 12px; opacity: .7; }

.lead { font-size: 1.12rem; color: var(--frost); }
.hero__text p { margin-bottom: .8em; }
.hero__text p:not(.lead):not(.hero__provider) { color: var(--mist); }
.hero__text { min-width: 0; }

.hero__chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  padding: 8px 16px; font-size: .92rem; color: var(--mist);
  background: rgba(20, 31, 82, .7);
  border-radius: var(--r-stone);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero__chips li:nth-child(2) { border-radius: 16px 24px 12px 26px / 22px 14px 24px 16px; }
.hero__chips li:nth-child(3) { border-radius: 26px 12px 22px 16px / 14px 24px 18px 22px; }
.hero__chips b { color: var(--frost); font-weight: 600; margin-right: 4px; }

.demo {
  position: relative;
  background: var(--deep);
  clip-path: var(--facet);
  box-shadow: 0 30px 80px -30px rgba(143, 234, 255, .45);
}
.demo::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  clip-path: var(--facet);
  background: linear-gradient(135deg, rgba(201,246,255,.9), rgba(155,123,255,.7) 40%, rgba(143,234,255,.25) 70%, rgba(201,246,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1.5px;
}
.demo__stage {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden; contain: layout paint;
}
.demo__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s ease; }
.demo:hover .demo__poster { transform: scale(1.07); }
.demo__cover {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(7,11,36,0) 25%, rgba(7,11,36,.85) 100%);
}
.demo__title { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: 0 0 4px; }
.demo__note { color: var(--mist); font-size: .95rem; margin: 0 0 16px; }
.demo__play { min-width: 200px; font-size: 1.08rem; }
.demo__age { margin: 12px 0 0; font-size: .8rem; color: var(--mist); opacity: .8; }

.demo__frame {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; border: 0; display: block;
  background: #000;
}
.demo.is-playing .demo__cover, .demo.is-playing picture { display: none; }
.demo__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: rgba(20, 31, 82, .9);
  border-top: 1px solid var(--line);
}
.demo__bar[hidden] { display: none; }
.demo__bar-label { margin-right: auto; font-size: .9rem; color: var(--mist); }
.demo__tool { border: 0; border-radius: 10px; padding: 8px 14px; font: 500 .9rem var(--f-body); color: var(--frost); background: rgba(143,234,255,.12); cursor: pointer; min-height: 38px; }
.demo__tool:hover { background: rgba(143,234,255,.22); }
.demo:fullscreen { clip-path: none; display: flex; flex-direction: column; }
.demo:fullscreen .demo__stage { flex: 1; aspect-ratio: auto; }
.demo:fullscreen::before { display: none; }

.layout {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.content { min-width: 0; }
.block { padding: clamp(16px, 1.8vw, 24px) 0; position: relative; }
.block > :last-child { margin-bottom: 0; }
.block:first-child { padding-top: 4px; }

.facts {
  margin: 28px 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.facts > div {
  padding: 14px 18px 16px;
  background: linear-gradient(160deg, rgba(27, 40, 102, .85), rgba(20, 31, 82, .6));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.05);
  border-radius: var(--r-stone);
}
.facts > div:nth-child(3n+2) { border-radius: 16px 24px 12px 26px / 22px 14px 24px 16px; }
.facts > div:nth-child(3n) { border-radius: 26px 12px 22px 16px / 14px 24px 18px 22px; }
.facts dt { font-size: .85rem; color: var(--mist); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 500; font-size: 1.05rem; color: var(--frost); line-height: 1.35; }
.facts > div:nth-child(5) dd, .facts > div:nth-child(10) dd { font-family: var(--f-display); font-size: 1.45rem; color: var(--ice-2); }

.cta-strip {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  padding: 20px 24px;
  background:
    radial-gradient(400px 120px at 0% 0%, rgba(143,234,255,.16), transparent 70%),
    linear-gradient(120deg, rgba(27, 40, 102, .9), rgba(40, 30, 100, .7));
  clip-path: var(--facet);
}
.cta-strip p { margin: 0; flex: 1 1 260px; font-size: 1.02rem; }
.cta-strip__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.shot { margin: 24px 0 26px; }
.shot img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: var(--surface);
  clip-path: var(--facet);
  box-shadow: 0 24px 60px -28px rgba(143, 234, 255, .45);
}
.shot figcaption {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--mist);
}
.shot figcaption::before {
  content: ""; flex: none; width: 8px; height: 11px; transform: translateY(1px);
  background: linear-gradient(135deg, #F2FDFF, var(--ice) 50%, var(--amethyst));
  clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%);
}

.block--design { display: flow-root; }
.design-float {
  float: left; width: 300px; margin: 6px 32px 14px 0;
  shape-outside: ellipse(48% 50%); shape-margin: 14px;
}
.design-float img {
  width: 100%; height: auto; aspect-ratio: 600 / 632; object-fit: cover;
  border-radius: 46% 54% 40% 60% / 38% 44% 56% 62%;
  box-shadow: 0 30px 70px -30px rgba(155, 123, 255, .6);
}
.block--design h3 { margin-top: .6em; }

.block--casinos::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1;
  background: radial-gradient(700px 300px at 70% 20%, rgba(155,123,255,.14), transparent 70%);
}
.casinos {
  list-style: none; margin: 30px 0 14px; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
.casino {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 18px 22px 18px 18px;
  background: linear-gradient(135deg, rgba(27, 40, 102, .95), rgba(18, 26, 72, .95));
  clip-path: var(--facet);
  transition: transform .25s ease;
}
.casino::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  clip-path: var(--facet);
  background: linear-gradient(135deg, rgba(143,234,255,.55), rgba(155,123,255,.25) 50%, rgba(143,234,255,.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.casino:hover { transform: translateY(-2px); }
.casino__logo { flex: none; max-width: none; width: 84px; height: 84px; border-radius: 16px; object-fit: cover; box-shadow: 0 8px 22px -8px rgba(0,0,0,.6); }
.casino__name { font-family: var(--f-body); font-weight: 500; font-size: .95rem; color: var(--mist); margin: 0 0 4px; }
.casino__bonus { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); line-height: 1.2; color: var(--frost); }
.small-print { font-size: .85rem; color: var(--mist); }

.cascade-steps { list-style: none; counter-reset: c; padding: 0; margin: 20px 0 24px; display: grid; gap: 8px; }
.cascade-steps li {
  counter-increment: c; position: relative;
  padding: 12px 16px 12px 62px; min-height: 52px; display: flex; align-items: center;
  background: rgba(20, 31, 82, .55); border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.cascade-steps li::before {
  content: counter(c);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 28px; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.05rem; color: var(--night);
  background: linear-gradient(#DFF8FF, #7DCDEB);
  border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%;
}
.cascade-steps li:nth-child(2) { margin-left: 10px; }
.cascade-steps li:nth-child(3) { margin-left: 20px; }
.cascade-steps li:nth-child(4) { margin-left: 30px; }
.cascade-steps li:nth-child(5) { margin-left: 40px; }

.list-gem { list-style: none; padding: 0; margin: 14px 0 22px; }
.list-gem li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.list-gem li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 10px; height: 14px;
  background: linear-gradient(135deg, #F2FDFF, var(--ice) 50%, var(--amethyst));
  clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%);
}

.stonepath {
  margin: 28px 0 10px; padding: 18px clamp(10px, 3vw, 28px) 22px;
  background: linear-gradient(180deg, rgba(7,11,36,.55), rgba(7,11,36,.88)), url("../img/stone-ground.webp") center / cover;
  clip-path: var(--facet);
}
.stonepath svg { display: block; width: 100%; max-width: 820px; margin: 0 auto; overflow: visible; }
.stonepath__spring { animation: spring 4s ease-in-out infinite alternate; transform-origin: 320px 120px; }
@keyframes spring { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.05); } }
.pstone ellipse { fill: url(#stoneG); stroke: rgba(201,246,255,.25); stroke-width: 1; transition: fill .3s, filter .3s; }
.pstone text { font-family: var(--f-display); font-size: 22px; fill: #D6E2FF; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pstone .arrow { fill: none; stroke: #D6E2FF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pstone.is-lit ellipse { fill: #3E6FB0; }
.pstone.is-lit.is-fs ellipse { fill: #6A4FD6; }
.pstone.is-here ellipse { fill: #BFF3FF; filter: drop-shadow(0 0 12px rgba(143,234,255,.9)); }
.pstone.is-here text { fill: #0A1440; }
.pstone.is-here .arrow { stroke: #0A1440; }
.stonepath__marker { fill: none; stroke: var(--ice); stroke-width: 2; opacity: 0; transition: cx .32s ease, cy .32s ease, opacity .3s; filter: drop-shadow(0 0 6px rgba(143,234,255,.8)); }
.stonepath.is-running .stonepath__marker, .stonepath.has-value .stonepath__marker { opacity: 1; }

.stonepath figcaption { margin-top: 14px; text-align: center; }
.stonepath__controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.stonepath__label { width: 100%; font-size: .92rem; color: var(--mist); }
.stonepath__controls button {
  width: 44px; height: 40px; border: 0; cursor: pointer;
  font: 600 1rem var(--f-body); color: var(--frost);
  background: rgba(20, 31, 82, .85); box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%;
  transition: background .2s, color .2s;
}
.stonepath__controls button:hover { background: rgba(143,234,255,.2); }
.stonepath__controls button[aria-pressed="true"] { background: var(--ice); color: var(--night); }
.stonepath__result { margin: 12px auto 0; max-width: 520px; min-height: 1.6em; font-size: 1.02rem; }

.spin-ladder { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 6px; }
.spin-ladder li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.spin-ladder span { font-family: var(--f-display); color: var(--ice-2); font-size: 1.1rem; }

.reels-calc {
  margin: 26px 0; display: grid; gap: 22px;
  padding: clamp(16px, 3vw, 28px);
  background: linear-gradient(160deg, rgba(27, 40, 102, .9), rgba(28, 20, 80, .8));
  clip-path: var(--facet);
}
.reels-calc__reels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.reel {
  position: relative; border: 0; cursor: pointer; color: var(--frost);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 14px 4px 10px; min-height: 124px;
  background: linear-gradient(180deg, rgba(7,11,36,.7), rgba(20,31,82,.9));
  border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s, transform .15s;
}
.reel:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.reel:active { transform: scale(.97); }
.reel__mult { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1; }
.reel__name { font-size: .8rem; color: var(--mist); }
.reel.in-line { box-shadow: inset 0 0 0 2px var(--ice), 0 0 22px -6px rgba(143,234,255,.8); }
.reel.in-line .reel__mult { color: var(--ice-2); }
.reel[data-val="5"] .reel__mult { color: #fff; text-shadow: 0 0 14px rgba(143,234,255,.9); }
.reel.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: translateY(-6px); } }
.reels-calc__panel { display: grid; gap: 6px; }
.reels-calc__len { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .95rem; color: var(--mist); }
.reels-calc__len label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--frost); padding: 4px 0; }
.reels-calc__len input { accent-color: var(--ice); width: 18px; height: 18px; }
.reels-calc__out { margin: 8px 0 0; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-family: var(--f-display); }
.reels-calc__total { font-weight: 400; color: var(--ice-2); }
.reels-calc__sum { margin: 0; color: var(--mist); }
.reels-calc__hint { margin: 4px 0 0; font-size: .9rem; color: var(--mist); }
.reels-calc__cap { color: var(--heather); }

.table-wrap { overflow-x: auto; margin: 20px 0 22px; -webkit-overflow-scrolling: touch; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.tbl { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { font-weight: 600; font-size: .9rem; color: var(--ice); background: rgba(20, 31, 82, .9); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:nth-child(even) { background: rgba(20, 31, 82, .35); }
.tbl tbody th { font-weight: 500; }
.tbl--pay td { font-variant-numeric: tabular-nums; }
.tbl--pay td:nth-child(2) { color: var(--ice-2); font-weight: 600; }
.tbl--pay tbody th { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.sym { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.tbl--compare td:last-child { color: var(--ice-2); }

.split { display: grid; gap: 24px; align-items: center; }
.price-stones { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.price-stone {
  flex: 1 1 120px; padding: 18px 16px; text-align: center;
  background: linear-gradient(170deg, #26357A, #16215A);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px var(--line);
  border-radius: 48% 52% 44% 56% / 58% 50% 50% 42%;
}
.price-stone:nth-child(2) { padding-block: 24px; border-radius: 55% 45% 52% 48% / 50% 58% 42% 50%; }
.price-stone:nth-child(3) { padding-block: 30px; background: linear-gradient(170deg, #3A3690, #1C2263); }
.price-stone span { display: block; font-size: .85rem; color: var(--mist); }
.price-stone b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--frost); }

.trio { display: grid; gap: 16px; margin-top: 24px; }
.trio__item { padding: 22px 22px 8px; background: rgba(20, 31, 82, .5); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.trio__item h3 { margin-top: 0; font-size: 1.22rem; }
.trio__num { font-family: var(--f-display); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1; color: var(--ice-2); margin-bottom: 12px; }
.trio__item p:not(.trio__num) { color: var(--mist); font-size: 1rem; }

.note { padding: 14px 18px; border-left: 3px solid var(--heather); background: rgba(239,106,168,.07); border-radius: 0 10px 10px 0; }

.proscons { display: grid; gap: 16px; margin: 24px 0; }
.proscons__col { padding: 22px 24px; border-radius: 18px; }
.proscons__col h3 { margin: 0 0 12px; font-size: 1.25rem; }
.proscons__col ul { list-style: none; padding: 0; margin: 0; }
.proscons__col li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.proscons__col--pro { background: linear-gradient(160deg, rgba(79,194,145,.14), rgba(20,31,82,.5)); box-shadow: inset 0 0 0 1px rgba(79,194,145,.3); }
.proscons__col--pro h3 { color: #9CEBC7; }
.proscons__col--pro li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; background: var(--moss); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.proscons__col--con { background: linear-gradient(160deg, rgba(239,106,168,.12), rgba(20,31,82,.5)); box-shadow: inset 0 0 0 1px rgba(239,106,168,.28); }
.proscons__col--con h3 { color: #F6A9CC; }
.proscons__col--con li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 14px; height: 3px; border-radius: 2px; background: var(--heather); }

.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { background: rgba(20, 31, 82, .6); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.faq details[open] { background: rgba(27, 40, 102, .8); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 56px 16px 20px; font-weight: 500; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 16px; margin-top: -8px;
  background: linear-gradient(135deg, #F2FDFF, var(--ice) 50%, var(--amethyst));
  clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%);
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(180deg) scale(1.15); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--mist); }

.site-footer { position: relative; margin-top: 40px; padding: 90px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); overflow: hidden; isolation: isolate; }
.site-footer__ground {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--night) 0%, rgba(7,11,36,.75) 45%, var(--deep) 100%), url("../img/stone-ground.webp") center top / cover no-repeat;
}
.site-footer__inner { max-width: 760px; margin: 0 auto; text-align: center; color: var(--mist); font-size: .95rem; }
.site-footer__inner img { height: 52px; width: auto; margin: 0 auto 18px; }
.site-footer__rg { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.age { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--heather); color: var(--frost); font-weight: 600; font-size: .9rem; }
.site-footer__copy { font-size: .85rem; opacity: .8; }

.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(20, 31, 82, .9); border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2);
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .25s;
}
.to-top svg { width: 26px; height: 26px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (min-width: 700px) {
  .casinos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px 22px; }
  .casino:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
    .casino { grid-template-columns: auto 1fr; grid-template-areas: "logo body" "logo btn"; row-gap: 12px; }
  .casino__logo { grid-area: logo; width: 96px; height: 96px; }
  .casino__body { grid-area: body; }
  .casino .btn--play { grid-area: btn; justify-self: start; }
  .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .proscons { grid-template-columns: 1fr 1fr; }
  .spin-ladder li { grid-template-columns: 150px 1fr; }
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .hero__head { grid-column: 1 / -1; container-type: inline-size; }
    .h1-main { white-space: nowrap; font-size: min(calc(100cqw / 15.15), 6rem); }
  .h1-sub { display: inline-block; }
  .hero__text p:not(.lead) { font-size: 1rem; line-height: 1.6; }
  .hero__demo { position: relative; top: 4px; }
  .trio { grid-template-columns: repeat(3, 1fr); }
  .reels-calc { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
}

@media (min-width: 1240px) {
  .layout { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
  .rail { display: block; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding-top: 12px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail__title { font-family: var(--f-display); font-size: 1.15rem; color: var(--ice-2); margin-bottom: 10px; }
  .rail .trail-list::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(var(--line-2), transparent); }
  .rail .trail-list li:nth-child(4n+2) a { padding-left: 6px; }
  .rail .trail-list li:nth-child(4n+3) a { padding-left: 10px; }
  .rail .trail-list li:nth-child(4n) a { padding-left: 4px; }
}

@media (max-width: 699px) {
  :root { --header-h: 62px; }
  body { font-size: 1rem; }
  .site-header__inner { gap: 10px; }
  .brand img { height: 34px; }
  .header-demo { --btn-pad: 8px 18px; font-size: .86rem; min-height: 40px; }

    .demo__stage { aspect-ratio: 3 / 4; max-height: 78svh; }
  .demo__cover { padding: 18px 16px; }
  .demo__play { width: 100%; }

    .casino {
    grid-template-columns: 1fr; justify-items: center; text-align: center;
    gap: 12px; padding: 22px 18px;
  }
  .casino__logo { width: 92px; height: 92px; }
  .casino .btn--play { width: 100%; }
  .casino__bonus { min-height: 2.4em; display: flex; align-items: center; justify-content: center; }

  .cta-strip { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 18px; }
  .cta-strip p { flex: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .facts > div { padding: 12px 14px; }
  .facts > div:first-child { grid-column: 1 / -1; }
  .facts dd { font-size: .98rem; }
  .cta-strip .btn, .cta-strip__btns { width: 100%; }
  .cta-strip__btns { flex-direction: column; }

  .cascade-steps li { margin-left: 0 !important; }
  .spin-ladder li { grid-template-columns: 1fr; gap: 0; }
  .reel { min-height: 100px; }
  .price-stone b { font-size: 1.35rem; }
  .h1-sub::before { display: none; }
  .design-float { width: 40%; margin: 4px 16px 8px 0; shape-outside: none; }
  .block--design h3 { margin-top: .2em; }

  .tbl { min-width: 0; font-size: .9rem; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .tbl thead th { font-size: .8rem; }
  .tbl--pay tbody th { min-width: 0; gap: 8px; line-height: 1.25; }
  .tbl--pay th:first-child { padding-left: 10px; }
  .sym { width: 26px; height: 26px; }
  .stonepath { padding: 12px 6px 18px; }
  .stonepath svg { margin: 0 -4%; width: 108%; max-width: none; }
  .stonepath__controls { gap: 5px; }
  .stonepath__controls button { width: 36px; height: 36px; }
  .price-stones { flex-wrap: nowrap; gap: 8px; }
  .price-stone, .price-stone:nth-child(2), .price-stone:nth-child(3) { flex: 1 1 0; padding: 16px 6px; }
}

@media (max-width: 380px) {
  .header-demo { --btn-pad: 8px 12px; font-size: .8rem; }
  .brand img { height: 32px; }
  .reels-calc__reels { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .h1-main { background-position: 0 0; }
}
