/* Max Ent Studios · site styles */
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Lilita One"; src: url("/fonts/lilita-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bungee"; src: url("/fonts/bungee.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #0b0912;
  --bg-2: #100d18;
  --surface: #15111e;
  --surface-2: #1c1727;
  --surface-3: #241e32;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f6f1ea;
  --muted: #bcb4c8;
  --dim: #8f879f;
  --gold: #ffc940;
  --amber: #ff9a3d;
  --pink: #ff4f8b;
  --violet: #8c6bff;
  --teal: #2fd3c5;
  --grad: linear-gradient(100deg, #ffd34a 0%, #ff9a3d 46%, #ff4f8b 100%);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-game: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255, 154, 61, .45); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1b1305; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #1d0f12; box-shadow: 0 12px 32px -12px rgba(255, 110, 80, .65), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(255, 110, 80, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11, 9, 18, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 16px rgba(255, 120, 70, .35)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand-word span { font-family: var(--font-display); font-weight: 500; font-size: 9.5px; letter-spacing: .42em; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--muted); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: rgba(11, 9, 18, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: grid; gap: 4px; padding: 14px var(--gutter) 22px; }
.mobile-nav a { padding: 14px 4px; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); margin-top: -76px; padding-top: calc(76px + clamp(36px, 6vw, 72px)); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .05; mix-blend-mode: overlay; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow.g1 { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(255, 201, 64, .55), transparent 65%); }
.glow.g2 { width: 640px; height: 640px; right: -200px; top: 40px; background: radial-gradient(circle, rgba(255, 79, 139, .45), transparent 65%); }
.glow.g3 { width: 700px; height: 520px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(140, 107, 255, .45), transparent 65%); }
.stars { position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 12%, #ffe3a3 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 34%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 56%, #ffd1e2 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 52% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 36%, #fff 50%, transparent 51%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 95%); mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
}
.horizon { position: absolute; left: 50%; bottom: -84vw; width: 160vw; height: 100vw; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 154, 61, .0) 80%, rgba(255, 120, 70, .22) 93%, rgba(255, 79, 139, .0) 100%);
  border-top: 1px solid rgba(255, 190, 120, .12); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 600; color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 4px rgba(62, 224, 138, .18); }
.hero h1 { font-size: clamp(40px, 5.8vw, 74px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 22px; }
.hero h1 .grad-text { display: inline-block; padding-bottom: .06em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--dim); font-size: 15px; }
.hero-facts li { display: flex; align-items: baseline; gap: 8px; }
.hero-facts strong { font-family: var(--font-display); font-size: 18px; color: var(--text); font-weight: 700; }

.hero-art { position: relative; aspect-ratio: 1.12 / 1; min-height: 0; }
.hero-art figure { margin: 0; position: absolute; }
.art-back { right: 0; top: 2%; width: 66%; transform: rotate(5deg); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .12); }
.art-back img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.art-browser { left: 0; top: 24%; width: 82%; border-radius: 16px; overflow: hidden; background: #0f0c16; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); transform: rotate(-2.5deg); }
.chrome { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: #1b1724; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3a3346; flex: none; }
.chrome i:nth-child(1) { background: #ff6159; } .chrome i:nth-child(2) { background: #ffbd2e; } .chrome i:nth-child(3) { background: #28c941; }
.chrome em { font-style: normal; font-size: 12px; color: var(--dim); background: rgba(255, 255, 255, .05); border-radius: 6px; padding: 3px 10px; margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.art-phone { right: 4%; bottom: -2%; width: 27%; transform: rotate(6deg); }
.phone { position: relative; border-radius: clamp(22px, 3.2vw, 38px); padding: clamp(5px, .7vw, 9px); background: linear-gradient(160deg, #2d2638, #0b0910 55%); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.phone::after { content: ""; position: absolute; top: clamp(9px, 1.2vw, 16px); left: 50%; width: 30%; height: clamp(6px, .8vw, 11px); transform: translateX(-50%); border-radius: 99px; background: #05040a; }
.phone img { border-radius: clamp(17px, 2.6vw, 30px); width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; }
.float-a { animation: floatA 9s ease-in-out infinite; }
.float-b { animation: floatB 11s ease-in-out infinite; }
.float-c { animation: floatC 10s ease-in-out infinite; }
@keyframes floatA { 50% { transform: rotate(-2.5deg) translateY(-8px); } }
@keyframes floatB { 50% { transform: rotate(5deg) translateY(10px); } }
@keyframes floatC { 50% { transform: rotate(6deg) translateY(-12px); } }
.art-tag { position: absolute; left: 6%; bottom: 4%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(20, 16, 30, .85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 700; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.art-tag .live { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 4px rgba(62, 224, 138, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(62, 224, 138, .05); } }

/* ---------- Logo band ---------- */
.logo-band { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)); padding: 26px 0; overflow: hidden; }
.marquee { --gap: clamp(40px, 6vw, 84px); display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-track > * { flex: none; }
.marquee-track .lg { font-size: 30px; }
.marquee-track img { height: 54px; width: auto; }
.marquee-track .lg-doxie-img { height: 64px; }
.marquee-track .lg-mh-img { height: 34px; }

/* ---------- Game logos (type-based, matching each game's title screen) ---------- */
.lg { display: inline-flex; flex-direction: column; align-items: center; line-height: .9; font-family: var(--font-game); font-weight: 400; user-select: none; white-space: nowrap; }
.lg-defuse .l1 { font-size: .82em; color: #fff; -webkit-text-stroke: .055em #0c1640; paint-order: stroke fill; text-shadow: 0 .1em 0 #0c1640; letter-spacing: .01em; }
.lg-defuse .l2 { font-size: 1em; background: linear-gradient(#ffe066, #ffae1a 60%, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .054em #0c1640; paint-order: stroke fill; filter: drop-shadow(0 .08em 0 #0c1640); letter-spacing: .01em; margin-top: -.02em; }
.lg-afterglow .main { font-size: 1em; letter-spacing: .02em; background: linear-gradient(#fff6c9, #ffd23f 30%, #ff9a3d 58%, #ff4f8b); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .022em #2a1d3d; paint-order: stroke fill; filter: drop-shadow(0 .055em 0 #2a1d3d) drop-shadow(0 0 .02em #2a1d3d) drop-shadow(0 .15em .26em rgba(255, 79, 139, .35)); }
.lg-afterglow .sub { font-size: .28em; letter-spacing: .42em; margin-right: -.42em; color: #fff4e6; text-shadow: 0 .11em 0 #2a1d3d; margin-top: .25em; }
.lg-cashing { font-family: "Bungee", var(--font-game); transform: rotate(-3deg); }
.lg-cashing .c1 { font-size: .74em; color: #fff1c2; letter-spacing: .02em; text-shadow: 0 .045em 0 #ff9a3d, 0 .09em 0 #e3502f, 0 .135em 0 #5b1b4a, 0 .28em .3em rgba(0, 0, 0, .45); }
.lg-cashing .c2 { font-size: 1em; margin-top: .02em; background: linear-gradient(#b8ffcf, #3fe08f 55%, #13a86a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .05em 0 #0e5c3e) drop-shadow(0 .1em 0 #3b1638) drop-shadow(0 .2em .25em rgba(0, 0, 0, .45)); }
.lg-cashing .c2 b { font-weight: 400; display: inline-block; transform: rotate(8deg) translateY(-.04em); }
.lg-winter { flex-direction: row; align-items: center; gap: .18em; }
.lg-winter .flake { width: .9em; height: .9em; flex: none; filter: drop-shadow(0 .06em 0 #12305a); }
.lg-winter .wt { display: flex; flex-direction: column; align-items: flex-start; }
.lg-winter .w1 { font-size: .62em; letter-spacing: .08em; color: #eaf7ff; -webkit-text-stroke: .05em #12305a; paint-order: stroke fill; text-shadow: 0 .09em 0 #12305a; }
.lg-winter .w2 { font-size: 1em; background: linear-gradient(#ffffff, #bfe9ff 45%, #6cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .045em #12305a; paint-order: stroke fill; filter: drop-shadow(0 .07em 0 #12305a); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section + .section { padding-top: clamp(16px, 3vw, 40px); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.kicker, .section-head .kicker { display: inline-block; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); }
.section-head p:not(.kicker) { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); margin-top: 18px; }

/* ---------- Game panels ---------- */
.games { display: grid; gap: clamp(28px, 4vw, 44px); }
.game {
  --g1: #2b6a35; --g2: #f5b642; --ink: #0d1a10;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: center;
  padding: clamp(22px, 4vw, 52px);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--g1) 55%, transparent), transparent 60%),
    radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--g2) 30%, transparent), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -60px rgba(0, 0, 0, .9);
}
.game::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .045; mix-blend-mode: overlay; pointer-events: none; }
.game:nth-child(even) .game-media { order: 2; }
.game:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--g1) 55%, transparent), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--g2) 30%, transparent), transparent 62%),
    var(--surface); }
.game-logo { height: clamp(96px, 12vw, 140px); display: flex; align-items: center; margin-bottom: 18px; }
.game-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35)); }
.game-logo .lg { font-size: clamp(46px, 6vw, 70px); align-items: flex-start; }
.game-logo .lg-afterglow { align-items: flex-start; font-size: clamp(50px, 6.4vw, 78px); }
.game-logo .lg-afterglow .sub { margin-left: .06em; }
.game-logo .lg-defuse { align-items: flex-start; }
.game-logo .lg-mh { height: clamp(50px, 6vw, 68px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #ece6f2; }
.tag--live { background: rgba(62, 224, 138, .14); border-color: rgba(62, 224, 138, .35); color: #9ff5c6; }
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08a; }
.tag--soon { background: rgba(140, 107, 255, .16); border-color: rgba(140, 107, 255, .4); color: #d4c8ff; }
.tag--dev { background: rgba(255, 154, 61, .14); border-color: rgba(255, 154, 61, .38); color: #ffd2a6; }
.game-info h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.game-desc { color: #ddd5e6; font-size: clamp(16px, 1.4vw, 18px); }
.game-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.game-points li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.game-points li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--g2) 85%, white 0%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.8 6.7 7.2.6-5.5 4.7 1.7 7-6.2-3.8-6.2 3.8 1.7-7L2 8.8l7.2-.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.8 6.7 7.2.6-5.5 4.7 1.7 7-6.2-3.8-6.2 3.8 1.7-7L2 8.8l7.2-.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.game-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.btn-game { background: var(--g2); color: var(--ink); box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--g2) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-game:hover { filter: brightness(1.06); }
.game-note { font-size: 14px; color: var(--dim); }
.game-note strong { color: var(--muted); font-weight: 700; }

.game-media { position: relative; display: grid; gap: 14px; }
.shot { display: block; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; position: relative; text-align: left; width: 100%; }
.shot img { border-radius: inherit; width: 100%; }
.shot .frame { border-radius: 16px; overflow: hidden; background: #0f0c16; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); transition: transform .3s ease, box-shadow .3s ease; }
.shot:hover .frame { transform: translateY(-4px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95); }
.shot .frame img { border-radius: 0; aspect-ratio: 16 / 10; object-fit: cover; }
.shot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shot-row .frame img { aspect-ratio: 16 / 10; }
.cap { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(10, 8, 16, .78); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; color: #efe9f5; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.shot .zoom { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(10, 8, 16, .7); border: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: scale(.9); transition: opacity .2s ease, transform .2s ease; }
.shot .zoom svg { width: 16px; height: 16px; }
.shot:hover .zoom, .shot:focus-visible .zoom { opacity: 1; transform: none; }

/* Two-shot overlapping stack */
.stack { position: relative; padding-bottom: 18%; }
.stack > .shot:first-child { width: 90%; }
.stack > .shot:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 54%; z-index: 2; transform: rotate(2.5deg); }
.stack > .shot:nth-child(2) .frame { box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }

/* Phones fan (portrait games) */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 10px 0 6px; min-height: 0; }
.phones .shot { width: 33%; flex: none; border-radius: 36px; }
.phones .shot:nth-child(1) { transform: rotate(-7deg) translate(14%, 6%); z-index: 1; }
.phones .shot:nth-child(2) { width: 38%; z-index: 2; }
.phones .shot:nth-child(3) { transform: rotate(7deg) translate(-14%, 6%); z-index: 1; }
.phones .shot:hover .phone { transform: translateY(-6px); }
.phones .phone { transition: transform .3s ease; }

/* Per-game themes */
.game--doxie { --g1: #2f8a3c; --g2: #ffb627; --ink: #2a1600; }
.game--defuse { --g1: #2541a8; --g2: #ffae1a; --ink: #241200; }
.game--afterglow { --g1: #7a2fb8; --g2: #ff6f8f; --ink: #2a0d18; }
.game--cashing { --g1: #6a2a8a; --g2: #3fe08f; --ink: #072616; }
.game--maxhouse { --g1: #2b2f78; --g2: #ffc23a; --ink: #261800; }

/* Concept art badge */
.concept { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 154, 61, .92); color: #2a1200; pointer-events: none; }

/* Winter Wonderland strip */
.extra { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(22px, 3.4vw, 40px) clamp(22px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); border: 1px solid rgba(160, 215, 255, .22);
  background: radial-gradient(80% 140% at 0% 0%, rgba(108, 196, 255, .28), transparent 60%), radial-gradient(70% 120% at 100% 100%, rgba(140, 107, 255, .25), transparent 60%), linear-gradient(180deg, #121a2e, #0f1424); }
.extra .lg { font-size: clamp(36px, 4.4vw, 52px); }
.extra p { color: #d3def0; font-size: 16px; max-width: 46em; }
.extra p small { display: block; color: #93a3bf; font-size: 13px; margin-top: 8px; }
.snow { position: absolute; inset: 0; z-index: -1; opacity: .7; pointer-events: none;
  background-image: radial-gradient(2px 2px at 10% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 30% 70%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 55% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 75% 80%, #fff 50%, transparent 51%), radial-gradient(2.5px 2.5px at 90% 25%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 45% 90%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 20% 55%, #e6f6ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 65% 55%, #fff 50%, transparent 51%);
  background-size: 260px 200px; animation: snow 14s linear infinite; }
@keyframes snow { to { background-position: 40px 200px; } }
.pill-private { justify-self: start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #cfe7ff; background: rgba(108, 196, 255, .14); border: 1px solid rgba(108, 196, 255, .35); white-space: nowrap; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(40px, 6vw, 72px); }
.stat { background: var(--bg-2); padding: clamp(22px, 3vw, 34px); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Studio pillars ---------- */
.studio { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015) 30%, transparent); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pillar { padding: 28px 24px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.pillar:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pillar .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(255, 201, 64, .22), rgba(255, 79, 139, .22)); border: 1px solid rgba(255, 180, 120, .25); }
.pillar .ico svg { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--font-body); font-weight: 800; font-size: 19.5px; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.company-grid h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 20px; }
.company-copy p:not(.kicker) { color: var(--muted); font-size: 18px; }
.company-copy p:not(.kicker) + p { margin-top: 14px; }
.company-copy strong { color: var(--text); }
.company-card { margin: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.company-card > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.company-card > div:last-child { border-bottom: 0; }
.company-card dt { color: var(--dim); font-size: 14px; font-weight: 600; padding-top: 2px; }
.company-card dd { margin: 0; font-weight: 600; }
.company-card address { font-style: normal; }
.company-card .hl { background: linear-gradient(90deg, rgba(255, 201, 64, .1), transparent); }
.company-card .hl dd { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }

/* ---------- Contact CTA ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); text-align: center; border: 1px solid rgba(255, 190, 120, .2);
  background: radial-gradient(60% 120% at 50% 120%, rgba(255, 79, 139, .4), transparent 70%), radial-gradient(50% 100% at 15% -10%, rgba(255, 201, 64, .3), transparent 70%), linear-gradient(180deg, #1a1322, #120e19); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); max-width: 19em; margin: 0 auto; }
.cta-band p { color: var(--muted); margin: 16px auto 0; max-width: 36em; font-size: 18px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(72px, 10vw, 120px); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { color: var(--dim); font-size: 15px; margin-top: 16px; max-width: 26em; }
.foot-col h4 { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 15.5px; }
.foot-col a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--dim); font-size: 13.5px; }
.foot-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot-legal strong { color: var(--muted); font-weight: 600; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1280px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 4, 9, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: min(1280px, 94vw); max-height: 82vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); margin: 0 auto; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 14px; }
.lightbox .close { position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 16, 30, .85); cursor: pointer; display: grid; place-items: center; }
.lightbox .close svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); 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; }

/* ---------- Legal / prose pages ---------- */
.page-hero { padding: calc(76px + clamp(40px, 6vw, 72px)) 0 clamp(28px, 4vw, 48px); margin-top: -76px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .glow.g1 { opacity: .35; }
.page-hero .glow.g2 { opacity: .3; top: -200px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.page-hero p:not(.kicker) { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 46em; }
.prose-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 14.5px; }
.toc a { color: var(--dim); text-decoration: none; padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.prose { max-width: 760px; color: #ddd5e6; }
.prose h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 44px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.prose a { color: #ffd9a8; }
.prose .callout { margin: 22px 0; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.prose address { font-style: normal; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); color: var(--gold); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.support-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 8px; }
.support-cards a { display: block; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.support-cards a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.support-cards b { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.support-cards span { color: var(--dim); font-size: 14px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(64px, 14vw, 160px); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; width: 100%; margin: 12px auto 0; }
  .game, .game:nth-child(even) { grid-template-columns: 1fr; }
  .game:nth-child(even) .game-media { order: 0; }
  .company-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra { grid-template-columns: 1fr; }
  .prose-wrap { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .toc::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { margin: 18px 0; }
  .btn { --h: 50px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-facts { gap: 8px 18px; }
  .art-tag { font-size: 12px; padding: 8px 11px; }
  .chrome { height: 24px; } .chrome i { width: 7px; height: 7px; } .chrome em { font-size: 10px; }
  .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .company-card > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .support-cards { grid-template-columns: 1fr; }
  .shot-row { gap: 10px; }
  .cap { font-size: 11px; left: 8px; bottom: 8px; padding: 4px 8px; }
  .game-points li { font-size: 15.5px; }
  .marquee-track .lg { font-size: 24px; }
  .marquee-track img { height: 44px; }
  .marquee-track .lg-doxie-img { height: 52px; }
  .marquee-track .lg-mh-img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
