/* ==========================================================================
   Noryx Games — site styles
   ========================================================================== */
:root {
  --bg: #04060d;
  --bg-2: #080c18;
  --panel: #0c1222;
  --panel-2: #111a30;
  --line: rgba(130, 160, 255, .12);
  --line-2: rgba(130, 160, 255, .22);
  --text: #eef2ff;
  --muted: #8d97b8;
  --dim: #5b6584;
  --blue: #2f6bff;
  --blue-hi: #5d92ff;
  --ice: #a9c6ff;
  --win: #2ee6a6;
  --crash: #ff3d5e;
  --gold: #ffc14d;

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 14px;
  --r-lg: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--blue); border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.dim { color: var(--dim); }
.up { color: var(--win); }
.down { color: var(--crash); }

/* ---------- small atoms ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ice);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 0 rgba(46, 230, 166, .6); animation: pulse 1.8s infinite; flex: none; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(46, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-hi); font-weight: 700; transition: gap .25s var(--ease); }
.link:hover { gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--text);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font: 600 14px/1 var(--f-display); letter-spacing: .01em; white-space: nowrap;
  color: var(--b-fg); background: var(--b-bg); border: 0; cursor: pointer;
  clip-path: var(--cut);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, filter .2s;
}
.btn i { font-size: 1.15em; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  --b-bg: linear-gradient(180deg, #4a82ff 0%, #2459f0 100%);
  --b-fg: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .25);
}
.btn--primary:hover { filter: brightness(1.12); }
.btn--ghost { --b-bg: rgba(130, 160, 255, .08); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --b-bg: rgba(130, 160, 255, .16); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 12.5px; gap: 8px; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .55; pointer-events: none; }
.btn__tag {
  margin-left: 4px; padding: 5px 8px; font: 700 11px/1 var(--f-mono);
  background: rgba(0, 0, 0, .28); color: var(--win); border-radius: 4px;
}

.iconbtn {
  width: 40px; height: 40px; display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(130, 160, 255, .08); border-radius: 10px; color: var(--text); font-size: 18px;
  transition: background .2s;
}
.iconbtn:hover, .iconbtn[aria-expanded="true"] { background: rgba(130, 160, 255, .2); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--logo-ink, #fff); }
.logo__mark { width: 40px; height: auto; flex: none; }
.logo__word { display: flex; flex-direction: column; font: 700 17px/1 var(--f-display); letter-spacing: .2em; }
.logo__word small { margin-top: 5px; font: 700 8.5px/1 var(--f-mono); letter-spacing: .62em; color: var(--blue-hi); }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.hdr.is-solid {
  background: rgba(4, 6, 13, .78);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__nav { display: flex; gap: 4px; margin-right: auto; }
.hdr__nav a {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.hdr__nav a:hover { color: var(--text); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.chip-balance {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: 999px; background: rgba(46, 230, 166, .08); box-shadow: inset 0 0 0 1px rgba(46, 230, 166, .3);
  font: 700 13px/1 var(--f-mono); color: var(--win);
}
.chip-balance i { font-size: 16px; }

.hdr__burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(130, 160, 255, .08); border-radius: 10px; cursor: pointer; position: relative; }
.hdr__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.hdr__burger span:first-child { top: 17px; }
.hdr__burger span:last-child { top: 25px; right: 18px; }
.hdr__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { top: 21px; right: 12px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--hdr) + 24px) var(--gutter) 32px;
  background: rgba(4, 6, 13, .97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } }
.menu__nav a {
  display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
  font: 600 clamp(22px, 7vw, 30px)/1.1 var(--f-display);
  animation: slideIn .45s var(--ease) both; animation-delay: calc(var(--i) * 50ms + 60ms);
}
.menu__nav a span { font: 700 12px/1 var(--f-mono); color: var(--blue-hi); }
.menu__nav a i { margin-left: auto; color: var(--dim); font-size: 22px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } }
.menu__foot { display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--hdr) + clamp(32px, 7vw, 88px)) 0 0;
}
.hero__floor, .phead__floor {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 120%; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(80, 130, 255, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 130, 255, .2) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(72deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, #000 75%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, #000 75%);
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.hero__glow {
  position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .32), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  margin: 22px 0 24px;
  font-size: clamp(38px, 4.6vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -.035em;
}
.hero__title em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-hi);
  text-shadow: 0 0 40px rgba(47, 107, 255, .45);
}
.hero__lead { max-width: 520px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: flex; gap: clamp(20px, 4vw, 44px); margin: 44px 0 0; padding: 0; list-style: none; }
.hero__facts li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--blue); }
.hero__facts b { font: 700 clamp(18px, 2vw, 24px)/1 var(--f-display); }
.hero__facts span { font-size: 13px; color: var(--muted); }

/* game "screen" mock */
.screen {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #0b1430, #070b18);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -30px rgba(47, 107, 255, .55), 0 0 0 10px rgba(130, 160, 255, .03);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.screen:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.screen__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.screen__game { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f-display); }
.screen__game i { color: var(--blue-hi); font-size: 18px; }
.screen__live { display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.screen__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--crash); animation: blink 1s steps(2) infinite; }
.screen__live b { color: var(--text); }
@keyframes blink { 50% { opacity: .2; } }
.screen__stage { position: relative; aspect-ratio: 16 / 10; }
.screen__stage canvas { width: 100%; height: 100%; }
.screen__mult {
  position: absolute; left: 0; right: 0; top: 30%; text-align: center; pointer-events: none;
  font: 700 clamp(44px, 6vw, 76px)/1 var(--f-display); letter-spacing: -.03em;
  text-shadow: 0 0 30px rgba(47, 107, 255, .7);
  transition: color .2s;
}
.screen__mult small { font-size: .5em; margin-left: 2px; }
.screen__mult.is-crash { color: var(--crash); text-shadow: 0 0 30px rgba(255, 61, 94, .6); }
.screen__mult.is-cashed { color: var(--win); text-shadow: 0 0 30px rgba(46, 230, 166, .6); }
.screen__flash {
  position: absolute; left: 50%; top: calc(30% + clamp(54px, 7vw, 86px)); transform: translateX(-50%);
  padding: 6px 12px; border-radius: 6px; background: rgba(255, 61, 94, .14); color: var(--crash);
  font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transition: opacity .2s;
}
.screen__flash.is-on { opacity: 1; }
.screen__panel { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.screen__field { padding: 10px 12px; border-radius: 10px; background: rgba(130, 160, 255, .07); display: flex; flex-direction: column; gap: 4px; }
.screen__field span { font-size: 11px; color: var(--muted); }
.screen__field b { font: 700 14px/1 var(--f-mono); }
.screen__cash {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 10px;
  background: linear-gradient(180deg, #ffcf6b, #f2a515); color: #1a1100; font: 700 12px/1 var(--f-display); text-transform: uppercase;
  transition: filter .2s, background .2s;
}
.screen__cash b { font: 700 15px/1 var(--f-mono); }
.screen__cash.is-idle { background: linear-gradient(180deg, #4a82ff, #2459f0); color: #fff; }

/* ticker */
.ticker {
  position: relative; display: flex; align-items: center; margin-top: clamp(48px, 7vw, 96px);
  border-block: 1px solid var(--line); background: rgba(8, 12, 24, .7); backdrop-filter: blur(6px);
}
.ticker__label {
  position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 8px;
  padding: 16px var(--gutter); background: var(--bg-2); box-shadow: 20px 0 30px var(--bg-2);
  font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.ticker__label i { color: var(--crash); font-size: 15px; }
.ticker__track { display: flex; gap: 8px; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ticker__chip {
  flex: none; padding: 7px 12px; border-radius: 999px; font: 700 12.5px/1 var(--f-mono);
  background: rgba(130, 160, 255, .08); color: var(--ice);
  animation: chipIn .5s var(--ease) both;
}
.ticker__chip.is-mid { background: rgba(93, 146, 255, .16); color: #b9ceff; }
.ticker__chip.is-high { background: rgba(255, 193, 77, .14); color: var(--gold); }
.ticker__chip.is-low { background: rgba(255, 61, 94, .1); color: #ff8aa0; }
@keyframes chipIn { from { opacity: 0; transform: translateX(-16px) scale(.9); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }

.shead { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.shead--row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.shead__idx { display: flex; align-items: center; gap: 12px; font: 700 12px/1 var(--f-mono); color: var(--blue-hi); letter-spacing: .1em; margin-bottom: 18px; }
.shead__idx span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.shead__idx span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-right: 12px; }
.shead__title { font-size: clamp(32px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.035em; }
.shead__title--sm { font-size: clamp(24px, 3vw, 36px); }
.shead__aside { color: var(--muted); display: grid; gap: 16px; justify-items: start; }

/* ---------- game cards ---------- */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ggrid > .gcard--featured { grid-column: 1 / -1; flex-direction: row; }
.gcard--featured .gcard__body { flex: 0 0 38%; align-content: center; padding: clamp(24px, 3vw, 44px); gap: 24px; }
.ggrid--even > .gcard { grid-column: auto; grid-row: auto; }

.gcard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px hsl(var(--h) 90% 60% / .5), 0 30px 60px -30px hsl(var(--h) 90% 50% / .6); }
.gcard__link { position: absolute; inset: 0; z-index: 1; }
.gcard__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.gcard--featured .gcard__art { flex: 1; aspect-ratio: auto; min-height: 420px; }
.gcard__art .art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.gcard:hover .art { transform: scale(1.05); }
.gcard__badge {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-radius: 6px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px);
  font: 700 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.gcard__badge.is-live { color: var(--win); }
.gcard__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--win); }
.gcard__max {
  position: absolute; right: 14px; bottom: 10px; font: 800 clamp(26px, 3vw, 40px)/1 var(--f-display); letter-spacing: -.03em;
  color: rgba(255, 255, 255, .92); text-shadow: 0 0 24px hsl(var(--h) 100% 60% / .8);
}
.gcard--featured .gcard__max { font-size: clamp(40px, 5vw, 72px); }
.gcard__body { display: grid; gap: 18px; padding: 20px; }
.gcard__title h3 { font-size: 22px; }
.gcard--featured .gcard__title h3 { font-size: clamp(26px, 3vw, 36px); }
.gcard__title p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.gcard__specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid var(--line); }
.gcard__specs div { padding: 10px 0; }
.gcard__specs div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.gcard__specs dt { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.gcard__specs dd { margin: 3px 0 0; font: 700 14px/1.2 var(--f-mono); }
.gcard__cta { display: flex; gap: 8px; position: relative; z-index: 2; }

/* ---------- numbers ---------- */
.numbers { border-block: 1px solid var(--line); background: var(--bg-2); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__grid > div { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 28px); display: grid; gap: 10px; }
.numbers__grid > div + div { border-left: 1px solid var(--line); }
.numbers b { font: 700 clamp(34px, 4.4vw, 60px)/1 var(--f-display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #8fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- operators ---------- */
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.feat { list-style: none; margin: 40px 0 0; padding: 0; }
.feat li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.feat li:last-child { border-bottom: 1px solid var(--line); }
.feat i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; font-size: 26px; color: var(--blue-hi); background: rgba(47, 107, 255, .1); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .3); }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

.code { border-radius: var(--r-lg); overflow: hidden; background: #060a16; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(47, 107, 255, .5); }
.code__bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.code__dots { display: flex; gap: 6px; }
.code__dots i { width: 10px; height: 10px; border-radius: 50%; background: #1c2540; }
.code__tabs { font: 500 12.5px/1 var(--f-mono); color: var(--muted); }
.code__tabs b { color: var(--win); margin-right: 6px; }
.code__body { margin: 0; padding: 22px; overflow-x: auto; font: 500 13.5px/1.75 var(--f-mono); color: #c8d4f5; }
.code__body .c { color: var(--dim); }
.code__body .k { color: var(--ice); }
.code__body .s { color: var(--gold); }
.code__foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.code__foot i { color: var(--win); font-size: 18px; }
.code__foot code { font-family: var(--f-mono); color: var(--text); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 30px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.steps__n { position: absolute; right: 18px; top: 10px; font: 800 64px/1 var(--f-display); color: rgba(130, 160, 255, .07); }
.steps i { font-size: 30px; color: var(--blue-hi); }
.steps h3 { margin: 20px 0 10px; font-size: 18px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 clamp(72px, 10vw, 140px); }
.cta__in {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 32px;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(46, 230, 166, .18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(47, 107, 255, .45), transparent 60%),
    linear-gradient(135deg, #0d1a3d, #08101f);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.cta__in::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta__copy { position: relative; display: grid; gap: 16px; }
.cta h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; }
.cta__amount { color: var(--win); font-family: var(--f-mono); letter-spacing: -.04em; }
.cta p { color: #b3bfe0; max-width: 560px; }
.cta__actions { position: relative; display: grid; gap: 10px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); }
.contact__lead { margin-top: 20px; color: var(--muted); max-width: 440px; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact__list i { font-size: 20px; color: var(--blue-hi); }
.contact__list a { color: var(--text); font-weight: 700; }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span, .seg legend { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 0; outline: 0; resize: vertical;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s;
}
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--blue); }
.field textarea::placeholder { color: var(--dim); }
.field em { font-style: normal; font-size: 12.5px; color: var(--crash); min-height: 0; }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px var(--crash); }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 8px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; transition: all .2s; }
.seg input:checked + span { background: rgba(47, 107, 255, .16); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__note { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form__note.is-ok { color: var(--win); }
.form__note.is-err { color: var(--crash); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.ftr__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.ftr__brand p { margin-top: 20px; max-width: 340px; color: var(--muted); font-size: 14.5px; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ftr__cols h4 { font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.ftr__cols a { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 14.5px; transition: color .2s; word-break: break-word; }
.ftr__cols a:hover { color: var(--text); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.ftr__age b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--crash); color: var(--crash); font-size: 11px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phead { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--hdr) + clamp(40px, 7vw, 96px)) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phead--sm { padding-bottom: 40px; }
.phead__floor { height: 120%; bottom: -60%; opacity: .6; }
.phead__title { font-size: clamp(44px, 8vw, 112px); font-weight: 700; letter-spacing: -.045em; }
.phead__lead { margin-top: 20px; max-width: 560px; color: var(--muted); font-size: 17px; }
.phead__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* game hero */
.ghero { position: relative; overflow: hidden; isolation: isolate; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding: calc(var(--hdr) + 48px) 0 clamp(40px, 6vw, 72px); }
.ghero__art { position: absolute; inset: 0; z-index: -1; }
.ghero__art .art { width: 100%; height: 100%; }
.ghero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 6, 13, .2) 0%, rgba(4, 6, 13, .3) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(4, 6, 13, .85), transparent 70%); }
.ghero__in { display: grid; gap: 18px; justify-items: start; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.back:hover { color: var(--text); }
.ghero__title { font-size: clamp(48px, 10vw, 140px); font-weight: 800; letter-spacing: -.05em; text-shadow: 0 0 60px hsl(var(--h) 100% 55% / .5); }
.ghero__tag { font-size: clamp(17px, 2vw, 22px); color: #c9d3f2; max-width: 600px; }
.ghero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

.gdetail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.gdetail h2 { font-size: 26px; margin-bottom: 16px; }
.gdetail p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(46, 230, 166, .12); color: var(--win); font-size: 13px; flex: none; }
.sheet { margin: 0; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sheet div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
.sheet div + div { border-top: 1px solid var(--line); }
.sheet dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.sheet dt i { font-size: 19px; color: var(--blue-hi); }
.sheet dd { margin: 0; font: 700 14.5px/1.3 var(--f-mono); text-align: right; }

/* history */
.balcard { display: grid; gap: 6px; justify-items: start; padding: 20px 22px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.balcard > span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.balcard > b { font: 700 32px/1.1 var(--f-mono); color: var(--win); margin-bottom: 8px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 20px; }
.kpis div { padding: 20px; display: grid; gap: 6px; }
.kpis div + div { border-left: 1px solid var(--line); }
.kpis span { font-size: 12px; color: var(--muted); font-weight: 700; }
.kpis b { font: 700 20px/1.2 var(--f-mono); }
.table { border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { position: sticky; top: 0; text-align: left; padding: 14px 16px; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--panel-2); white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.table tr:hover td { background: rgba(130, 160, 255, .04); }
.table .r { text-align: right; }
.table small { color: var(--dim); }
.table__note { margin-top: 14px; font-size: 13px; color: var(--dim); }
.tag { display: inline-block; padding: 5px 9px; border-radius: 6px; font: 700 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.tag.is-won { background: rgba(46, 230, 166, .12); color: var(--win); }
.tag.is-lost { background: rgba(255, 61, 94, .1); color: var(--crash); }
.tag.is-open { background: rgba(93, 146, 255, .14); color: var(--blue-hi); }
.tag.is-void { background: rgba(141, 151, 184, .12); color: var(--muted); }
.empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(48px, 8vw, 96px) 20px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.empty > i { font-size: 48px; color: var(--blue-hi); }
.empty h2 { font-size: 26px; }
.empty p { color: var(--muted); max-width: 420px; margin-bottom: 10px; }

/* 404 */
.nf { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--hdr) 0 40px; }
.nf .phead__floor { bottom: -20%; height: 70%; }
.nf__in { display: grid; gap: 16px; justify-items: center; }
.nf__mult { font: 800 clamp(80px, 18vw, 200px)/1 var(--f-display); letter-spacing: -.05em; color: var(--crash); text-shadow: 0 0 60px rgba(255, 61, 94, .5); }
.nf__mult small { font-size: .45em; }
.nf h1 { font-size: clamp(22px, 3vw, 34px); max-width: 640px; }
.nf p { color: var(--muted); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ==========================================================================
   Play page
   ========================================================================== */
body.is-play { overflow: hidden; height: 100vh; height: 100dvh; }
.play { height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: #02040a; }
.play__bar { flex: none; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 clamp(10px, 2vw, 20px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.play__back { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 6px; border-radius: 10px; color: #fff; }
.play__back:hover { background: rgba(130, 160, 255, .1); }
.play__back .logo__mark { width: 30px; }
.play__title { display: grid; gap: 3px; min-width: 0; }
.play__title b { font: 700 15px/1 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play__title > span { display: flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--win); }
.play__title .pulse { width: 6px; height: 6px; }
.play__wallet { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.play__balance { position: relative; display: grid; gap: 3px; padding: 7px 14px; border-radius: 10px; background: rgba(46, 230, 166, .07); box-shadow: inset 0 0 0 1px rgba(46, 230, 166, .25); min-width: 130px; transition: box-shadow .3s, background .3s; }
.play__balance > span { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.play__balance > b { font: 700 16px/1 var(--f-mono); color: var(--win); }
.play__balance > em { position: absolute; right: 10px; top: 6px; font: 700 11px/1 var(--f-mono); font-style: normal; opacity: 0; }
.play__balance.flash-up { background: rgba(46, 230, 166, .2); box-shadow: inset 0 0 0 1.5px var(--win); }
.play__balance.flash-down { background: rgba(255, 61, 94, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 61, 94, .6); }
.play__balance.flash-up > em { color: var(--win); animation: delta 1.4s var(--ease); }
.play__balance.flash-down > em { color: var(--crash); animation: delta 1.4s var(--ease); }
@keyframes delta { 0% { opacity: 0; transform: translateY(4px); } 15% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.play__body { flex: 1; min-height: 0; display: flex; position: relative; }
.play__frame { flex: 1; position: relative; min-width: 0; }
.play__frame iframe { width: 100%; height: 100%; border: 0; background: #02040a; }
.play__loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); font-weight: 600; background: #02040a; transition: opacity .4s; }
.play__loader.is-done { opacity: 0; pointer-events: none; }
.play__loader [data-loader-text] { max-width: 320px; padding: 0 16px; text-align: center; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(130, 160, 255, .15); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.drawer { flex: none; width: 340px; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--bg-2); margin-right: -340px; transition: margin .35s var(--ease); }
.drawer.is-open { margin-right: 0; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 12px; }
.drawer__head h2 { font-size: 16px; }
.drawer__head .link { font-size: 13px; }
.drawer__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 18px 14px; border-bottom: 1px solid var(--line); }
.drawer__stats div { padding: 10px; border-radius: 10px; background: rgba(130, 160, 255, .06); display: grid; gap: 4px; }
.drawer__stats span { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.drawer__stats b { font: 700 13px/1 var(--f-mono); }
.betlist { list-style: none; margin: 0; padding: 8px 10px 20px; overflow-y: auto; flex: 1; }
.betlist li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 10px; border-radius: 10px; animation: chipIn .4s var(--ease) both; }
.betlist li + li { border-top: 1px solid var(--line); }
.betlist__main { font: 700 13.5px/1.2 var(--f-mono); }
.betlist__time { font-size: 11.5px; color: var(--dim); }
.betlist__res { text-align: right; font: 700 13.5px/1.2 var(--f-mono); }
.betlist__mult { text-align: right; font-size: 11.5px; color: var(--muted); font-family: var(--f-mono); }
.betlist__empty { display: block !important; text-align: center; color: var(--dim); padding: 40px 10px !important; font-size: 14px; }


/* ==========================================================================
   v2 — Skipper, navigation, pages
   ========================================================================== */

/* ---------- dropdown ---------- */
.hdr__nav { align-items: center; }
.hdr__nav a.is-active { color: var(--text); }
.hdr__nav a.is-active::after { transform: scaleX(1); }
.dd { position: relative; }
.dd__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s;
}
.dd__btn i { font-size: 12px; transition: transform .25s var(--ease); }
.dd:hover .dd__btn, .dd__btn[aria-expanded="true"] { color: var(--text); }
.dd:hover .dd__btn i, .dd__btn[aria-expanded="true"] i { transform: rotate(180deg); }
.dd__menu {
  position: absolute; top: 100%; left: 50%; min-width: 260px; padding: 8px; margin-top: 6px;
  border-radius: 16px; background: rgba(12, 18, 34, .97); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .25s var(--ease);
}
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd__menu, .dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hdr__nav .dd__menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--text); font-size: 14.5px; }
.hdr__nav .dd__menu a::after { display: none; }
.dd__menu a:hover { background: rgba(130, 160, 255, .1); }
.dd__menu i { font-size: 20px; color: var(--blue-hi); }

/* ---------- social rail ---------- */
.rail {
  position: fixed; left: 0; top: 50%; z-index: 40; transform: translateY(-50%);
  display: flex; flex-direction: column; background: rgba(8, 12, 24, .85); backdrop-filter: blur(8px);
  border-radius: 0 12px 12px 0; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.rail a { width: 44px; height: 44px; display: grid; place-items: center; font-size: 19px; color: var(--muted); transition: color .2s, background .2s; }
.rail a:hover { color: #fff; background: var(--blue); }

/* ---------- hero v2 ---------- */
.hero { padding-bottom: clamp(56px, 8vw, 110px); }
.hero__line { display: block; }
.hero__lead b { color: var(--text); }
.poster { position: relative; display: block; isolation: isolate; perspective: 1400px; }
.poster__frame {
  position: relative; display: block; border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(130, 170, 255, .35), 0 50px 120px -30px rgba(30, 120, 255, .75), 0 0 0 10px rgba(130, 160, 255, .04);
  transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease), box-shadow .5s;
}
.poster:hover .poster__frame { transform: rotateY(-2deg) rotateX(1deg) scale(1.01); box-shadow: 0 0 0 1px rgba(130, 170, 255, .6), 0 60px 140px -30px rgba(30, 120, 255, .9), 0 0 0 10px rgba(130, 160, 255, .06); }
.poster__frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.poster__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%); transform: translateX(-100%); animation: shine 5s ease-in-out infinite 1.5s; }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.poster__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(47, 107, 255, .9); color: #fff; font-size: 34px; box-shadow: 0 0 0 10px rgba(47, 107, 255, .25), 0 20px 40px rgba(0, 0, 0, .4);
  opacity: 0; transform: scale(.8); transition: all .35s var(--ease);
}
.poster:hover .poster__play, .poster:focus-visible .poster__play { opacity: 1; transform: none; }
.poster__badge, .poster__mult, .poster__bank {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px;
  background: rgba(6, 10, 22, .82); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -10px rgba(0, 0, 0, .7);
}
.poster__badge { top: -16px; left: 24px; padding: 10px 14px; font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--win); }
.poster__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); box-shadow: 0 0 10px var(--win); }
.poster__mult { right: -14px; top: 58%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; animation: float 5s ease-in-out infinite; }
.poster__mult small { font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.poster__mult b { font: 800 26px/1 var(--f-display); color: var(--gold); text-shadow: 0 0 20px rgba(255, 193, 77, .5); }
.poster__bank { left: -14px; bottom: 14%; padding: 12px 16px; font: 700 14px/1 var(--f-mono); color: var(--win); animation: float 6s ease-in-out infinite reverse; }
.poster__bank i { font-size: 18px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- flagship product ---------- */
.flag { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.flag__art { position: relative; overflow: hidden; min-height: 360px; }
.flag__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.flag:hover .flag__art img { transform: scale(1.04); }
.flag__body { display: grid; align-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px); background: radial-gradient(500px 300px at 100% 0%, hsl(var(--h) 90% 50% / .18), transparent 70%); }
.flag__body h3 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.04em; }
.flag__tag { color: var(--muted); font-size: 17px; }
.flag__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 6px 0; border-radius: 14px; overflow: hidden; background: var(--line); }
.flag__specs div { padding: 14px 16px; background: var(--bg-2); }
.flag__specs dt { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.flag__specs dd { margin: 4px 0 0; font: 700 16px/1.2 var(--f-mono); }
.flag__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.prod { display: grid; align-content: start; gap: 12px; padding: 28px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
a.prod:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(93, 146, 255, .5), 0 30px 60px -30px rgba(47, 107, 255, .6); }
.prod > i { font-size: 34px; color: var(--blue-hi); }
.prod h3 { font-size: 19px; margin-top: 6px; }
.prod p { color: var(--muted); font-size: 15px; }
.prod .link, .prod .tag { justify-self: start; margin-top: 6px; }
.prod--soon { background: repeating-linear-gradient(135deg, var(--panel) 0 14px, #0d1428 14px 28px); }

/* ---------- facts (staggered bars) ---------- */
.facts { position: relative; padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--bg), #050a1a 50%, var(--bg)); overflow: hidden; }
.facts__title {
  display: inline-block; padding: 18px 28px; margin-bottom: 28px; border-radius: 4px;
  background: var(--blue); color: #fff; font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05;
}
.facts__bars { display: grid; gap: 14px; }
.facts__bar {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-left: var(--o); padding: 20px 28px;
  border-radius: 4px; background: linear-gradient(90deg, rgba(130, 160, 255, .12), rgba(130, 160, 255, .04));
  box-shadow: inset 3px 0 0 var(--blue), inset 0 0 0 1px var(--line);
}
.facts__bar b { font: 700 clamp(30px, 4vw, 54px)/1 var(--f-display); letter-spacing: -.03em; }
.facts__bar span { color: var(--muted); font-size: 15px; }

/* ---------- news ---------- */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ncard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease); }
.ncard:hover { transform: translateY(-4px); }
.ncard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__body { display: grid; gap: 10px; padding: 22px; }
.ncard__meta { display: flex; gap: 12px; align-items: center; font: 700 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ncard__meta span { color: var(--blue-hi); }
.ncard h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.ncard h3 a:hover { color: var(--blue-hi); }
.ncard p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA + join ---------- */
.cta__grid { display: grid; grid-template-columns: 1fr 340px; gap: 18px; }
.join { display: grid; align-content: center; gap: 12px; padding: 32px; border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease); }
.join:hover { transform: translateY(-4px); }
.join > i { font-size: 38px; color: var(--blue-hi); }
.join h3 { font-size: 24px; }
.join p { color: var(--muted); font-size: 15px; }

/* ---------- game cards v2 ---------- */
.gcard__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gcard:hover .gcard__art img { transform: scale(1.05); }
.gcard--soon { align-items: flex-start; justify-content: center; gap: 12px; padding: 32px; min-height: 360px; background: repeating-linear-gradient(135deg, var(--panel) 0 14px, #0d1428 14px 28px); }
.gcard--soon > i { font-size: 38px; color: var(--blue-hi); }
.gcard--soon h3 { font-size: 20px; }
.gcard--soon p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }

/* ---------- game hero v2 ---------- */
.ghero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.soonband { display: flex; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.soonband > i { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; font-size: 30px; color: var(--blue-hi); background: rgba(47, 107, 255, .12); }
.soonband > div { flex: 1; display: grid; gap: 6px; }
.soonband h2 { font-size: clamp(20px, 2.2vw, 26px); }
.soonband p { color: var(--muted); }
.values + .soonband { margin-top: 32px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__copy { display: grid; gap: 18px; }
.about__copy p { color: var(--muted); font-size: 17px; }
.about__copy .shead__title { margin-bottom: 8px; }
.about__media img { width: 100%; border-radius: 24px; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(47, 107, 255, .6); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.values > div { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.values i { font-size: 32px; color: var(--blue-hi); }
.values h3 { font-size: 18px; margin-top: 8px; }
.values p { color: var(--muted); font-size: 14.5px; }

/* ---------- contact v2 ---------- */
.infocards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.infocard { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
a.infocard:hover { box-shadow: inset 0 0 0 1px rgba(93, 146, 255, .5); }
.infocard i { font-size: 26px; color: var(--blue-hi); margin-bottom: 8px; }
.infocard span { font-size: 12px; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.infocard b { font-size: 15.5px; word-break: break-word; }
.infocard small { color: var(--muted); font-size: 13px; }
.infocard--wide { grid-column: 1 / -1; }
.contact__social { display: flex; align-items: center; gap: 16px; margin-top: 24px; color: var(--muted); font-weight: 700; font-size: 14px; }
.contact__social div, .ftr__social, .menu__social { display: flex; gap: 8px; }
.contact__social a, .ftr__social a, .menu__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-size: 19px; color: var(--muted); background: rgba(130, 160, 255, .08); transition: all .2s; }
.contact__social a:hover, .ftr__social a:hover, .menu__social a:hover { background: var(--blue); color: #fff; }
.form__title { font-size: 22px; margin-bottom: 4px; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal__nav { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 4px; }
.legal__nav a { padding: 12px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.legal__nav a:hover { color: var(--text); background: rgba(130, 160, 255, .06); }
.legal__nav a.is-active { color: var(--text); background: rgba(47, 107, 255, .16); box-shadow: inset 2px 0 0 var(--blue); }
.legal__body { max-width: 760px; }
.legal__body h2 { display: flex; gap: 14px; align-items: baseline; font-size: 20px; margin: 36px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h2 span { font: 700 12px/1 var(--f-mono); color: var(--blue-hi); }
.legal__body p { color: var(--muted); font-size: 16px; }
.phead__title--md { font-size: clamp(36px, 6vw, 80px); }

/* ---------- footer v2 ---------- */
.ftr__social { margin-top: 24px; }
.ftr__addr { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 14.5px; }
.ftr__cols i { margin-top: 2px; }
.ftr__trust { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding: 20px 24px; border-radius: 16px; background: rgba(130, 160, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.ftr__trust p { color: var(--muted); font-size: 13.5px; }
.ftr__trust a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.badge18 { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--crash); color: var(--crash); font: 800 14px/1 var(--f-display); }
.ftr__bottom { margin-top: 28px; }
.ftr__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__bottom nav a:hover { color: var(--text); }

/* ---------- age gate ---------- */
body.modal-open { overflow: hidden; }
.agegate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.agegate__backdrop { position: absolute; inset: 0; background: rgba(2, 4, 10, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .25s ease; }
.agegate__box {
  position: relative; width: min(460px, 100%); padding: 40px 32px 28px; text-align: center; display: grid; gap: 14px; justify-items: center;
  border-radius: 24px; background: radial-gradient(400px 200px at 50% 0%, rgba(47, 107, 255, .25), transparent 70%), var(--panel);
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -30px rgba(0, 0, 0, .9);
  animation: pop .4s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.agegate__x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(130, 160, 255, .08); color: var(--muted); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
.agegate__x:hover { color: var(--text); }
.agegate__badge { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; font: 800 28px/1 var(--f-display); color: #fff; background: linear-gradient(180deg, #ff5a75, #e0203f); box-shadow: 0 0 0 8px rgba(255, 61, 94, .15), 0 20px 40px -10px rgba(255, 61, 94, .6); margin-bottom: 6px; }
.agegate h2 { font-size: 26px; }
.agegate p { color: var(--muted); font-size: 15px; }
.agegate__actions { width: 100%; display: grid; gap: 10px; margin-top: 10px; }
.agegate__fine { font-size: 12.5px !important; color: var(--dim) !important; }

/* ---------- play: empty stage ---------- */
.play__empty { position: absolute; inset: 0; background: #02040a; }
/* Game-only play page: the iframe fills the whole viewport. */
body.is-play { margin: 0; background: #000; }
body.is-play .play { position: fixed; inset: 0; height: auto; display: block; background: #000; }
.play__game { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.play__balance.is-offline { opacity: .4; }
.play__frame:fullscreen { background: #02040a; }
.play__notice { position: absolute; left: 50%; top: 16px; z-index: 6; max-width: calc(100% - 32px); transform: translate(-50%, -8px); padding: 12px 18px; border-radius: 12px; background: rgba(12, 18, 36, .94); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 61, 94, .45); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.play__notice.is-in { opacity: 1; transform: translate(-50%, 0); }
.iconbtn:disabled { opacity: .4; cursor: not-allowed; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: block; }
}

@media (max-width: 1080px) {
  .rail { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .poster { max-width: 720px; }
  .poster__frame { transform: none; }
  .poster__mult { right: 8px; }
  .poster__bank { left: 8px; }
  .ggrid, .ngrid, .prods { grid-template-columns: repeat(2, 1fr); }
  .flag { grid-template-columns: 1fr; }
  .flag__art { min-height: 0; aspect-ratio: 16 / 9; }
  .ops, .contact, .gdetail, .about { grid-template-columns: 1fr; }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpis div:nth-child(4) { border-left: 0; }
  .kpis div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .facts__bar { margin-left: calc(var(--o) / 2); }
  .drawer { position: absolute; right: 0; top: 0; bottom: 0; z-index: 5; box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
}

@media (max-width: 760px) {
  :root { --hdr: 64px; }
  body { font-size: 15px; }
  .hdr__cta { display: none; }
  .logo__mark { width: 34px; }
  .logo__word { font-size: 15px; }
  .chip-balance { height: 36px; padding: 0 12px; font-size: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .poster__badge { left: 12px; }
  .poster__mult { padding: 8px 12px; top: auto; bottom: -18px; right: 12px; }
  .poster__mult b { font-size: 20px; }
  .poster__bank { display: none; }
  .shead { grid-template-columns: 1fr; gap: 16px; }
  .shead--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ggrid, .ngrid, .prods, .steps, .values, .infocards { grid-template-columns: 1fr; }
  .gcard__cta .btn, .flag__cta .btn { flex: 1; }
  .facts__bar { margin-left: 0; padding: 16px 20px; }
  .cta__in { grid-template-columns: 1fr; }
  .soonband { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__nav { position: static; display: flex; overflow-x: auto; }
  .legal__nav a { white-space: nowrap; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__cols > div:last-child { grid-column: span 2; }
  .ftr__trust { align-items: flex-start; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .kpis div:nth-child(-n+2) { border-top: 0; }
  .kpis div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .kpis div:last-child { grid-column: span 2; border-left: 0 !important; }
  .balcard { width: 100%; }
  .agegate__box { padding: 36px 20px 22px; }

  /* stacked table rows */
  .table { background: none; box-shadow: none; overflow: visible; }
  .table thead { display: none; }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { margin-bottom: 10px; padding: 8px 4px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
  .table td { display: flex; justify-content: space-between; gap: 12px; padding: 7px 14px; border: 0; white-space: normal; text-align: right; }
  .table td::before { content: attr(data-l); color: var(--dim); font: 700 11px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; text-align: left; }

  .play__bar { height: 58px; gap: 8px; }
  .play__back { padding: 0 4px; }
  .play__back .logo__mark { display: none; }
  .play__balance { min-width: 0; padding: 6px 10px; }
  .play__balance > span { display: none; }
  .play__balance > b { font-size: 14px; }
  .iconbtn { width: 38px; height: 38px; }
  .hide-sm { display: none; }
  .drawer { width: 100%; margin-right: -100%; }
}

@media (max-width: 380px) {
  .play__title > span { display: none; }
  .ftr__cols { grid-template-columns: 1fr; }
  .ftr__cols > div:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* mobile menu: compact + scrollable */
.menu { overflow-y: auto; gap: 24px; }
.menu__nav a { padding: 14px 0; font-size: clamp(18px, 5.2vw, 24px); }
.shead__idx { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 760px) { .ghero__art img { object-position: 22% center; } }

/* ==========================================================================
   Light theme (default). Dark tokens live in :root above.
   ========================================================================== */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5fb;
  --bg-2: #f8f9fd;
  --panel: #ffffff;
  --panel-2: #edf1fa;
  --line: rgba(20, 40, 100, .1);
  --line-2: rgba(20, 40, 100, .18);
  --text: #0b1430;
  --muted: #4a5678;
  --dim: #7a84a3;
  --blue: #2459f0;
  --blue-hi: #1d52e3;
  --ice: #2459f0;
  --win: #0c9b6a;
  --crash: #dc1f40;
  --gold: #c78600;
  --logo-ink: #0b1a3c;
}
html[data-theme="dark"] { color-scheme: dark; }

/* Surfaces that stay dark in both themes (artwork, code, banners, game) */
html[data-theme="light"] :is(.cta__in, .code, .ghero, .poster__badge, .poster__mult, .poster__bank, .play) {
  --bg: #04060d; --bg-2: #080c18; --panel: #0c1222; --panel-2: #111a30;
  --line: rgba(130, 160, 255, .12); --line-2: rgba(130, 160, 255, .22);
  --text: #eef2ff; --muted: #b3bfe0; --dim: #5b6584;
  --blue: #2f6bff; --blue-hi: #5d92ff; --ice: #a9c6ff;
  --win: #2ee6a6; --crash: #ff3d5e; --gold: #ffc14d; --logo-ink: #fff;
  color: var(--text);
}

html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] .hdr {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
html[data-theme="light"] .menu { background: rgba(243, 245, 251, .98); }
html[data-theme="light"] .dd__menu { background: rgba(255, 255, 255, .98); box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(20, 40, 100, .35); }
html[data-theme="light"] .rail { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -12px rgba(20, 40, 100, .3); }
html[data-theme="light"] .hero__glow { background: radial-gradient(closest-side, rgba(47, 107, 255, .2), transparent 70%); }
html[data-theme="light"] .hero__floor, html[data-theme="light"] .phead__floor { opacity: .7; }
html[data-theme="light"] .facts { background: linear-gradient(180deg, var(--bg), #e6ecfa 50%, var(--bg)); }
html[data-theme="light"] :is(.prod--soon, .gcard--soon) { background: repeating-linear-gradient(135deg, #fff 0 14px, #eef2fa 14px 28px); }
html[data-theme="light"] :is(.gcard, .prod, .ncard, .values > div, .infocard, .flag, .sheet, .form, .steps li, .join, .soonband, .kpis, .table, .balcard, .empty) {
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -18px rgba(20, 40, 100, .25);
}
html[data-theme="light"] .gcard:hover { box-shadow: inset 0 0 0 1px hsl(var(--h) 90% 55% / .5), 0 30px 60px -30px hsl(var(--h) 90% 45% / .45); }
html[data-theme="light"] .poster__frame { box-shadow: 0 0 0 1px rgba(36, 89, 240, .25), 0 50px 100px -40px rgba(36, 89, 240, .55); }
html[data-theme="light"] .about__media img { box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(36, 89, 240, .45); }
html[data-theme="light"] .agegate__box { background: radial-gradient(400px 200px at 50% 0%, rgba(47, 107, 255, .14), transparent 70%), #fff; }
html[data-theme="light"] .btn--ghost { --b-bg: rgba(36, 89, 240, .06); }
html[data-theme="light"] .btn--ghost:hover { --b-bg: rgba(36, 89, 240, .12); }
html[data-theme="light"] .ftr { background: #fff; }
html[data-theme="light"] .ncard__img { background: #fff; }
html[data-theme="light"] .hero__title em { text-shadow: none; }

/* ---------- theme toggle ---------- */
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle i { position: absolute; transition: transform .4s var(--ease), opacity .3s; }
html[data-theme="light"] .theme-toggle .ph-sun,
html:not([data-theme="light"]) .theme-toggle .ph-moon { transform: translateY(120%) rotate(90deg); opacity: 0; }

/* compact mobile header: logo + balance + theme + menu must fit 320–420px */
@media (max-width: 440px) {
  .hdr__in { gap: 8px; }
  .hdr__end { gap: 6px; }
  .chip-balance { padding: 0 10px; font-size: 11.5px; height: 34px; }
  .chip-balance i { display: none; }
  .hdr .iconbtn { width: 36px; height: 36px; font-size: 16px; }
  .hdr__burger { width: 40px; height: 40px; }
  .hdr__burger span { left: 11px; right: 11px; }
  .hdr__burger span:first-child { top: 15px; }
  .hdr__burger span:last-child { top: 23px; right: 16px; }
  .hdr__burger[aria-expanded="true"] span:first-child, .hdr__burger[aria-expanded="true"] span:last-child { top: 19px; right: 11px; }
  .logo { gap: 9px; }
  .logo__mark { width: 30px; }
  .logo__word { font-size: 13.5px; letter-spacing: .16em; }
}

/* light theme detail fixes */
html[data-theme="light"] .seg input:checked + span { background: rgba(36, 89, 240, .1); color: var(--blue); }
html[data-theme="light"] .seg span { background: #fff; }
html[data-theme="light"] .field input, html[data-theme="light"] .field textarea { background: #f6f8fd; }
html[data-theme="light"] .field input:focus, html[data-theme="light"] .field textarea:focus { background: #fff; }
html[data-theme="light"] .chip-balance { background: rgba(12, 155, 106, .08); box-shadow: inset 0 0 0 1px rgba(12, 155, 106, .3); }
html[data-theme="light"] .tag.is-won { background: rgba(12, 155, 106, .1); }
html[data-theme="light"] .tag.is-lost { background: rgba(220, 31, 64, .08); }
html[data-theme="light"] .feat i, html[data-theme="light"] .soonband > i, html[data-theme="light"] .ticks i { box-shadow: none; }
html[data-theme="light"] .gcard__badge { color: #eef2ff; }
html[data-theme="light"] .gcard__badge.is-live { color: #2ee6a6; }
html[data-theme="light"] .gcard__badge.is-live i { background: #2ee6a6; }
html[data-theme="light"] .phead { border-bottom-color: var(--line); }

/* form rows: equal field heights, hide empty error slots */
.form__row { align-items: start; }
.field em:empty { display: none; }
