/* DriftingPunaSprings — shared styles. One local stylesheet, no CDN. */

:root {
  --bg:        oklch(0.981 0.006 220);
  --bg-2:      oklch(0.965 0.010 215);
  --surface:   #ffffff;
  --surface-2: oklch(0.985 0.006 220);
  --ink:       oklch(0.28 0.022 245);
  --ink-soft:  oklch(0.44 0.020 245);
  --muted:     oklch(0.56 0.018 245);
  --line:      oklch(0.905 0.012 220);
  --line-soft: oklch(0.945 0.010 220);

  /* accents share chroma/lightness, vary hue */
  --accent:    oklch(0.58 0.09 205);   /* spring teal  */
  --accent-2:  oklch(0.66 0.09 65);    /* warm sand    */
  --accent-deep: oklch(0.43 0.066 212);

  --font-display: Georgia, "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1120px;
  --narrow: 680px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,40,55,.05), 0 2px 8px rgba(20,40,55,.04);
  --shadow-md: 0 6px 24px rgba(20,40,55,.08), 0 2px 6px rgba(20,40,55,.05);
  --shadow-lg: 0 18px 50px rgba(20,40,55,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { text-wrap: pretty; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow    { max-width: var(--narrow); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 1rem;
}

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 22px;
  height: 70px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
  list-style: none; padding: 0;
}
.nav-links a {
  display: inline-block;
  color: var(--ink-soft);
  font-size: .94rem; font-weight: 500;
  padding: 8px 13px; border-radius: 8px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--accent-deep); }

.nav-cta {
  background: var(--accent-deep) !important; color: #fff !important;
  padding: 9px 18px !important; border-radius: 9px; font-weight: 600 !important;
  letter-spacing: .04em;
}
.nav-cta:hover { background: var(--ink) !important; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  margin-left: 8px;
}
.lang-switch button {
  font-family: var(--font-ui); font-size: .8rem; font-weight: 600;
  padding: 7px 11px; border: 0; background: transparent; color: var(--muted);
  cursor: pointer; letter-spacing: .04em;
}
.lang-switch button[aria-pressed="true"] { background: var(--accent-deep); color: #fff; }

.menu-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--line); border-radius: 9px;
  width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; margin: 0;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .lang-switch { margin: 6px 0 0; align-self: flex-start; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-size: .98rem; font-weight: 600;
  padding: 14px 28px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .18s, box-shadow .18s;
  text-decoration: none; letter-spacing: .01em;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 140px) 0 clamp(60px, 7vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 80% at 12% 0%, color-mix(in oklab, var(--accent) 13%, transparent), transparent 60%),
    radial-gradient(60% 70% at 95% 18%, color-mix(in oklab, var(--accent-2) 10%, transparent), transparent 58%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art {
  position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); min-height: 400px;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 100% at 80% 10%, color-mix(in oklab, var(--accent) 18%, var(--surface)), var(--surface) 70%);
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--accent-deep);
  background: color-mix(in oklab, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 26%, var(--line));
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Games ---------- */
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .games-grid { grid-template-columns: 1fr; } }

.game-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }
.game-card .cover { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--bg-2); }
.game-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.game-card .kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; margin-bottom: 8px; }
.game-card h3 { font-size: 1.4rem; margin-bottom: .35em; }
.game-card p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 20px; }
.game-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.stat .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent-deep); line-height: 1; }
.stat .label { color: var(--ink-soft); margin-top: 10px; font-size: .96rem; }

/* ---------- Generic content blocks ---------- */
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .prose-grid { grid-template-columns: 1fr; gap: 24px; } }
.prose-grid p { color: var(--ink-soft); font-size: 1.05rem; }

.notice {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm);
}
.notice .badge18 {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: #fff; background: var(--accent-deep);
}
.notice p { margin: 0; color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.field input, .field textarea {
  font-family: var(--font-ui); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.contact-info { display: grid; gap: 14px; align-content: start; }
.contact-info .row { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .row span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-info .row b { font-weight: 600; color: var(--ink); font-size: 1.05rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 11px;
  box-shadow: var(--shadow-lg); font-size: .96rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 80; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-2); border-top: 1px solid var(--line);
  padding: 54px 0 40px; margin-top: 20px;
}
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-brand { max-width: 38ch; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 0; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.footer-disclaimer {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: grid; gap: 6px;
}
.footer-disclaimer li { color: var(--muted); font-size: .85rem; list-style: none; }
.footer-disclaimer ul { margin: 0 0 14px; padding: 0; }
.copyright { color: var(--muted); font-size: .85rem; }

/* ---------- Responsible gaming (footer block + page) ---------- */
.footer-rg {
  border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 26px;
}
.footer-rg .rg-head {
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600; margin: 0 0 14px;
}
.footer-rg .rg-links {
  display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 0;
}
.footer-rg .rg-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 999px;
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .15s var(--ease);
}
.footer-rg .rg-links a:hover {
  text-decoration: none; color: var(--accent-deep);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); transform: translateY(-1px);
}
.footer-rg .rg-links a .ext { color: var(--muted); font-weight: 400; font-size: .9em; }

/* ---------- Virtual-scores disclaimer band ---------- */
.vbanner {
  background: var(--accent-deep); color: #fff;
}
.vbanner .inner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 26px 0;
}
.vbanner .v18 {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; color: var(--accent-deep); background: #fff;
}
.vbanner p { margin: 0; font-size: 1.04rem; line-height: 1.5; max-width: 70ch; }
.vbanner p strong { font-weight: 700; }
.vbanner .tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto;
}
.vbanner .tags span {
  font-size: .76rem; font-weight: 600; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in oklab, #fff 18%, transparent); color: #fff;
  border: 1px solid color-mix(in oklab, #fff 30%, transparent);
}
@media (max-width: 700px) { .vbanner .tags { margin-left: 0; } }

/* ---------- Cookie consent banner ---------- */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  margin: 0 auto; max-width: 760px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px); transition: transform .3s var(--ease);
}
.cookiebar.show { opacity: 1; transform: translateY(0); }
.cookiebar[hidden] { display: none; }
.cookiebar p { margin: 0; flex: 1 1 320px; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.cookiebar p a { font-weight: 600; }
.cookiebar .cookie-actions { display: flex; gap: 10px; flex: none; }
.cookiebar .btn { padding: 11px 22px; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) {
  .cookiebar { transition: none !important; }
}

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 6vw, 88px) 0; }
.legal h1 { margin-bottom: .3em; }
.legal .lead { color: var(--ink-soft); font-size: 1.12rem; margin: 0 0 8px; }
.legal .reviewed { color: var(--muted); font-size: .85rem; margin: 0 0 40px; font-family: var(--font-mono); }
.legal h2 { font-size: 1.3rem; margin: 38px 0 .5em; }
.legal section { counter-increment: sec; }
.legal h2::before { content: counter(sec) ". "; color: var(--accent-deep); }
.legal article { counter-reset: sec; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.02rem; }
.legal ul { padding-left: 20px; }

/* ---------- Game page (launch) ---------- */
.launch { padding: clamp(36px, 5vw, 64px) 0; }
.launch .back { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 22px; }
.launch h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.launch .lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 58ch; margin: 0 0 28px; }
.game-frame-wrap {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-md);
}
.game-frame { width: 100%; height: 640px; border: 0; display: block; }
@media (max-width: 600px) { .game-frame { height: 560px; } }
.how-to { margin-top: 28px; display: grid; gap: 8px; }
.how-to li { color: var(--ink-soft); }

/* ---------- Age gate ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: color-mix(in oklab, var(--ink) 60%, transparent);
  backdrop-filter: blur(6px);
}
.agegate[hidden] { display: none; }
.agegate-card {
  background: var(--surface); border-radius: 20px; max-width: 460px; width: 100%;
  padding: 40px 36px; box-shadow: var(--shadow-lg); text-align: center;
  border: 1px solid var(--line);
}
.agegate-card .mark { width: 48px; height: 48px; margin: 0 auto 18px; }
.agegate-card h2 { font-size: 1.6rem; margin-bottom: .5em; }
.agegate-card p { color: var(--ink-soft); margin: 0 0 26px; }
.agegate-actions { display: grid; gap: 12px; }

/* ---------- Reveal (js-guard only) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: transform .7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: .06s; }
html.js .reveal:nth-child(3) { transition-delay: .12s; }

/* ===================================================================
   Atmosphere & effects — all decorative, disabled under reduced-motion
   =================================================================== */

/* Sticky header: lift shadow once the page is scrolled */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,40,55,.08); }

/* Live "online" dot in the hero pill */
.pill .dot { position: relative; }
.pill .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent); animation: pingDot 2.6s ease-out infinite;
}
@keyframes pingDot { 0% { transform: scale(.6); opacity: .7; } 80%,100% { transform: scale(2.2); opacity: 0; } }

/* Drifting spring-water light pools behind the hero */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; }
.hero-bg .b1 { width: 460px; height: 460px; top: -150px; left: -110px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 60%, transparent), transparent 70%);
  animation: drift1 19s ease-in-out infinite; }
.hero-bg .b2 { width: 400px; height: 400px; top: -40px; right: -90px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent-2) 55%, transparent), transparent 70%);
  animation: drift2 23s ease-in-out infinite; }
.hero-bg .b3 { width: 340px; height: 340px; bottom: -160px; left: 42%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent-deep) 45%, transparent), transparent 70%);
  animation: drift3 27s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,46px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-54px,34px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px,-44px) scale(1.14); } }

/* Expanding water ripples in the hero corner */
.hero-bg .rings { position: absolute; right: 8%; top: 26%; width: 320px; height: 320px; }
.hero-bg .rings span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--accent) 45%, transparent);
  opacity: 0; animation: ripple 7s ease-out infinite;
}
.hero-bg .rings span:nth-child(2) { animation-delay: 2.3s; }
.hero-bg .rings span:nth-child(3) { animation-delay: 4.6s; }
@keyframes ripple { 0% { transform: scale(.25); opacity: 0; } 25% { opacity: .55; } 100% { transform: scale(1); opacity: 0; } }
@media (max-width: 880px) { .hero-bg .rings { display: none; } }

/* Hero scene — a living nod to the two games */
.scene { position: relative; width: 300px; height: 320px; }
.scene .mini-card {
  position: absolute; left: 18px; top: 34px; width: 156px; height: 218px; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); transform: rotate(-7deg);
  display: grid; grid-template-rows: auto 1fr auto; padding: 16px;
  animation: floatA 7s ease-in-out infinite;
}
.scene .mini-card .v { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; color: var(--ink); }
.scene .mini-card .v.b { text-align: right; transform: rotate(180deg); }
.scene .mini-card .p { align-self: center; justify-self: center; width: 50px; height: 50px; color: var(--accent); }
.scene .mini-grid {
  position: absolute; right: 6px; bottom: 8px; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 48px); gap: 9px;
  transform: rotate(6deg); animation: floatB 8.5s ease-in-out infinite;
}
.scene .mini-grid i {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg,
    color-mix(in oklab, var(--accent) 16%, #fff), color-mix(in oklab, var(--accent) 16%, #fff) 6px,
    color-mix(in oklab, var(--accent) 24%, #fff) 6px, color-mix(in oklab, var(--accent) 24%, #fff) 12px);
  box-shadow: var(--shadow-sm);
}
.scene .mini-grid i.on { background: var(--surface); border: 1px solid var(--line); }
.scene .mini-grid i.on svg { width: 58%; height: 58%; }
@keyframes floatA { 0%,100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-13px); } }
@keyframes floatB { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(11px); } }

/* Game cards: cover zoom + diagonal light sweep on hover */
.game-card .cover { transition: transform .5s var(--ease); }
.game-card:hover .cover { transform: scale(1.05); }
.game-card { position: relative; }
.game-card::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); pointer-events: none; opacity: 0;
}
.game-card:hover::after { animation: sweep .85s var(--ease); }
@keyframes sweep { 0% { left: -60%; opacity: 0; } 12% { opacity: 1; } 100% { left: 130%; opacity: 0; } }

/* Stat count-up emphasis */
.stat .num { transition: color .3s var(--ease); }
.stat:hover { border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .game-card:hover, .btn-ghost:hover, .btn-primary:hover { transform: none !important; }
  .game-card:hover .cover { transform: none !important; }
  .scene .mini-card { transform: rotate(-7deg) !important; }
  .scene .mini-grid { transform: rotate(6deg) !important; }
  .hero-bg .blob { opacity: .4 !important; }
}
