/* ==========================================================================
   Keli Studio — site styles
   Tokens first; dark is the default look, light is opt-in via system or toggle.
   ========================================================================== */

:root {
  --bg: #060918;
  --bg-2: #0b1030;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f6ff;
  --muted: #a9b1d6;
  --faint: #6f78a3;

  --gold: #ffc83d;
  --gold-deep: #e59a00;
  --cyan: #7fe7ff;
  --blue: #3f7bf5;
  --violet: #8b5cff;
  --pink: #ff6fb5;
  --green: #3ddc97;
  --red: #ff5a6e;

  --brand-grad: linear-gradient(120deg, #ffc83d 0%, #ff6fb5 45%, #7fe7ff 100%);
  --glow: 0 20px 60px -20px rgba(139, 92, 255, 0.55);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  --font-display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7fc;
    --bg-2: #eceffa;
    --surface: rgba(20, 26, 70, 0.04);
    --surface-2: rgba(20, 26, 70, 0.08);
    --border: rgba(20, 26, 70, 0.12);
    --text: #0f1433;
    --muted: #4a5280;
    --faint: #7a82a8;
    --gold: #d99100;
    --cyan: #0891b2;
    --brand-grad: linear-gradient(120deg, #e59a00 0%, #e8458f 45%, #0891b2 100%);
    --glow: 0 20px 60px -24px rgba(90, 60, 200, 0.35);
    --shadow: 0 24px 50px -28px rgba(20, 26, 70, 0.35);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f7fc;
  --bg-2: #eceffa;
  --surface: rgba(20, 26, 70, 0.04);
  --surface-2: rgba(20, 26, 70, 0.08);
  --border: rgba(20, 26, 70, 0.12);
  --text: #0f1433;
  --muted: #4a5280;
  --faint: #7a82a8;
  --gold: #d99100;
  --cyan: #0891b2;
  --brand-grad: linear-gradient(120deg, #e59a00 0%, #e8458f 45%, #0891b2 100%);
  --glow: 0 20px 60px -24px rgba(90, 60, 200, 0.35);
  --shadow: 0 24px 50px -28px rgba(20, 26, 70, 0.35);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand-grad); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #ffe08a, #ffc83d 45%, #e59a00); color: #1a1200; box-shadow: 0 14px 34px -12px rgba(255, 176, 0, .6); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn svg { width: 20px; height: 20px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.18);
  text-decoration: none; min-width: 180px; position: relative;
  transition: transform .2s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: .68rem; opacity: .75; line-height: 1.1; }
.store-badge strong { display: block; font-size: 1.05rem; line-height: 1.2; font-weight: 600; }
.store-badge.soon { cursor: default; }
.store-badge.soon:hover { transform: none; }
.store-badge .tag {
  position: absolute; top: -9px; right: -8px; padding: 2px 8px; border-radius: 999px;
  background: var(--gold); color: #1a1200; font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--border); }
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; }
.brand span b { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
}

/* ---------- Background decoration ---------- */
.bg-mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-mesh .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.bg-mesh .b1 { width: 520px; height: 520px; background: #6b3cff; top: -140px; left: -120px; }
.bg-mesh .b2 { width: 460px; height: 460px; background: #ff4f9a; top: 10%; right: -160px; animation-delay: -6s; opacity: .38; }
.bg-mesh .b3 { width: 420px; height: 420px; background: #1fb6ff; bottom: -160px; left: 30%; animation-delay: -12s; opacity: .4; }
:root[data-theme="light"] .bg-mesh .blob { opacity: .22; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .bg-mesh .blob { opacity: .22; } }
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 80px; overflow: hidden; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--green); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; color: var(--muted); text-decoration: none;
}
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--brand-grad); color: #150d2a; font-size: .74rem; letter-spacing: .04em; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-art .orbit { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed var(--border); animation: spin 60s linear infinite; }
.hero-art .orbit.o2 { inset: 22%; animation-duration: 40s; animation-direction: reverse; }
.hero-card {
  position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.c1 { width: 46%; aspect-ratio: 1; top: 10%; left: 6%; transform: rotate(-8deg); }
.hero-card.c2 { width: 46%; aspect-ratio: 1; bottom: 8%; right: 6%; transform: rotate(7deg); animation-delay: -3s; }
.hero-card.c3 {
  width: 28%; aspect-ratio: 1; top: 12%; right: 10%; border-radius: 22px; animation-delay: -1.5s;
  background: var(--surface); border: 1px dashed var(--border); backdrop-filter: blur(8px);
  display: grid; place-items: center; color: var(--muted); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
}
.hero-card.c3 small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-top: -6px; text-align: center; }
.floaty { position: absolute; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); }
.floaty.die { width: 64px; height: 64px; bottom: 16%; left: 4%; animation-delay: -2s; }
.floaty.blk { width: 48px; height: 48px; top: 4%; left: 48%; animation-delay: -4s; }
.floaty.blk2 { width: 38px; height: 38px; bottom: 4%; left: 44%; animation-delay: -5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero-art { max-width: 400px; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--gold); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Game cards ---------- */
.games-grid { display: grid; gap: 28px; }
.game-card {
  --accent: var(--gold); --accent-2: var(--violet); --card-bg: #0e1650;
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.game-card:nth-child(even) .game-visual { order: 2; }
.game-visual {
  position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden;
  background: var(--card-bg);
}
.game-visual::before {
  content: ""; position: absolute; inset: -30%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 55%),
              radial-gradient(circle at 75% 75%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 55%);
  animation: drift 14s ease-in-out infinite alternate;
}
.game-visual .icon-lg {
  position: relative; width: min(52%, 240px); aspect-ratio: 1; border-radius: 22%;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.45)); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.game-card:hover .icon-lg { transform: scale(1.06) rotate(-4deg); }
.game-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.game-body .genre { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
:root[data-theme="light"] .game-body .genre,
:root[data-theme="light"] .mode .num { color: color-mix(in srgb, var(--accent) 45%, #000); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .game-body .genre,
  :root:not([data-theme="dark"]) .mode .num { color: color-mix(in srgb, var(--accent) 45%, #000); }
}
.game-body h3 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 10px; }
.game-body p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; }
.game-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 0%, transparent); } }

.game-card.teaser { grid-template-columns: 1fr; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; background:
  repeating-linear-gradient(-45deg, transparent 0 18px, var(--surface) 18px 36px); border-style: dashed; }
.game-card.teaser:hover { transform: none; box-shadow: var(--shadow); }
.teaser .qmark { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 26px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; background: var(--brand-grad); color: #150d2a; animation: float 5s ease-in-out infinite; }
.teaser p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }

@media (max-width: 860px) {
  .game-card { grid-template-columns: 1fr; }
  .game-card:nth-child(even) .game-visual { order: 0; }
  .game-visual { min-height: 280px; }
}

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .features.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features, .features.four { grid-template-columns: 1fr; } }
.feature {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent, var(--violet)) 60%, var(--border)); background: var(--surface-2); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--c, var(--violet)) 18%, transparent); color: var(--c, var(--violet));
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.stat { background: var(--bg-2); padding: clamp(24px, 4vw, 44px) 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-points { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; background: var(--brand-grad); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat, linear-gradient(#000 0 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }
.about-art { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); display: grid; place-items: center; }
.pixel-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; width: 78%; }
.pixel-wall i { aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); animation: pop 4s ease-in-out infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 72px);
  background: linear-gradient(135deg, #2b1a7a, #0e1650 55%, #062a4a); color: #fff; text-align: center; border: 1px solid rgba(255,255,255,.12);
}
.cta h2 { color: #fff; }
.cta p { color: #c9cff0; max-width: 560px; margin: 0 auto 30px; }
.cta .bg-mesh .blob { opacity: .45; }
.cta > * { position: relative; }
.cta .btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer .about-copy { color: var(--muted); max-width: 320px; margin-top: 14px; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Game detail pages ---------- */
.game-page { --accent: var(--gold); --accent-2: var(--violet); --hero-a: #1b2a7a; --hero-b: #070b2b; }
.game-hero {
  position: relative; overflow: hidden; padding: calc(var(--nav-h) + 56px) 0 clamp(64px, 9vw, 110px);
  background: radial-gradient(ellipse 80% 70% at 70% 20%, var(--hero-a), var(--hero-b) 70%);
  color: #fff;
}
.game-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.game-hero .lead { color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 30px; }
.game-hero .eyebrow { color: rgba(255,255,255,.7); }
.game-hero .btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.game-logo { max-width: min(460px, 100%); height: auto; margin-bottom: 18px; }
/* The game hero is always dark, so until the page scrolls (and the bar gets its own
   background) the bar sits on it in light text, in both themes. */
.game-page .nav:not(.scrolled):not(.open) .brand { color: #fff; }
.game-page .nav:not(.scrolled):not(.open) .icon-btn { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
@media (min-width: 821px) {
  .game-page .nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.8); }
  .game-page .nav:not(.scrolled) .nav-links a:hover,
  .game-page .nav:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
}
/* Challenge link landing page (/games/<slug>/c/<code>) */
.game-hero.challenge .container { grid-template-columns: minmax(0, 640px); }
.challenge-icon { width: 88px; height: 88px; border-radius: 22%; margin-bottom: 18px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.challenge-code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 24px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.challenge-code .label { flex-basis: 100%; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.challenge-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 700; letter-spacing: .06em; color: #fff; }
.challenge-sub { margin: 40px 0 8px; font-size: 1.35rem; color: #fff; }
.challenge-more { margin-top: 22px; }
.challenge-more a { color: rgba(255,255,255,.85); }
.breadcrumb { font-size: .88rem; margin-bottom: 26px; color: rgba(255,255,255,.65); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.hero-facts li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: .88rem; font-weight: 600; }
@media (max-width: 900px) { .game-hero .container { grid-template-columns: 1fr; } }

/* Phone mockup */
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; margin: 0 auto;
  border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #2a2f4a, #0b0d18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.08);
  animation: float 7s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 20px; background: #05060c; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 56px 16px 24px; }
.phone-hud { width: 100%; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: #fff; }
.phone-hud span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }

/* Ludo board (CSS only) */
.screen-ludo { background: radial-gradient(ellipse at 50% 0%, #1b2a7a, #070b2b 70%); }
.ludo-board { width: 100%; aspect-ratio: 1; display: grid; grid-template-columns: 2fr 1fr 2fr; grid-template-rows: 2fr 1fr 2fr; gap: 0; background: #f4f1e8; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); border: 3px solid #f4f1e8; }
.ludo-home { display: grid; place-items: center; }
.ludo-home > div { width: 70%; aspect-ratio: 1; background: #fff; border-radius: 12%; display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding: 14%; }
.ludo-home i { border-radius: 50%; background: currentColor; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.ludo-home.g { background: #2fbf71; color: #2fbf71; }
.ludo-home.y { background: #ffc83d; color: #e5a800; }
.ludo-home.r { background: #ff5a6e; color: #ff5a6e; }
.ludo-home.b { background: #3a86ff; color: #3a86ff; }
.ludo-path { background-image: linear-gradient(#d9d3c2 1px, transparent 1px), linear-gradient(90deg, #d9d3c2 1px, transparent 1px); background-size: 33.33% 16.66%; }
.ludo-path.h { background-size: 16.66% 33.33%; }
.ludo-center { background: conic-gradient(from 45deg, #ffc83d 0 25%, #3a86ff 0 50%, #ff5a6e 0 75%, #2fbf71 0); }
.dice-row { display: flex; gap: 14px; align-items: center; }
.die3d { width: 58px; height: 58px; border-radius: 14px; background: #fff; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 9px; box-shadow: inset 0 -5px 0 #d6d9e8, 0 12px 20px -8px rgba(0,0,0,.6); animation: roll 3s ease-in-out infinite; }
.die3d i { width: 9px; height: 9px; border-radius: 50%; background: #0e1650; place-self: center; }
.die3d i:nth-child(1) { grid-area: 1 / 1; } .die3d i:nth-child(2) { grid-area: 1 / 3; } .die3d i:nth-child(3) { grid-area: 2 / 2; } .die3d i:nth-child(4) { grid-area: 3 / 1; } .die3d i:nth-child(5) { grid-area: 3 / 3; }
@keyframes roll { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-18deg) scale(1.08); } 90% { transform: rotate(12deg); } }
.verified { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(61,220,151,.16); color: #3ddc97; font-weight: 700; font-size: .78rem; }

/* Block Chroma board (CSS + JS fill) */
.screen-blocks { background: linear-gradient(#3f7bf5, #2a4fd1); }
.block-board { width: 100%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; padding: 6px; background: #1b2656; border-radius: 12px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.block-board i { border-radius: 4px; background: #232f66; }
.block-board i[data-c] { box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.28); }
.block-board i.flash { animation: clear 2.4s ease-in-out infinite; }
@keyframes clear { 0%, 60%, 100% { filter: none; transform: none; } 75% { filter: brightness(1.8); transform: scale(.8); } }
.piece-tray { display: flex; gap: 18px; align-items: flex-end; }
.piece { display: grid; gap: 3px; }
.piece i { width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.28); }
.piece i.e { visibility: hidden; }
.score-pop { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; text-shadow: 0 2px 0 #14226b; }
.score-pop b { color: #ffd23f; }

/* Modes list */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.mode { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.mode .num { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.mode h3 { font-size: 1.15rem; margin-bottom: 4px; }
.mode p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Swatch strip (shop items / themes) */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.swatches li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .92rem; }
.swatches li i { width: 26px; height: 26px; border-radius: 50%; background: var(--sw, #888); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px var(--border); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.panel h3 { margin-bottom: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: background .2s; }
.faq details[open] { background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Legal / prose pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 64px) 0 56px; }
.page-hero .container { position: relative; z-index: 1; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--cyan); }
.prose code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); word-break: break-all; }
.prose .note {padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-size: .88rem; color: var(--muted); }
.toc a:hover { color: var(--text); }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 700; }
.prose td { color: var(--muted); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 56px; }
.contact-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; display: block; transition: transform .25s ease, background .25s ease; }
.contact-card:hover { transform: translateY(-4px); background: var(--surface-2); }
.contact-card h3 { font-size: 1.2rem; margin: 14px 0 6px; }
.contact-card p { color: var(--muted); margin: 0; font-size: .95rem; word-break: break-word; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 120px var(--gutter) 60px; }
.nf .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: .9; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Dynamic additions (Laravel) ---------- */
.screen-shots { padding: 0; background: #000; }
.screen-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.screen-shots img.on { opacity: 1; }
.screen-icon { background: radial-gradient(ellipse at 50% 0%, var(--hero-a), var(--hero-b) 75%); }
.screen-icon img { width: 62%; border-radius: 22%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.screen-icon .phone-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; text-align: center; }
.game-hero-title { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero-card.c1 img, .hero-card.c2 img { background: var(--bg-2); }
/* ---------- Announcement bar ---------- */
.announce { position: fixed; inset: 0 0 auto 0; z-index: 60; background: linear-gradient(90deg, #8b5cff, #ff4f9a 55%, #ffb938); color: #14061f; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-block: 6px; }
.announce p { margin: 0; font-size: .92rem; font-weight: 600; text-align: center; }
.announce a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce-close { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.12); color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; }
body.has-announcement .nav { top: 40px; }
body.has-announcement { --nav-h: 112px; }
@media (max-width: 600px) { .announce .container { padding-right: 44px; } }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; inset: auto 0 0 0; z-index: 70; padding: var(--gutter); transform: translateY(110%); transition: transform .3s ease; }
.consent.in { transform: none; }
.consent-inner {
  max-width: 880px; margin: 0 auto; padding: 18px 22px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-2) 94%, transparent); border: 1px solid var(--border);
  box-shadow: var(--shadow); backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.consent-inner p { margin: 0; flex: 1 1 320px; font-size: .92rem; color: var(--muted); }
.consent-inner a { color: var(--cyan); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }

/* ---------- "Get the app" bar ---------- */
.app-bar {
  position: fixed; inset: auto 12px 12px 12px; z-index: 65; display: none;
  align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px;
  background: color-mix(in srgb, var(--bg-2) 96%, transparent); border: 1px solid var(--border);
  box-shadow: var(--shadow); transform: translateY(140%); transition: transform .3s ease;
}
.app-bar.in { transform: none; }
.app-bar img { border-radius: 12px; }
.app-bar div { flex: 1; min-width: 0; }
.app-bar strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.app-bar small { color: var(--muted); font-size: .8rem; }
.app-bar .btn { min-height: 40px; padding: 0 20px; font-size: .95rem; }
.app-bar-close { width: 30px; height: 30px; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
@media (max-width: 820px) { .app-bar { display: flex; } }

/* ---------- Trailer ---------- */
.trailer { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: var(--shadow); cursor: pointer; }
.trailer img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .5s; }
.trailer:hover img { opacity: 1; transform: scale(1.03); }
.trailer iframe { width: 100%; height: 100%; border: 0; display: block; }
.trailer-play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 88px; height: 62px; border: 0; background: none; padding: 0; cursor: pointer; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); transition: transform .2s; }
.trailer-play svg { width: 100%; height: 100%; }
.trailer:hover .trailer-play { transform: scale(1.08); }

/* ---------- Footer socials ---------- */
.socials { display: flex; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: color .2s, background .2s, transform .2s; }
.socials a:hover { color: var(--text); background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Forms ---------- */
.contact-form { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; font-weight: 700; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 25%, transparent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a9b1d6'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; padding-right: 38px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.check a { color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { max-width: 760px; margin: 0 auto 22px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); font-size: .95rem; }
.form-note.ok { border-color: color-mix(in srgb, var(--green) 55%, var(--border)); background: color-mix(in srgb, var(--green) 12%, transparent); }
.form-note.error { border-color: color-mix(in srgb, var(--red) 55%, var(--border)); background: color-mix(in srgb, var(--red) 10%, transparent); }
.form-note ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }

/* ---------- News ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.post-cover { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-cover-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.3); background: linear-gradient(135deg, var(--a), var(--b)); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.post-meta a { color: var(--muted); }
.post-tag { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.post-body h2 { font-size: 1.3rem; margin-bottom: 8px; }
.post-body h2 a { text-decoration: none; }
.post-body h2 a:hover { color: var(--gold); }
.post-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--gold); }
.post-more:hover { gap: 12px; }
.post-hero-img { width: 100%; border-radius: var(--radius); margin: 26px 0 34px; border: 1px solid var(--border); }
.post-content { font-size: 1.05rem; }
.post-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 1.8em; }
.post-content h3 { font-size: 1.2rem; margin-top: 1.5em; }
.post-content p, .post-content li { color: var(--muted); }
.post-content a { color: var(--cyan); }
.post-content img { border-radius: var(--radius); margin: 22px 0; }
.post-content blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); color: var(--text); font-style: italic; }
.post-content pre { padding: 16px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); overflow-x: auto; }
.pager { margin-top: 40px; display: flex; justify-content: center; }
.pager svg { width: 18px; height: 18px; }
.pager a, .pager span { color: var(--muted); }

/* ---------- Email signup ---------- */
.signup-form { display: grid; gap: 12px; }
.signup-row { display: flex; gap: 10px; }
.signup-row .field { flex: 1; }
.signup-row .btn { flex: none; }
.signup .check { font-size: .82rem; }
.signup.compact .check { font-size: .78rem; }
.signup-ok { padding: 14px 18px; border-radius: var(--radius); background: color-mix(in srgb, var(--green) 14%, transparent); border: 1px solid color-mix(in srgb, var(--green) 45%, var(--border)); color: var(--text); font-weight: 600; margin: 0; }
.signup-error { margin: 0; color: var(--red); font-size: .86rem; font-weight: 600; }
.cta .signup .check { color: #c9cff0; }
.cta .signup .check a, .cta .signup-form a { color: #fff; text-decoration: underline; }
.cta .field input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.cta .field input::placeholder { color: rgba(255,255,255,.6); }
@media (max-width: 560px) { .signup-row { flex-direction: column; } }

/* ---------- Press kit ---------- */
.press-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.press-table th, .press-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.press-table th { width: 38%; color: var(--muted); font-weight: 600; }
.press-table a { color: var(--cyan); }
.logo-swatches { display: flex; gap: 14px; margin-bottom: 18px; }
.logo-swatch { flex: 1; display: grid; place-items: center; gap: 8px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); }
.logo-swatch.dark { background: #070b1f; color: #fff; }
.logo-swatch.light { background: #f6f7fc; color: #0f1433; }
.logo-swatch small { font-size: .76rem; opacity: .7; }
.press-game { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.press-icon { border-radius: 22%; flex: none; }
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 24px; }
.press-shots img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }

.flash-msg { position: fixed; bottom: 16px; left: 50%; translate: -50% 0; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #1a1200; font-weight: 700; font-size: .9rem; }
