/* ═══════════════════════════════════════════════════════════════════════════
   Pixel Perfect Gaming — public site design system (neon casino edition)
   Palette matches the admin panel: cyan / green / pink / gold / purple on deep navy.
   Fonts: Orbitron (display) · Rajdhani (body) · Share Tech Mono (labels).
   Radius rule: cards 20px · buttons pill · inputs 12px. Motion: transform/opacity.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #040617;
  --bg-2: #080B24;
  --surface: #0C1030;
  --surface-2: #121740;
  --surface-3: #1A2052;
  --line: rgba(0, 212, 255, 0.16);
  --line-strong: rgba(0, 212, 255, 0.34);
  --text: #EEF3FF;
  --text-2: #C3CDEF;
  --muted: #7E8BBF;
  --cyan: #00D4FF;
  --green: #00FF88;
  --pink: #FF2D78;
  --purple: #9D4EFF;
  --gold: #FFD23F;
  --gold-2: #FF9F1C;
  --gold-3: #FFE98A;
  --gold-ink: #1A1200;
  --gold-soft: rgba(255, 210, 63, 0.14);
  --gold-line: rgba(255, 210, 63, 0.4);
  --cyan-soft: rgba(0, 212, 255, 0.12);
  --pink-soft: rgba(255, 45, 120, 0.14);
  --green-soft: rgba(0, 255, 136, 0.12);
  --ok: #00FF88;
  --err: #FF4D6D;
  --glow-cyan: 0 0 14px rgba(0, 212, 255, 0.55), 0 0 40px rgba(0, 212, 255, 0.22);
  --glow-gold: 0 0 18px rgba(255, 210, 63, 0.5), 0 0 48px rgba(255, 159, 28, 0.28);
  --glow-pink: 0 0 14px rgba(255, 45, 120, 0.55), 0 0 40px rgba(255, 45, 120, 0.22);
  --shadow-deep: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-card: 20px;
  --r-input: 12px;
  --font-display: 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Rajdhani', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Share Tech Mono', ui-monospace, monospace;
  --nav-h: 68px;
  --z-nav: 40;
  --z-chat: 80;
  --z-promo: 85;
  --z-menu: 90;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 17.5px;
  font-weight: 500;
  min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: #04121A; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Ambient background: bright neon orbs + faint grid, fixed so scrolling content never repaints it */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 82% -5%, rgba(0, 212, 255, 0.28), transparent 62%),
    radial-gradient(45% 40% at 5% 25%, rgba(157, 78, 255, 0.30), transparent 60%),
    radial-gradient(40% 40% at 70% 105%, rgba(255, 45, 120, 0.22), transparent 62%),
    radial-gradient(35% 35% at 30% 80%, rgba(0, 255, 136, 0.10), transparent 60%),
    var(--bg);
}
.ambient::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.9'/></svg>");
}
.site { position: relative; z-index: 2; }

/* ── Type scale ─────────────────────────────────────────────────────────── */
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: 0.01em; line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.7vw, 2.2rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text-2); max-width: 58ch; line-height: 1.55; font-weight: 500; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--cyan-soft); color: var(--cyan);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 212, 255, 0.08);
}
.eyebrow i { font-size: 13px; }
.muted { color: var(--muted); }
.neon { color: var(--cyan); text-shadow: var(--glow-cyan); }
.neon-gold { color: var(--gold); text-shadow: var(--glow-gold); }
.neon-pink { color: var(--pink); text-shadow: var(--glow-pink); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.grid { display: grid; gap: 24px; }

/* ── Buttons (pill) ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px 13px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap; line-height: 1; border: 1px solid transparent;
  transition: transform 0.5s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.5s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ico {
  width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; transition: transform 0.5s var(--ease); flex: none;
}
.btn:hover .ico { transform: translate(2px, -1px) scale(1.06); }
.btn-gold { background: linear-gradient(180deg, var(--gold-3), var(--gold) 50%, var(--gold-2)); color: var(--gold-ink); box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(255, 210, 63, 0.7), 0 0 60px rgba(255, 159, 28, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-gold .ico { background: rgba(26, 18, 0, 0.16); }
.btn-ghost { background: rgba(0, 212, 255, 0.06); border-color: var(--line-strong); color: var(--cyan); }
.btn-ghost:hover { background: rgba(0, 212, 255, 0.14); border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--glow-cyan); }
.btn-ghost .ico { background: rgba(0, 212, 255, 0.14); }
.btn-sm { padding: 10px 15px 10px 17px; font-size: 13.5px; }
.btn-sm .ico { width: 24px; height: 24px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Double-bezel card ──────────────────────────────────────────────────── */
.shell {
  padding: 6px; border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.14), rgba(157, 78, 255, 0.10) 50%, rgba(255, 45, 120, 0.10)); border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), var(--shadow-deep);
}
.core {
  border-radius: calc(var(--r-card) - 6px); background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); position: relative; overflow: hidden;
}

/* ── Nav: glass pill, scrolls with the page ─────────────────────────────── */
.nav-wrap { position: relative; z-index: var(--z-nav); display: flex; justify-content: center; padding: 18px 16px 0; pointer-events: none; }
.nav {
  pointer-events: auto; width: min(1180px, 100%); height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 12px 0 22px; border-radius: 999px;
  background: rgba(6, 8, 30, 0.78); border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 30px rgba(0, 212, 255, 0.12), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}
.nav-logo { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); text-shadow: var(--glow-cyan); display: inline-flex; align-items: center; gap: 2px; }
.nav-logo span { color: var(--green); text-shadow: 0 0 12px rgba(0, 255, 136, 0.6); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); transition: color 0.3s var(--ease), background 0.3s var(--ease), text-shadow 0.3s; }
.nav-links a:hover { color: var(--cyan); background: var(--cyan-soft); text-shadow: var(--glow-cyan); }
.nav .btn { flex: none; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; margin-left: auto; }
.nav-burger span { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(0, 212, 255, 0.7); border-radius: 2px; transition: transform 0.5s var(--ease), opacity 0.3s; }
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); display: grid; place-items: center;
  background: rgba(4, 6, 23, 0.94); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu-close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 20px; color: var(--cyan); }
.menu-links { display: grid; gap: 8px; text-align: center; }
.menu-links a { font-family: var(--font-display); font-size: clamp(1.3rem, 5.5vw, 2rem); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 20px; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out), color 0.3s; }
.menu-links a:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(1) { transition-delay: 0.08s; }
.menu.open .menu-links a:nth-child(2) { transition-delay: 0.14s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: 0.2s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: 0.26s; }
.menu-links .btn { margin-top: 18px; font-size: 16px; justify-self: center; }

/* ── Hero: copy left, prize wheel right ─────────────────────────────────── */
.hero { min-height: calc(100vh - 86px); min-height: calc(100dvh - 86px); display: grid; align-items: center; padding: 20px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.hero-copy { display: grid; gap: 22px; justify-items: start; align-content: space-between; padding: 6px 0 2px; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.1vw, 3.6rem); line-height: 1.1; }
.hero-copy .lede { font-size: clamp(1.15rem, 1.55vw, 1.45rem); }
.hero-copy h1 { max-width: 16ch; }
.hero-copy h1 em { font-style: normal; color: var(--gold); text-shadow: var(--glow-gold); }
.hero-copy .lede { max-width: 46ch; }
.hero-visual { position: relative; display: grid; align-items: start; justify-items: stretch; }
#spin-host { width: 100%; display: grid; justify-items: center; }
body.no-spin .hero-grid { grid-template-columns: 1fr; }
body.no-spin .hero-copy { justify-items: center; text-align: center; }
body.no-spin .hero-copy h1 { max-width: 22ch; }
body.no-spin .hero-visual { display: none; }
.hero-wheel { width: 100%; max-width: 540px; display: grid; gap: 14px; }
.hero-wheel .spin-head { display: grid; gap: 4px; text-align: center; justify-items: center; }
.hero-wheel .spin-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-shadow: var(--glow-gold); }
.hero-wheel .spin-sub { color: var(--text-2); font-size: 16px; line-height: 1.35; max-width: 46ch; }
.hero-wheel .spin-foot { display: grid; gap: 6px; justify-items: center; text-align: center; padding-top: 12px; }
/* result overlay: sits on the wheel, blurs it, never changes layout */
.spin-overlay { position: absolute; inset: 0; z-index: 3; border-radius: 50%; display: grid; place-items: center; padding: 13%; text-align: center; background: radial-gradient(circle, rgba(4, 6, 23, 0.62), rgba(4, 6, 23, 0.88)); backdrop-filter: blur(8px) saturate(130%); -webkit-backdrop-filter: blur(8px) saturate(130%); box-shadow: inset 0 0 0 2px rgba(0, 212, 255, 0.35), inset 0 0 60px rgba(0, 212, 255, 0.18); animation: overlay-in 0.55s var(--ease-out); }
@keyframes overlay-in { from { opacity: 0; transform: scale(0.94); } }
/* while the result is showing: blur the wheel itself (no reliance on backdrop-filter) and take the hub/pointer out */
.wheel-wrap canvas { transition: transform 5.4s cubic-bezier(0.12, 0.8, 0.12, 1), filter 0.5s var(--ease), opacity 0.5s var(--ease); }
.wheel-wrap.revealed canvas { filter: blur(7px) saturate(0.85) brightness(0.7); }
.wheel-wrap .wheel-hub, .wheel-wrap .wheel-pointer { transition: opacity 0.35s var(--ease), transform 0.4s var(--ease); }
.wheel-wrap.revealed .wheel-hub, .wheel-wrap.revealed .wheel-pointer { opacity: 0; pointer-events: none; visibility: hidden; }
.so-inner { display: grid; gap: 10px; justify-items: center; }
.so-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cyan); text-shadow: var(--glow-cyan); }
.so-title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.1; letter-spacing: 0.02em; color: var(--gold); text-shadow: var(--glow-gold); animation: title-pop 0.7s var(--ease-out); }
@keyframes title-pop { 0% { transform: scale(0.7); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.spin-overlay.none .so-title { color: var(--pink); text-shadow: var(--glow-pink); }
.spin-overlay.err .so-title { color: var(--err); text-shadow: none; }
.spin-overlay.none .so-kicker { color: var(--text-2); text-shadow: none; }
.so-text { color: var(--text-2); font-size: 14.5px; line-height: 1.35; max-width: 30ch; }
.so-actions { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.so-claim, .so-again { font-size: 13.5px; padding: 10px 14px 10px 18px; }
.so-claim .ico, .so-again .ico { width: 26px; height: 26px; font-size: 13px; }
.so-wait { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--cyan-soft); }
.so-close { position: absolute; top: 9%; right: 9%; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(4, 6, 23, 0.85); color: var(--text); display: grid; place-items: center; font-size: 16px; transition: color 0.3s, border-color 0.3s; }
.so-close:hover { color: var(--cyan); border-color: var(--cyan); }
.hero-wheel .spin-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }
.wheel-wrap { position: relative; width: min(100%, clamp(280px, 60vh, 520px)); margin: 8px auto 0; aspect-ratio: 1; display: grid; place-items: center; }
.wheel-wrap::before { content: ''; position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 212, 255, 0.32), rgba(157, 78, 255, 0.16) 55%, transparent); filter: blur(22px); pointer-events: none; }
.wheel-wrap canvas { width: 100%; height: 100%; border-radius: 50%; position: relative; box-shadow: 0 0 0 5px rgba(4, 6, 23, 0.9), 0 0 0 7px var(--cyan), 0 0 30px rgba(0, 212, 255, 0.5), var(--shadow-deep); transition: transform 5.4s cubic-bezier(0.12, 0.8, 0.12, 1); will-change: transform; }
.wheel-pointer { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 32px solid var(--gold); filter: drop-shadow(0 0 10px rgba(255, 210, 63, 0.8)); z-index: 2; }
.wheel-hub { position: absolute; width: 24%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-3), var(--gold) 45%, var(--gold-2) 80%); box-shadow: 0 0 0 4px rgba(4, 6, 23, 0.9), var(--glow-gold), inset 0 2px 0 rgba(255, 255, 255, 0.55); display: grid; place-items: center; font-family: var(--font-display); font-size: 14px; font-weight: 900; letter-spacing: 0.08em; color: var(--gold-ink); cursor: pointer; transition: transform 0.4s var(--ease); z-index: 2; border: 0; }
.wheel-hub:hover { transform: scale(1.06); }
.wheel-hub[disabled] { cursor: default; transform: none; filter: saturate(0.5) brightness(0.8); }

/* ── Marquee (single use) ───────────────────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(0, 212, 255, 0.03); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 18px; padding: 16px 28px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.marquee-item .sep { color: var(--pink); font-size: 10px; text-shadow: var(--glow-pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Games bento ────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 18px; }
.tile { grid-column: span 1; grid-row: span 1; position: relative; display: block; border-radius: var(--r-card); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.tile .tile-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-card); }
.tile .actions { position: relative; z-index: 1; }
.tile .actions .btn-gold { position: relative; z-index: 2; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--glow-cyan); }
.tile.featured { grid-column: span 2; grid-row: span 2; }
.tile .core { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.tile .bgimg { position: absolute; inset: 0; z-index: -2; object-fit: cover; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.tile:hover .bgimg { transform: scale(1.05); }
.tile .bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(150deg, var(--surface-3), var(--surface) 65%); }
.tile .bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 10%, var(--glow, rgba(0, 212, 255, 0.3)), transparent 70%); }
.tile .scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 6, 23, 0) 30%, rgba(4, 6, 23, 0.9) 100%); }
.tile .glyph { position: absolute; top: 18px; right: 18px; font-size: 44px; line-height: 1; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)); transition: transform 0.9s var(--ease); }
.tile.featured .glyph { top: 26px; right: 26px; }
.tile:hover .glyph { transform: translateY(-4px) rotate(-6deg); }
.tile .glyph img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.tile.featured .glyph img { width: 120px; height: 120px; border-radius: 24px; }
.tile .badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line-strong); background: rgba(4, 6, 23, 0.7); color: var(--cyan); backdrop-filter: blur(6px); }
.badge.gold { color: var(--gold); border-color: var(--gold-line); background: rgba(26, 18, 0, 0.7); }
.badge.ok { color: var(--green); border-color: rgba(0, 255, 136, 0.4); background: rgba(0, 40, 20, 0.6); }
.tile h3 { margin-bottom: 4px; }
.tile.featured h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tile p { color: var(--text-2); font-size: 15px; max-width: 40ch; }
.tile .actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tile .actions .btn { padding: 9px 14px; font-size: 13px; }
.tile .actions .btn .ico { width: 22px; height: 22px; font-size: 11px; }
.bento-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--r-card); }
.skeleton { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--r-card); }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.08), transparent); animation: shimmer 1.6s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* monogram plate: used wherever a platform has no uploaded icon */
.mono { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: 0.04em; color: #04121A; background: linear-gradient(160deg, #7CEBFF, var(--cyan) 45%, var(--purple)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), var(--glow-cyan); }
.mono.lg { width: 96px; height: 96px; border-radius: 26px; font-size: 32px; }
.tile.featured .mono { background: linear-gradient(160deg, var(--gold-3), var(--gold) 50%, var(--gold-2)); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), var(--glow-gold); }
.game-icon .mono.lg { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }

/* ── How it works: sticky split ─────────────────────────────────────────── */
.how { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-sticky { position: sticky; top: 40px; display: grid; gap: 18px; justify-items: start; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--cyan); filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5)); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); max-width: 48ch; }

/* ── Support ────────────────────────────────────────────────────────────── */
.support { text-align: center; display: grid; gap: 22px; justify-items: center; }
.support h2 { max-width: 22ch; }
.support .lede { text-align: center; }
.desk-status { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--cyan-soft); color: var(--text-2); font-size: 16px; box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.08); }
.desk-status b { color: var(--text); font-weight: 700; }
.desk-status i { color: var(--green); font-size: 18px; text-shadow: 0 0 10px rgba(0, 255, 136, 0.7); }

/* ── FAQ accordion ──────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin-inline: auto; display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--pink); text-shadow: var(--glow-pink); transition: transform 0.5s var(--ease); flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details[open] summary { color: var(--cyan); }
.faq .a { padding: 0 4px 22px; color: var(--text-2); max-width: 62ch; font-size: 16.5px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 60px 0 32px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; max-width: 36ch; color: var(--text-2); }
.footer .footer-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; font-weight: 400; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer ul button { color: var(--text-2); font-size: 16px; font-weight: 500; transition: color 0.3s, text-shadow 0.3s; text-align: left; padding: 0; }
.footer ul a:hover, .footer ul button:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; }
.age { display: inline-flex; align-items: center; gap: 8px; }
.age b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--pink); color: var(--pink); font-size: 11px; font-weight: 700; text-shadow: var(--glow-pink); }

/* ── Promo: banner slots + popup ────────────────────────────────────────── */
.promo-slot { display: grid; gap: 16px; }
.promo-slot:empty { display: none; }
.promo-slot-wrap { padding: 12px 0 0; }
.promo-slot-wrap:has(.promo-slot:empty) { display: none; }
.promo-banner { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); position: relative; opacity: 0; transform: translateY(14px); animation: promo-in 0.8s var(--ease-out) forwards; box-shadow: 0 0 24px rgba(0, 212, 255, 0.12); }
.promo-banner a, .promo-banner img { display: block; width: 100%; }
.promo-banner img { height: auto; }
.promo-banner .promo-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 999px; background: rgba(4, 6, 23, 0.75); border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 14px; color: var(--text); z-index: 2; }
@keyframes promo-in { to { opacity: 1; transform: none; } }
.promo-modal { position: fixed; inset: 0; z-index: var(--z-promo); display: grid; place-items: center; padding: 20px; background: rgba(2, 4, 16, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; }
.promo-modal.open { opacity: 1; visibility: visible; }
.promo-modal .promo-box { position: relative; width: 100%; max-width: 520px; max-height: min(90vh, 900px); max-height: min(90dvh, 900px); overflow: auto; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--glow-cyan), var(--shadow-deep); transform: translateY(24px) scale(0.97); transition: transform 0.6s var(--ease-out); }
.promo-modal.open .promo-box { transform: none; }
.promo-box.sm { max-width: 380px; } .promo-box.lg { max-width: 780px; } .promo-box.full { max-width: 94vw; }
.promo-box .promo-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px; background: rgba(4, 6, 23, 0.85); border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 16px; z-index: 3; color: var(--cyan); }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

/* ── Game detail page ───────────────────────────────────────────────────── */
.page-hero { padding: 40px 0 24px; }
.game-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.game-icon { width: 104px; height: 104px; border-radius: 26px; display: grid; place-items: center; font-size: 56px; background: linear-gradient(160deg, var(--surface-3), var(--surface)); border: 1px solid var(--line-strong); box-shadow: var(--glow-cyan); overflow: hidden; }
.game-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-title { display: grid; gap: 10px; }
.game-title h1 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.game-title .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.game-banner { margin-top: 32px; }
.game-banner .core { aspect-ratio: 21 / 9; }
.game-banner img { width: 100%; height: 100%; object-fit: cover; }
.game-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 28px; align-items: start; padding: 40px 0 80px; }
.prose { color: var(--text-2); display: grid; gap: 14px; font-size: 17.5px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 12px; }
.prose h2 { font-size: 1.35rem; } .prose h3 { font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; }
.side { position: sticky; top: 24px; display: grid; gap: 16px; }
.side .core { padding: 24px; display: grid; gap: 14px; background: linear-gradient(160deg, #141a48, var(--surface) 70%); }
.side h3 { font-size: 1.1rem; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.shots button { border-radius: var(--r-input); overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 16 / 10; transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.shots button:hover { transform: translateY(-4px); box-shadow: var(--glow-cyan); }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: var(--z-promo); background: rgba(2, 4, 16, 0.94); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: var(--r-input); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(4, 6, 23, 0.85); display: grid; place-items: center; font-size: 18px; color: var(--cyan); }

/* ── CMS page ───────────────────────────────────────────────────────────── */
.page-wrap { padding-top: 40px; }
.article { max-width: 780px; margin: 0 auto; padding: 0 0 90px; display: grid; gap: 28px; }
.article header { display: grid; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article header small { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.notfound { min-height: calc(100vh - 86px); min-height: calc(100dvh - 86px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; text-align: center; gap: 16px; padding: 60px 20px 60px; position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.notfound h1 { max-width: 18ch; }
.notfound p { max-width: 52ch; }
.notfound-code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--cyan); filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.45)); }
.notfound .cta-row { justify-content: center; }

/* ── State / utility ────────────────────────────────────────────────────── */
.state { padding: 80px 20px; text-align: center; color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.lock { overflow: hidden; }
body.has-dialog .cw-root { visibility: hidden; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; transition: top 0.3s; }
.skip-link:focus { top: 16px; }
[id] { scroll-margin-top: 24px; }

/* ══════════════════════════════════════════════════════════════════════════
   CHAT WIDGET (floating live-chat bubble + expandable panel)
   ══════════════════════════════════════════════════════════════════════════ */
.cw-root { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-chat); font-family: var(--font-body); }
.cw-fab {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 999px; font-family: var(--font-body);
  background: linear-gradient(180deg, var(--gold-3), var(--gold) 50%, var(--gold-2)); color: var(--gold-ink); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.4s var(--ease);
}
.cw-fab i { font-size: 26px; }
.cw-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 26px rgba(255, 210, 63, 0.75), 0 0 64px rgba(255, 159, 28, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.cw-fab:active { transform: scale(0.97); }
.cw-fab::before { content: ''; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--gold); opacity: 0; animation: fab-ring 3.2s var(--ease) infinite; pointer-events: none; }
@keyframes fab-ring { 0% { transform: scale(0.9); opacity: 0.6; } 60%, 100% { transform: scale(1.35); opacity: 0; } }
.cw-badge { position: absolute; top: -6px; right: -4px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); box-shadow: var(--glow-pink); }
.cw-root.open .cw-fab { opacity: 0; pointer-events: none; transform: translateY(20px) scale(0.9); }
.cw-root.nudge .cw-fab { animation: fab-nudge 0.7s var(--ease); }
@keyframes fab-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-6px) rotate(-3deg); } 60% { transform: translateX(5px) rotate(3deg); } }

.cw-panel {
  position: absolute; right: 0; bottom: 0; width: 392px; height: min(660px, calc(100vh - 40px)); height: min(660px, calc(100dvh - 40px));
  display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden;
  background: rgba(8, 11, 36, 0.96); border: 1px solid var(--line-strong);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.18), 0 40px 100px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform-origin: 100% 100%; transform: translateY(24px) scale(0.92); opacity: 0; visibility: hidden;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), visibility 0.6s;
}
.cw-root.open .cw-panel { transform: none; opacity: 1; visibility: visible; }
.cw-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 212, 255, 0.14), transparent); }
.cw-avatar { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(160deg, var(--gold-3), var(--gold-2)); color: var(--gold-ink); font-size: 20px; flex: none; box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.cw-title { display: grid; gap: 2px; min-width: 0; flex: 1; }
.cw-title b { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); text-shadow: var(--glow-cyan); }
.cw-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-status::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.18), 0 0 8px rgba(0, 255, 136, 0.8); flex: none; }
.cw-status.waiting::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.2), 0 0 8px rgba(255, 210, 63, 0.8); animation: pulse 1.4s infinite; }
.cw-status.live::before { background: var(--green); }
.cw-status.off::before { background: var(--muted); box-shadow: none; }
@keyframes pulse { 50% { opacity: 0.4; } }
.cw-actions { display: flex; gap: 4px; }
.cw-ibtn { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--text-2); font-size: 17px; transition: background 0.3s, color 0.3s; }
.cw-ibtn:hover { background: var(--cyan-soft); color: var(--cyan); }
.cw-steps { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cw-step { display: inline-flex; align-items: center; gap: 6px; }
.cw-step .dot { width: 18px; height: 18px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.cw-step.active { color: var(--cyan); text-shadow: var(--glow-cyan); }
.cw-step.active .dot { border-color: var(--cyan); background: var(--cyan-soft); }
.cw-step.done .dot { background: var(--green); border-color: var(--green); color: #04121A; }
.cw-line { flex: 1; height: 1px; background: var(--line-strong); }
.cw-line.done { background: var(--green); box-shadow: 0 0 6px rgba(0, 255, 136, 0.7); }
.cw-msgs { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0, 212, 255, 0.25) transparent; }
.cw-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; animation: msg-in 0.5s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.cw-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.cw-msg .av { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; background: var(--surface-3); flex: none; }
.cw-msg.support .av { background: var(--cyan); color: #04121A; box-shadow: 0 0 10px rgba(0, 212, 255, 0.6); }
.cw-bubble { padding: 10px 13px; border-radius: 16px; font-size: 16px; line-height: 1.4; background: var(--surface-3); border: 1px solid var(--line); color: var(--text); overflow-wrap: anywhere; }
.cw-msg.bot .cw-bubble { border-bottom-left-radius: 6px; }
.cw-msg.support .cw-bubble { border-bottom-left-radius: 6px; border-color: var(--line-strong); background: var(--cyan-soft); }
.cw-msg.user .cw-bubble { background: linear-gradient(180deg, var(--gold-3), var(--gold)); color: var(--gold-ink); border-color: transparent; border-bottom-right-radius: 6px; font-weight: 600; }
.cw-msg.error .cw-bubble { border-color: rgba(255, 77, 109, 0.5); background: rgba(255, 77, 109, 0.1); color: #FFB3C0; }
.cw-msg.wide { max-width: 100%; }
.cw-msg.wide .cw-bubble { width: 100%; }
.cw-sys { align-self: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-align: center; padding: 2px 10px; }
.cw-sys.restored { letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; opacity: 0.8; }
.cw-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.cw-typing span { width: 6px; height: 6px; border-radius: 999px; background: var(--cyan); animation: typing 1.2s infinite; }
.cw-typing span:nth-child(2) { animation-delay: 0.15s; } .cw-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.cw-games { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cw-game { display: grid; gap: 4px; padding: 10px; border-radius: var(--r-input); border: 1px solid var(--line-strong); background: var(--surface-2); text-align: left; transition: transform 0.4s var(--ease), border-color 0.3s, opacity 0.3s, box-shadow 0.3s; }
.cw-game:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.cw-game .e { font-size: 22px; }
.cw-game .e img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.cw-game b { font-size: 15px; font-weight: 700; }
.cw-game small { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cw-game small.gold { color: var(--green); }
.cw-game.rec { border-color: var(--gold-line); }
.cw-game.selected { border-color: var(--gold); background: var(--gold-soft); }
.cw-game[disabled] { opacity: 0.4; pointer-events: none; }
.cw-game.selected[disabled] { opacity: 1; }
.cw-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 8px; padding: 12px; border-radius: var(--r-input); border: 1px solid rgba(0, 255, 136, 0.4); background: var(--green-soft); font-size: 15px; }
.cw-card .k { color: var(--muted); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.cw-card .v { font-weight: 700; word-break: break-all; }
.cw-prize { display: grid; gap: 6px; margin-top: 8px; padding: 12px; border-radius: var(--r-input); border: 1px solid var(--gold-line); background: linear-gradient(160deg, rgba(255, 210, 63, 0.18), rgba(255, 45, 120, 0.08)); }
.cw-prize b { font-family: var(--font-display); color: var(--gold); text-shadow: var(--glow-gold); font-size: 14px; }
.cw-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cw-bar.waiting { color: var(--gold); } .cw-bar.live { color: var(--green); }
.cw-human { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cyan); font-size: 13.5px; font-weight: 700; transition: background 0.3s, box-shadow 0.3s; white-space: nowrap; }
.cw-human:hover { background: var(--cyan-soft); box-shadow: var(--glow-cyan); }
.cw-human[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.cw-shortcuts { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 14px 0; }
.cw-sc { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: 14px; font-weight: 600; transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); }
.cw-sc:hover { border-color: var(--cyan); background: var(--cyan-soft); transform: translateY(-1px); }
.cw-sc.gold { color: var(--gold); border-color: var(--gold-line); }
.cw-hint { padding: 6px 16px 0; font-size: 13px; color: var(--muted); min-height: 0; }
.cw-hint:empty { display: none; }
.cw-form { display: flex; gap: 8px; padding: 10px 12px 12px; }
.cw-input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: var(--r-input); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-size: 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.cw-input::placeholder { color: var(--muted); }
.cw-input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft), var(--glow-cyan); }
.cw-input:disabled { opacity: 0.55; }
.cw-send { width: 46px; height: 46px; border-radius: var(--r-input); display: grid; place-items: center; font-size: 19px; background: linear-gradient(180deg, var(--gold-3), var(--gold-2)); color: var(--gold-ink); flex: none; transition: transform 0.4s var(--ease), opacity 0.3s; box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.cw-send:hover { transform: scale(1.06); }
.cw-send:disabled { opacity: 0.45; transform: none; cursor: not-allowed; box-shadow: none; }
.cw-foot { text-align: center; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); padding: 0 0 8px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-auto-rows: 210px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-wheel { max-width: 460px; }
  .how { grid-template-columns: 1fr; }
  .how-sticky { position: static; }
  .game-body { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 768px) {
  .container { width: min(1180px, 100% - 32px); }
  .nav-links, .nav .btn-nav { display: none; }
  .nav-burger { display: block; }
  .nav { padding-left: 18px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile.featured { grid-column: span 2; grid-row: span 2; }
  .tile .core { padding: 16px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; padding: 26px 0; }
  .step .n { font-size: 30px; }
  .game-head { grid-template-columns: auto 1fr; }
  .game-head .cta-row { grid-column: 1 / -1; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { min-height: 200px; }
  .tile.featured { grid-column: span 1; grid-row: span 1; min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cw-root { right: 14px; bottom: 14px; }
  .cw-fab { height: 56px; padding: 0 18px 0 16px; }
  .cw-fab-label { display: none; }
  .cw-panel { position: fixed; inset: 0; width: auto; height: 100vh; height: 100dvh; border-radius: 0; border: 0; transform-origin: 100% 100%; }
  .cw-input { font-size: 16px; }
  .cw-games { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: clamp(1.8rem, 8.5vw, 2.4rem); }
  .hero-copy { align-content: start; }
  .wheel-wrap { width: min(100%, 320px); }
}

/* ── Reduced motion: everything collapses to static/instant ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; }
  .cw-fab::before { display: none; }
  .wheel-wrap canvas { transition-duration: 0.001ms !important; }
}

/* ── promo captions + offers (M09) ─────────────────────────────────────── */
.promo-caption { padding: 16px 18px 18px; display: grid; gap: 8px; }
.promo-title { font-family: var(--font-display, 'Orbitron', sans-serif); font-size: 1.05rem; color: var(--text); letter-spacing: 0.02em; }
.promo-desc { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.promo-cta { justify-self: start; margin-top: 4px; }
.game-offers { margin: 32px 0; }
.game-offers[hidden] { display: none; }
.offer-head { display: grid; gap: 6px; margin: 0 0 16px; font-family: var(--font-display, 'Orbitron', sans-serif); font-size: 1.3rem; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.offer-card { border-radius: var(--r-card); border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 24px rgba(255, 210, 63, 0.08); }
.offer-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.offer-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.offer-body h3 { margin: 0; font-size: 1.05rem; color: var(--text); }
.offer-bonus { margin: 0; color: var(--gold, #FFD23F); font-family: 'Share Tech Mono', monospace; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-bonus:empty, .offer-desc:empty, .offer-meta:empty { display: none; }
.offer-desc { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.offer-meta { margin: 0; color: var(--muted); font-size: 0.8rem; }
.offer-cta { justify-self: start; margin-top: 6px; }

/* ── social links + share (M11) ──────────────────────────────────────── */
.footer-social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-link, .share-btn { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 18px; transition: transform .35s var(--ease-out), border-color .35s, color .35s; }
.social-link:hover, .share-btn:hover { transform: translateY(-2px); border-color: var(--cyan, #00D4FF); color: var(--cyan, #00D4FF); }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.share-row[hidden] { display: none; }
.share-label { font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-btn { cursor: pointer; }
.share-btn.done { border-color: var(--green, #00FF88); color: var(--green, #00FF88); }

/* ── game page FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); padding: 0 18px; }
.faq-item summary { cursor: pointer; padding: 14px 0; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: var(--cyan, #00D4FF); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-a { padding: 0 0 16px; color: var(--muted); line-height: 1.6; }
