/* Amass District: minimalist, clean, motion-rich studio theme. */

:root {
	--ink: #121028;
	--ink-2: #2a2742;
	--pink: #fc3383;
	--pink-soft: #ffe3ee;
	--ice: #e7fafe;
	--bg: #f7f8fa;
	--white: #fff;
	--muted: #6a6880;
	--line: rgba(18, 16, 40, .1);
	--line-strong: rgba(18, 16, 40, .2);
	--green: #18b46b;
	--amber: #f5a623;

	--display: "Space Grotesk", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 22px;
	--gutter: clamp(16px, 4vw, 48px);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	animation: page-in .6s var(--ease) both;
}
body.is-leaving { opacity: 0; transition: opacity .25s var(--ease); }
@keyframes page-in { from { opacity: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
::selection { background: var(--pink); color: var(--white); }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Scroll progress + cursor ---------- */

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; display: none; mix-blend-mode: difference; }
.cursor span {
	display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--white);
	transition: transform .35s var(--ease), opacity .3s;
}
.has-cursor .cursor { display: block; }
.cursor.is-hover span { transform: scale(3.2); }
.cursor.is-down span { transform: scale(.6); }
.cursor.is-hidden span { opacity: 0; }

/* ---------- Type helpers ---------- */

.kicker, .eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
	font: 500 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.kicker .dot { width: 8px; height: 8px; background: var(--pink); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.section-label {
	display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
	font: 500 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.section-label span:first-child { color: var(--pink); }
.section-label::after { content: ""; flex: 0 1 80px; height: 1px; background: var(--line-strong); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
.section-label.is-in::after { transform: scaleX(1); }
.section-label.center { justify-content: center; }
.section-label.center::after { display: none; }

.section-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; }
.display { font-size: clamp(2.8rem, 7vw, 6rem); }
em { font-style: normal; color: var(--pink); }

.link-line { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link-line:hover { background-size: 100% 1px; }

/* ---------- Buttons ---------- */

.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
	font: 500 1rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
	transition: color .45s var(--ease), border-color .45s var(--ease), transform .4s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
	transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn > * { pointer-events: none; }

.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink::before { background: var(--ink); }
.btn-dark, .btn-gold { background: var(--ink); color: var(--white); }
.btn-dark::before, .btn-gold::before { background: var(--pink); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--white); border-color: var(--ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--white); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 20px 34px; font-size: 1.15rem; }

.text-link { font: 500 1rem/1 var(--display); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: color .3s; }
.text-link:hover { color: var(--pink); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.store {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px;
	background: var(--ink); color: var(--white); text-decoration: none; transition: transform .4s var(--ease), background .3s;
}
.store:hover { transform: translateY(-3px); background: var(--pink); }
.store svg { width: 20px; height: 20px; }
.store span { display: flex; flex-direction: column; font: 600 1.05rem/1.15 var(--display); }
.store small { font: 500 .66rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.store.is-soon { background: transparent; color: var(--ink); border: 1px dashed var(--line-strong); }
.store.is-soon:hover { transform: none; }

.status {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
	font: 500 .7rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
	background: var(--white); border: 1px solid var(--line-strong);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
.status-out { color: var(--green); }
.status-soon { color: #c27c06; }
.status-dev { color: var(--pink); }

/* ---------- Header ---------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { padding: 10px 0; background: rgba(247, 248, 250, .82); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-110%); }
/* A filtered or transformed header would trap the fixed mobile menu inside it. */
.site-header:has(.site-nav.is-open) { backdrop-filter: none; background: transparent; box-shadow: none; transform: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { position: relative; z-index: 2; display: inline-flex; text-decoration: none; }
.brand-logo { width: auto; height: 52px; transition: transform .5s var(--spring), height .4s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.05); }
.is-scrolled .brand-logo { height: 42px; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav .menu { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	position: relative; display: inline-block; text-decoration: none;
	font: 500 .98rem/1.3 var(--display); color: var(--ink);
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--pink);
	transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease);
}
.site-nav .menu a:hover::after, .site-nav .current-menu-item a::after { transform: scaleX(1); transform-origin: 0 50%; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 140px 0 110px; overflow: hidden; isolation: isolate; }
.pixel-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; }
.hero-title { font-size: clamp(3.2rem, 9vw, 8.4rem); font-weight: 700; letter-spacing: -.05em; line-height: .94; margin-bottom: 30px; }
.hero-text { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 40ch; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-mark { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; display: grid; place-items: center; transition: transform .6s var(--ease); }
.hero-mark img { width: 82%; animation: float 6s var(--ease-in-out) infinite; filter: drop-shadow(0 30px 40px rgba(18, 16, 40, .18)); }
.mark-shadow { position: absolute; bottom: 4%; width: 46%; height: 18px; border-radius: 50%; background: rgba(18, 16, 40, .12); filter: blur(8px); animation: shadow 6s var(--ease-in-out) infinite; }
@keyframes float { 50% { transform: translateY(-18px) rotate(-2deg); } }
@keyframes shadow { 50% { transform: scaleX(.8); opacity: .6; } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-strong); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--pink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* Split headline: words slide up out of a mask. Shows anyway after 2.5s if scripts never run. */
.js [data-split] { opacity: 0; animation: appear 0s 2.5s forwards; }
.js [data-split].is-split { opacity: 1; animation: none; }
@keyframes appear { to { opacity: 1; } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 70ms + 150ms); }
.is-split.is-in .wi { transform: none; }

/* ---------- Marquee ---------- */

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--white); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee span { font: 600 clamp(2rem, 4.4vw, 3.6rem)/1.1 var(--display); letter-spacing: -.04em; padding: 0 30px; color: transparent; -webkit-text-stroke: 1px var(--ink); transition: color .4s; }
.marquee span:hover { color: var(--pink); -webkit-text-stroke-color: var(--pink); }
.marquee i { flex: none; width: 12px; height: 12px; background: var(--pink); }
.marquee i:nth-of-type(3n) { background: var(--ink); }

/* ---------- Sections ---------- */

.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section.tight { padding-block: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }

/* Studio */
.studio .section-title { margin-bottom: 48px; }
.statement { font: 500 clamp(1.6rem, 3.4vw, 2.9rem)/1.22 var(--display); letter-spacing: -.03em; max-width: 26ch; margin-bottom: 96px; }
.statement .fw { opacity: .16; transition: opacity .3s linear; }
.statement .fw.on { opacity: 1; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value { position: relative; padding-top: 28px; }
.value::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.value.is-in::before { transform: scaleX(1); }
.value-num { display: block; font: 500 .85rem/1 var(--display); color: var(--pink); margin-bottom: 18px; }
.value h3 { font-size: 1.6rem; margin-bottom: 12px; transition: transform .5s var(--ease); }
.value:hover h3 { transform: translateX(8px); }
.value p { color: var(--muted); margin: 0; }

/* How we work: pinned horizontal scroll on desktop */
.process { background: var(--ink); color: var(--white); position: relative; }
.process .section-label { color: rgba(255, 255, 255, .55); }
.process .section-label::after { background: rgba(255, 255, 255, .25); }
.hscroll-sticky { padding: clamp(96px, 12vw, 150px) 0; overflow: hidden; }
.process-head { margin-bottom: 60px; }
.steps { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 24px; width: max-content; will-change: transform; }
.is-pinned .hscroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
.step {
	position: relative; flex: none; width: clamp(280px, 30vw, 400px); padding: 36px 32px 34px; border-radius: var(--radius);
	background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden;
	transition: background .5s var(--ease);
}
.step::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.step:hover { background: #332f52; }
.step:hover::after { transform: scaleX(1); }
.step-num { font: 700 4.6rem/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); display: block; margin-bottom: 18px; transition: color .5s; }
.step:hover .step-num { color: var(--pink); -webkit-text-stroke-color: var(--pink); }
.step img { width: 130px; position: absolute; top: 24px; right: 20px; transition: transform .7s var(--spring); }
.step:hover img { transform: translateY(-8px) rotate(-6deg) scale(1.08); }
.step h3 { font-size: 1.7rem; margin: 26px 0 12px; }
.step p { margin: 0; color: rgba(255, 255, 255, .65); }

/* Games */
.game-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.game-tile { perspective: 900px; }
.game-tile > a, .game-tile > div {
	position: relative; display: block; height: 100%; padding: 22px; border-radius: var(--radius); text-decoration: none;
	background: var(--white); border: 1px solid var(--line);
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.game-tile > a:hover { box-shadow: 0 30px 60px -30px rgba(18, 16, 40, .35); border-color: transparent; }
.tile-media { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--ice); margin-bottom: 22px; overflow: hidden; }
.tile-media img { width: 52%; transition: transform .8s var(--spring); filter: drop-shadow(0 18px 18px rgba(18, 16, 40, .2)); }
.game-tile > a:hover .tile-media img { transform: scale(1.12) rotate(-4deg); }
.tile-arrow { position: absolute; top: 36px; right: 36px; width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--white); color: var(--ink); transform: scale(0) rotate(-45deg); transition: transform .5s var(--spring), background .3s, color .3s; }
.game-tile > a:hover .tile-arrow { transform: scale(1) rotate(0); background: var(--pink); color: var(--white); }
.game-tile h3 { font-size: 1.6rem; margin: 16px 0 6px; }
.game-tile p { margin: 0; color: var(--muted); }
.game-tile.is-mystery > div { display: grid; place-content: center; text-align: center; min-height: 100%; border-style: dashed; border-color: var(--line-strong); background: transparent; }
.mystery-mark { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 6px; border-radius: 20px; background: var(--ink); color: var(--pink); font: 700 2.6rem/1 var(--display); animation: glitch 3s steps(1) infinite; }
@keyframes glitch { 0%, 88%, 100% { transform: none; } 90% { transform: translate(3px, -2px); color: var(--ice); } 93% { transform: translate(-3px, 2px); } 96% { transform: translate(2px, 1px); color: var(--pink); } }

/* Featured game */
.featured-card { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 28px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.featured-art { position: relative; min-height: 460px; display: grid; place-items: center; background: var(--ink); overflow: hidden; }
.featured-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(252, 51, 131, .35), transparent 55%); animation: breathe 6s var(--ease-in-out) infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.icon-stage { position: relative; width: min(56%, 260px); aspect-ratio: 1; display: grid; place-items: center; }
.icon-stage .ring { position: absolute; inset: -22%; border-radius: 50%; border: 1px dashed rgba(231, 250, 254, .35); animation: rotate 40s linear infinite; }
.icon-stage .ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; background: var(--pink); }
.game-icon { position: relative; width: 100%; animation: float 6s var(--ease-in-out) infinite; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .4)); }
@keyframes rotate { to { transform: rotate(360deg); } }
.featured-copy { padding: clamp(32px, 5vw, 64px); align-self: center; }
.featured-copy .label { display: flex; align-items: center; gap: 12px; font: 500 .75rem/1 var(--display); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.featured-copy .display { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 14px; }
.tagline { font: 500 1.3rem/1.3 var(--display); color: var(--pink); letter-spacing: -.02em; }
.featured-copy > p:not(.label):not(.tagline) { color: var(--muted); }

.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 10px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 700 clamp(2.4rem, 4.4vw, 3.8rem)/1 var(--display); letter-spacing: -.05em; margin-bottom: 10px; }
.stat span { color: var(--muted); }

/* Story strip */
.story .wrap { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 64px); }
.story .eyebrow { color: rgba(255, 255, 255, .55); justify-content: center; display: flex; }
.story .section-title { max-width: none; margin-bottom: 0; }
.story-strip { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.chapter { position: relative; }
.chapter img { width: 100%; border-radius: 16px; transition: transform .7s var(--ease), filter .5s; filter: saturate(.8); }
.chapter:hover img { transform: scale(1.04); filter: none; }
.chapter-num { position: absolute; top: 12px; left: 12px; font: 500 .8rem/1 var(--display); background: var(--white); color: var(--ink); padding: 6px 9px; border-radius: 8px; }
.chapter p { margin-top: 14px; color: rgba(255, 255, 255, .75); }
.story-punch { text-align: center; font: 600 clamp(1.4rem, 3vw, 2.2rem)/1.2 var(--display); color: var(--pink); margin: 48px 0 0; letter-spacing: -.03em; }

/* Block clicker */
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.block-head .eyebrow { margin-bottom: 18px; }
.block-head .section-title { margin-bottom: 14px; }
.block-head p:last-child { margin: 0; color: var(--muted); }
.networth { text-align: right; }
.networth span { display: block; font: 500 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.networth strong { display: inline-block; font: 700 clamp(2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.04em; color: var(--pink); font-variant-numeric: tabular-nums; }
.networth.is-rich strong { color: var(--green); }
.networth.bump strong { animation: bump .4s var(--spring); }
@keyframes bump { 50% { transform: scale(1.08); } }
.lots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lot { position: relative; width: 100%; padding: 20px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: center; transition: transform .4s var(--ease), border-color .3s, background .4s; }
.lot:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.lot:active { transform: scale(.97); }
.lot img { width: 70%; margin: 0 auto 10px; filter: grayscale(1) opacity(.45); transition: filter .5s, transform .6s var(--spring); }
.lot:hover img { filter: grayscale(.4) opacity(.8); }
.lot-name { display: block; font: 600 1.1rem/1.1 var(--display); }
.lot-price { display: inline-block; margin-top: 8px; font: 500 .85rem/1 var(--display); color: var(--muted); }
.lot.is-owned { background: var(--ice); border-color: transparent; cursor: default; }
.lot.is-owned img { filter: none; transform: scale(1.08); }
.lot.is-owned .lot-price { color: var(--green); }
.lot.is-owned::after { content: "Owned"; position: absolute; top: 12px; right: 12px; font: 500 .68rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: 5px 8px; border-radius: 6px; animation: stamp .5s var(--spring); }
@keyframes stamp { from { transform: scale(2); opacity: 0; } }
.floater { position: fixed; pointer-events: none; z-index: 160; font: 700 1.3rem/1 var(--display); color: var(--green); animation: floatUp 1s var(--ease) forwards; }
.floater.coin-pop { width: 10px; height: 10px; background: var(--pink); animation: coinPop .8s var(--ease) forwards; }
@keyframes floatUp { to { transform: translateY(-70px); opacity: 0; } }
@keyframes coinPop { to { transform: translate(var(--dx), var(--dy)) rotate(180deg) scale(.3); opacity: 0; } }

/* News cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(18, 16, 40, .3); }
.card-media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--ice); overflow: hidden; }
.card-media > img:not(.card-art) { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media > img:not(.card-art) { transform: scale(1.05); }
.card-art { width: 40%; transition: transform .8s var(--spring); filter: drop-shadow(0 14px 14px rgba(18, 16, 40, .18)); }
.card:hover .card-art { transform: scale(1.12) rotate(-5deg); }
.card-body { padding: 22px 24px 26px; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.chip { font: 500 .7rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--pink); }
.card-title { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.15; }
.card-title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card:hover .card-title a { background-size: 100% 1px; }
.card-body > p:last-child { margin: 0; color: var(--muted); }
.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

/* Join */
.join { text-align: center; }
.join-title { font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 700; letter-spacing: -.05em; max-width: 14ch; margin: 0 auto 28px; }
.join-text { max-width: 50ch; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.join-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.join .socials { justify-content: center; margin-top: 32px; }

.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials a { font: 500 .95rem/1.4 var(--display); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.socials a:hover { background-size: 100% 1px; color: var(--pink); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--white); padding: 96px 0 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-mark { width: 72px; margin-bottom: 22px; transition: transform .6s var(--spring); }
.footer-mark:hover { transform: rotate(-10deg) scale(1.08); }
.footer-brand p { color: rgba(255, 255, 255, .6); margin-bottom: 14px; max-width: 30ch; }
.footer-email { color: var(--white); font: 500 1.1rem/1.4 var(--display); }
.site-footer h2 { font: 500 .75rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .45); margin-bottom: 20px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; color: rgba(255, 255, 255, .85); font: 500 1rem/1.4 var(--display); display: inline-block; transition: color .3s, transform .4s var(--ease); }
.footer-nav a:hover { color: var(--pink); transform: translateX(6px); }
.footer-giant { display: flex; justify-content: space-between; margin: 96px 0 20px; font: 700 clamp(2.4rem, 10.5vw, 10.5rem)/.9 var(--display); letter-spacing: -.05em; white-space: nowrap; overflow: hidden; }
.footer-giant span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease), color .3s; transition-delay: calc(var(--i) * 40ms); }
.footer-giant.is-in span { transform: none; }
.footer-giant span:hover { color: var(--pink); transition-delay: 0s; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: rgba(255, 255, 255, .5); }
.footer-base p { margin: 0; }
.to-top { text-decoration: none; color: rgba(255, 255, 255, .8); transition: color .3s; }
.to-top:hover { color: var(--pink); }

/* ---------- Inner pages ---------- */

.page-hero { position: relative; padding: 180px 0 80px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero .eyebrow { margin-bottom: 20px; }
.games-hero { padding-bottom: 110px; }
.games-hero-grid { display: block; }
.games-intro { font-size: 1.2rem; max-width: 46ch; color: var(--muted); margin-top: 26px; }
.game-counts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.game-counts li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font: 500 .9rem/1 var(--display); background: var(--white); }
.game-counts strong { color: var(--pink); margin-right: 4px; }
.post-type-archive-ad_game .featured { padding-bottom: 0; }

.game-hero { min-height: 80svh; }
.game-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.game-hero .icon-stage.big { width: min(100%, 320px); justify-self: center; }
.game-hero .icon-stage .ring { border-color: var(--line-strong); }
.game-hero .eyebrow { margin-bottom: 18px; }
.game-hero .hero-title { font-size: clamp(3rem, 7vw, 6.4rem); }

.lost { text-align: center; }
.lost-inner { display: grid; justify-items: center; }
.lost-art { width: 180px; margin-bottom: 18px; animation: float 5s var(--ease-in-out) infinite; }
.lost .hero-text { margin-inline: auto; }

.post-cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; }
.prose { font-size: 1.12rem; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.45rem; margin: 1.4em 0 .4em; }
.prose a { color: var(--pink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--pink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--pink); font: 500 1.3rem/1.4 var(--display); }
.prose img { border-radius: 16px; }
.prose .wp-block-table { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font: 500 .75rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; min-width: 160px; }
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font: 500 1rem/1.4 var(--display); }
.post-nav a { text-decoration: none; }
.post-nav a:hover { color: var(--pink); }
.back-link { margin: 0; padding-bottom: 40px; }
.single-ad_game .story { padding-top: 0; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; text-decoration: none; font: 500 1rem/1 var(--display); transition: background .3s, color .3s; }
.pagination a.page-numbers:hover, .pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Motion: reveal and entrance ---------- */

.js .reveal { opacity: 0; translate: 0 36px; filter: blur(6px); transition: opacity .9s var(--ease), translate 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; filter: none; }

.rise { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes rise { from { opacity: 0; translate: 0 30px; filter: blur(6px); } }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.menu-toggle {
		position: relative; z-index: 2; display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; padding: 0;
		border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer;
	}
	.menu-toggle > span:not(.screen-reader-text) { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
	.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px;
		padding: 0 var(--gutter); background: var(--bg);
		clip-path: circle(0 at calc(100% - 46px) 46px); transition: clip-path .8s var(--ease-in-out), visibility 0s .8s; visibility: hidden;
	}
	.site-nav.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
	.site-nav .menu { flex-direction: column; gap: 6px; }
	.site-nav .menu a { font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; translate: 0 30px; opacity: 0; transition: translate .7s var(--ease), opacity .7s var(--ease); }
	.site-nav.is-open .menu a { translate: 0 0; opacity: 1; transition-delay: .25s; }
	.site-nav.is-open .menu li:nth-child(2) a { transition-delay: .31s; }
	.site-nav.is-open .menu li:nth-child(3) a { transition-delay: .37s; }
	.site-nav.is-open .menu li:nth-child(4) a { transition-delay: .43s; }
	.site-nav.is-open .menu li:nth-child(5) a { transition-delay: .49s; }

	.hero { min-height: 0; padding-top: 150px; }
	.hero-grid, .game-hero-grid { grid-template-columns: 1fr; }
	.hero-mark { width: min(60%, 240px); order: -1; justify-self: start; }
	.featured-card { grid-template-columns: 1fr; }
	.featured-art { min-height: 340px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(3) { padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.values { grid-template-columns: 1fr; gap: 28px; }
	.steps { flex-direction: column; width: auto; padding: 0; margin-inline: auto; max-width: calc(100% - 2 * var(--gutter)); }
	.step { width: auto; }
	.story-strip, .lots { grid-template-columns: repeat(2, 1fr); }
	.cards { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.statement { margin-bottom: 64px; }
}

@media (max-width: 560px) {
	body { font-size: 1rem; }
	.brand-logo, .is-scrolled .brand-logo { height: 40px; }
	.hero-mark { display: none; }
	.hero-actions .btn { flex: 1 1 auto; }
	.step img { width: 96px; }
	.step-num { font-size: 3.4rem; }
	.lots { gap: 10px; }
	.lot { padding: 14px 8px; }
	.block-head { flex-direction: column; align-items: flex-start; }
	.networth { text-align: left; }
	.footer-top { grid-template-columns: 1fr; }
	.scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js .reveal, .js [data-split] { opacity: 1; translate: none; filter: none; }
	.wi, .footer-giant span { transform: none; }
	.statement .fw { opacity: 1; }
}
