/* Tiny Moosh Games: plum night skies, pink/coral/gold magic, cream type. */
:root {
  --plum-950: #0d0414;
  --plum-900: #140720;
  --plum-850: #1b0b30;
  --plum-800: #241038;
  --plum-700: #2a0a2e;
  --plum-600: #3a1650;
  --violet: #6440a4;
  --violet-2: #8a5cd6;
  --pink: #f6405f;
  --magenta: #e2246a;
  --coral: #ff5a3c;
  --orange: #ff8a1f;
  --gold: #ffc63d;
  --cream: #fff1dc;
  --ink: #fff7ef;
  --muted: #cdb9da;
  --dim: #9c86ad;
  --line: rgba(255, 241, 220, 0.12);
  --card: rgba(255, 241, 220, 0.05);
  --a1: var(--gold);
  --a2: var(--pink);
  --radius: 22px;
  --shadow: 0 30px 60px -20px rgba(5, 0, 12, 0.7);
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plum-900);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; background: var(--gold); color: var(--plum-900); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--dim); }

/* ---------------------------------------------------------------- type */
.display, .display-xl, .display-sm, .world-title, .game-title, .post-title, .wordmark {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--cream);
}
.display { font-size: clamp(36px, 5.2vw, 64px); text-shadow: 0 4px 0 var(--plum-700), 0 10px 30px rgba(0, 0, 0, .35); }
.display-xl { font-size: clamp(44px, 7.5vw, 96px); text-shadow: 0 5px 0 var(--plum-700), 0 14px 40px rgba(0, 0, 0, .4); }
.display-sm { font-size: clamp(28px, 3.4vw, 42px); text-shadow: 0 3px 0 var(--plum-700); }
.display span, .display-xl span { color: var(--gold); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pink), var(--gold)); }
.eyebrow { font: 800 13px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--a1); margin-bottom: 10px; }
.section-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }

/* ---------------------------------------------------------------- buttons, chips */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 800 16px/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--orange) 55%, var(--pink));
  color: var(--plum-900);
  box-shadow: 0 8px 0 -2px #a9283f, 0 16px 30px -10px rgba(246, 64, 95, .7);
}
.btn-primary:hover { color: var(--plum-900); box-shadow: 0 10px 0 -2px #a9283f, 0 22px 40px -10px rgba(246, 64, 95, .9); }
.btn-ghost { border-color: rgba(255, 241, 220, .35); color: var(--cream); background: rgba(20, 7, 32, .35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-link { padding-inline: 6px; color: var(--cream); }
.btn-link:hover { color: var(--gold); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-danger { background: #5a1022; color: #ffd6dd; border-color: #8c1a33; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; }
.play-ico { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; display: inline-block; margin-left: 2px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.chips li {
  padding: 6px 12px; border-radius: 999px; font: 700 13px/1.2 var(--body);
  background: rgba(255, 241, 220, .08); border: 1px solid rgba(255, 241, 220, .16); color: var(--cream);
}
.chips .chip-live { background: rgba(80, 220, 140, .14); border-color: rgba(80, 220, 140, .4); color: #9ff0c0; }
.chips .chip-live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #52e08e; margin-right: 7px; box-shadow: 0 0 10px #52e08e; animation: pulse 2s infinite; }
.chips .chip-gold { background: rgba(255, 198, 61, .14); border-color: rgba(255, 198, 61, .45); color: var(--gold); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--a1) 22%, transparent); color: var(--cream); font: 800 12px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; margin-right: 8px; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled, body:not(.home) .site-header.scrolled {
  background: rgba(20, 7, 32, .78); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px #000;
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { filter: drop-shadow(0 4px 10px rgba(246, 64, 95, .5)); transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.brand-word { font: 400 22px/1 var(--display); letter-spacing: .02em; display: flex; flex-direction: column; }
.brand-word small { font: 800 10px/1.4 var(--body); letter-spacing: .42em; color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a, .nav-games > a {
  position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: var(--cream); font: 700 15px/1 var(--body);
}
.site-nav > a:hover, .nav-games > a:hover, .site-nav a.active { color: var(--gold); }
.site-nav > a.active::after, .nav-games > a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pink), var(--gold)); }
.nav-admin { background: rgba(255, 198, 61, .14); }
.nav-games { position: relative; }
.games-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 8px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px;
  background: rgba(27, 11, 48, .96); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s;
}
.nav-games:hover .games-menu, .nav-games:focus-within .games-menu { opacity: 1; pointer-events: auto; translate: -50% 0; }
.games-menu::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.games-menu a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; text-decoration: none; color: var(--cream); }
.games-menu a:hover { background: rgba(255, 241, 220, .07); }
.games-menu img { width: 64px; height: 44px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--a1) 60%, transparent); }
.games-menu strong { display: block; font-size: 15px; }
.games-menu em { font-style: normal; font-size: 12px; color: var(--muted); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border-radius: 14px;
    background: rgba(20, 7, 32, .5); border: 1px solid var(--line); cursor: pointer; z-index: 2;
  }
  .nav-toggle span:not(.sr) { width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 4px;
    background: rgba(13, 4, 20, .97); backdrop-filter: blur(10px);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .site-nav > a, .nav-games > a { font: 400 32px/1.2 var(--display); padding: 10px 20px; }
  .games-menu { display: none; }
  .brand-word { font-size: 19px; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: max(100svh, 680px); display: grid; place-items: center;
  overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 20px) 0 140px;
  background: radial-gradient(ellipse at 50% 60%, #6a1f4f 0%, var(--plum-850) 60%, var(--plum-900) 100%);
}
.hero-sky { position: absolute; inset: -12% -2% -2%; background: center 40% / cover no-repeat; z-index: -4; will-change: transform; }
.hero-sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(20, 7, 32, .05) 0%, rgba(20, 7, 32, .55) 75%), linear-gradient(180deg, rgba(20, 7, 32, .5) 0%, transparent 25%, transparent 70%, var(--plum-900) 100%); }
.hero-rays {
  position: absolute; left: 50%; top: 46%; width: 180vmax; height: 180vmax; translate: -50% -50%; z-index: -3; opacity: .22;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 160, .55) 0deg 6deg, transparent 6deg 18deg);
  mask: radial-gradient(circle, #000 0%, transparent 42%);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.hero-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.island { position: absolute; z-index: -1; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(10, 0, 20, .5)); will-change: transform; }
.island-a { width: clamp(180px, 24vw, 380px); left: max(-40px, 3vw); top: 22%; animation: drift 9s ease-in-out infinite; }
.island-b { width: clamp(150px, 19vw, 300px); right: 4vw; top: 16%; animation: drift 11s ease-in-out -3s infinite; }
.island-c { width: clamp(110px, 12vw, 200px); right: 18vw; bottom: 16%; animation: drift 8s ease-in-out -5s infinite; opacity: .92; }
@keyframes drift { 50% { margin-top: -18px; rotate: 1.5deg; } }
@media (max-width: 700px) {
  .island-a { width: 130px; left: -34px; top: 13%; }
  .island-b { width: 120px; right: -30px; top: 11%; }
  .island-c { display: none; }
  .island-about { opacity: .5; }
}
.hero-content { text-align: center; max-width: 900px; padding-inline: var(--gutter); will-change: transform; }
.moosh-wrap { position: relative; width: clamp(140px, 17vw, 220px); margin: 0 auto 6px; }
.moosh-glow { position: absolute; inset: -40%; background: radial-gradient(circle, rgba(255, 180, 120, .6), rgba(246, 64, 95, .25) 40%, transparent 65%); filter: blur(10px); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .6; transform: scale(.92); } }
.moosh { position: relative; width: 100%; filter: drop-shadow(0 0 0 #fff1dc) drop-shadow(0 18px 24px rgba(20, 0, 30, .55)); animation: hop 3.2s cubic-bezier(.4, 0, .3, 1) infinite; transform-origin: 50% 100%; }
.moosh-wrap::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -6px; height: 14px; border-radius: 50%; background: rgba(10, 0, 20, .45); filter: blur(6px); animation: shadow 3.2s cubic-bezier(.4, 0, .3, 1) infinite; }
@keyframes hop {
  0%, 60%, 100% { transform: translateY(0) scale(1, 1); }
  8% { transform: translateY(0) scale(1.08, .9); }
  22% { transform: translateY(-34px) scale(.95, 1.06) rotate(-4deg); }
  36% { transform: translateY(0) scale(1.06, .93); }
  44% { transform: translateY(-8px) scale(1, 1); }
}
@keyframes shadow { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 22% { transform: scale(.7); opacity: .5; } }
.bob { animation: hop 3.2s cubic-bezier(.4, 0, .3, 1) infinite; margin-inline: auto; }
.wordmark { margin: 0 0 18px; display: grid; justify-items: center; gap: 2px; }
.wm-line { font-size: clamp(52px, 10vw, 132px); line-height: .95; white-space: nowrap; }
.wm-line > span {
  display: inline-block; color: var(--cream);
  text-shadow: 0 2px 0 var(--plum-700), 2px 0 0 var(--plum-700), -2px 0 0 var(--plum-700), 0 -2px 0 var(--plum-700),
    0 7px 0 var(--plum-700), 0 14px 26px rgba(20, 0, 30, .6);
  animation: letter-in .7s cubic-bezier(.3, 1.6, .5, 1) both, letter-hop 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 70ms + .2s), calc(var(--i) * 120ms + 1.5s);
}
@keyframes letter-in { from { opacity: 0; transform: translateY(60px) scale(.4) rotate(-12deg); } }
@keyframes letter-hop { 0%, 90%, 100% { transform: none; } 94% { transform: translateY(-10px) rotate(-3deg); } }
.wm-games { display: flex; align-items: center; gap: 18px; font: 400 clamp(20px, 2.6vw, 32px)/1 var(--display); letter-spacing: .45em; padding-left: .45em; color: var(--cream); text-shadow: 0 3px 0 var(--plum-700); animation: letter-in .8s 1s both cubic-bezier(.3, 1.6, .5, 1); }
.wm-games i { width: clamp(40px, 9vw, 110px); height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--gold)); box-shadow: 0 0 12px rgba(255, 198, 61, .6); }
.wm-games i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-lede { font-size: clamp(17px, 1.8vw, 21px); color: var(--cream); max-width: 620px; margin: 0 auto 28px; text-shadow: 0 2px 12px rgba(20, 0, 30, .8); animation: fade-up .8s 1.2s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: fade-up .8s 1.35s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
.hero-clouds { position: absolute; left: -2%; right: -2%; bottom: -2px; height: 160px; z-index: 1; pointer-events: none; }
.hero-clouds svg { width: 100%; height: 100%; fill: var(--plum-900); filter: drop-shadow(0 -12px 24px rgba(246, 64, 95, .25)); }
.scroll-cue { position: absolute; bottom: 36px; left: 50%; translate: -50%; z-index: 2; width: 30px; height: 48px; border: 2px solid rgba(255, 241, 220, .6); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 10px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--magenta), var(--coral), var(--orange)); transform: rotate(-1.6deg) scale(1.04); margin: -10px 0 40px; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.marquee-track { display: flex; gap: 28px; align-items: center; width: max-content; padding: 14px 0; animation: marquee 40s linear infinite; }
.marquee span { font: 400 26px/1 var(--display); color: var(--cream); text-shadow: 0 3px 0 rgba(42, 10, 46, .45); white-space: nowrap; }
.marquee b { color: var(--plum-700); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------------------------------------------------------------- sections */
.section-head { margin-bottom: 48px; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.worlds { padding-top: 70px; }
.worlds > .section-head { text-align: center; display: grid; justify-items: center; }

/* each game is a parallax "world" */
.world {
  position: relative; min-height: 110vh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  padding: 120px 0; margin-top: -1px;
}
.world-bg { position: absolute; inset: -20% 0; z-index: -3; will-change: transform; }
.world-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15); }
.world-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, var(--plum-900) 0%, transparent 18%, transparent 82%, var(--plum-900) 100%),
    linear-gradient(90deg, rgba(13, 4, 20, .94) 0%, rgba(13, 4, 20, .7) 42%, rgba(13, 4, 20, .15) 75%),
    radial-gradient(ellipse at 80% 50%, color-mix(in srgb, var(--a2) 30%, transparent), transparent 60%);
}
.world-flip .world-shade {
  background:
    linear-gradient(180deg, var(--plum-900) 0%, transparent 18%, transparent 82%, var(--plum-900) 100%),
    linear-gradient(270deg, rgba(13, 4, 20, .94) 0%, rgba(13, 4, 20, .7) 42%, rgba(13, 4, 20, .15) 75%),
    radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--a2) 30%, transparent), transparent 60%);
}
.world-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.world-flip .world-copy { order: 2; }
.world-num { font: 400 clamp(80px, 12vw, 160px)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--a1) 70%, transparent); display: block; margin-bottom: -10px; opacity: .8; }
.world-title { font-size: clamp(42px, 6vw, 80px); margin-bottom: 14px; text-shadow: 0 5px 0 var(--plum-700), 0 0 40px color-mix(in srgb, var(--a1) 45%, transparent); }
.world-title a { color: inherit; text-decoration: none; }
.world-tagline { font-size: clamp(19px, 1.9vw, 23px); font-weight: 700; color: var(--cream); line-height: 1.4; }
.world-blurb { color: var(--muted); }
.world-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.world .btn-primary { background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 40%, var(--pink))); box-shadow: 0 8px 0 -2px color-mix(in srgb, var(--a1) 40%, #2a0a2e), 0 16px 30px -10px color-mix(in srgb, var(--a1) 70%, transparent); }
.world-stage { position: relative; aspect-ratio: 16 / 12; }
.screen {
  position: absolute; margin: 0; border-radius: 18px; overflow: hidden; background: var(--plum-800);
  box-shadow: 0 0 0 2px rgba(255, 241, 220, .14), 0 0 60px -10px color-mix(in srgb, var(--a1) 55%, transparent), var(--shadow);
  will-change: transform;
}
.screen img, .screen video { width: 100%; height: 100%; object-fit: cover; }
.screen-main { inset: 12% 4% 14% 8%; z-index: 2; border-radius: 22px; }
.screen-main::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(130deg, rgba(255, 255, 255, .14), transparent 35%); pointer-events: none; }
.screen-a { width: 42%; aspect-ratio: 16 / 10; right: -4%; top: -2%; z-index: 3; rotate: 4deg; }
.screen-b { width: 38%; aspect-ratio: 16 / 10; left: -6%; bottom: 0; z-index: 3; rotate: -5deg; }
.world-flip .screen-a { right: auto; left: -4%; rotate: -4deg; }
.world-flip .screen-b { left: auto; right: -6%; rotate: 5deg; }

@media (max-width: 900px) {
  .world { min-height: 0; padding: 90px 0 110px; }
  .world-inner { grid-template-columns: 1fr; }
  .world-flip .world-copy { order: 0; }
  .world-shade, .world-flip .world-shade { background: linear-gradient(180deg, var(--plum-900) 0%, rgba(13, 4, 20, .78) 20%, rgba(13, 4, 20, .78) 80%, var(--plum-900) 100%); }
  .world-stage { aspect-ratio: 16 / 11; margin-inline: 4%; }
}

/* ---------------------------------------------------------------- hopple band */
.hopple-band { position: relative; padding: 140px 0; overflow: hidden; isolation: isolate; }
.hopple-bg { position: absolute; inset: -20% 0; z-index: -3; }
.hopple-bg img { width: 100%; height: 100%; object-fit: cover; }
.hopple-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--plum-900), rgba(70, 30, 110, .72) 30%, rgba(70, 30, 110, .72) 70%, var(--plum-900)); }
.hopple-inner > .section-head { text-align: center; display: grid; justify-items: center; }
.hopple-logo { width: min(520px, 90%); filter: drop-shadow(0 16px 30px rgba(20, 0, 40, .6)); margin: 6px auto 18px; border-radius: 18px; }
.hopple-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 44px; }
.hopple-card {
  position: relative; display: grid; gap: 10px; padding: 14px 14px 20px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: rgba(30, 10, 50, .62); backdrop-filter: blur(10px); border: 1px solid rgba(255, 241, 220, .14);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; box-shadow: var(--shadow);
}
.hopple-card:hover { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 0 0 2px #c58bff, 0 40px 60px -20px rgba(0, 0, 0, .8); color: var(--ink); }
.hc-art { border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.hc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hopple-card:hover .hc-art img { transform: scale(1.08); }
.hc-logo { width: 74%; margin: -28% auto 0; position: relative; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); border-radius: 12px; }
.hc-status { justify-self: center; font: 800 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hc-blurb { font-size: 14px; color: var(--muted); text-align: center; line-height: 1.5; }
.hopple-char { position: absolute; z-index: -1; width: clamp(120px, 14vw, 220px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: drift 6s ease-in-out infinite; pointer-events: none; }
.hopple-band .hc-1 { left: 3%; top: 8%; rotate: -8deg; }
.hopple-band .hc-2 { right: 4%; top: 14%; rotate: 9deg; animation-delay: -2s; }
.hopple-band .hc-4 { right: 2%; bottom: 6%; width: clamp(140px, 16vw, 260px); animation-delay: -4s; }
@media (max-width: 900px) { .hopple-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hopple-char { opacity: .35; } }
@media (max-width: 700px) { .hopple-hero .hopple-char { opacity: .3; } }

/* ---------------------------------------------------------------- soundtrack teaser */
.sound-teaser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; padding: 120px 0; }
.vinyl-stack { position: relative; width: min(440px, 80%); aspect-ratio: 1; margin-inline: auto; translate: -8% 0; }
.vinyl-stack .cover { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow), 0 0 80px -20px var(--pink); }
.vinyl { position: absolute; inset: 4%; border-radius: 50%; background: repeating-radial-gradient(circle, #19101e 0 2px, #241a2a 2px 4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); z-index: 1; }
.vinyl > span { position: absolute; inset: 33%; border-radius: 50%; background: center / cover; box-shadow: 0 0 0 6px #120a16; }
.vinyl::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--plum-900); }
.vinyl-stack .vinyl { transform: translateX(34%); }
.vinyl-stack:hover .vinyl, .vinyl-stack.playing .vinyl { transform: translateX(46%); }
.playing .vinyl, .album.playing .vinyl { animation: spin 2.4s linear infinite; }
.mini-play { position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 241, 220, .92); color: var(--plum-700); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.mini-play .play-ico { border-left-width: 20px; border-top-width: 13px; border-bottom-width: 13px; margin-left: 6px; }
.mini-play:hover { transform: scale(1.1); }
.playing .mini-play .play-ico { width: 20px; height: 24px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 7px, transparent 7px 13px, currentColor 13px); }
.sound-peek { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid var(--line); }
.sound-peek li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.sound-peek span { font: 400 16px/1 var(--display); color: var(--gold); }
.sound-peek em { margin-left: auto; font-style: normal; color: var(--dim); font-weight: 400; font-size: 14px; }
@media (max-width: 860px) { .sound-teaser { grid-template-columns: 1fr; padding: 80px 0; } }

/* ---------------------------------------------------------------- posts */
.latest { padding: 60px 0 100px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 241, 220, .06), rgba(255, 241, 220, .02)); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s, border-color .3s;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(255, 198, 61, .5); box-shadow: var(--shadow); color: var(--ink); }
.pc-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--plum-800); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .pc-img img { transform: scale(1.06); }
.pc-body { display: grid; gap: 10px; padding: 20px 22px 24px; }
.pc-meta { font-size: 13px; color: var(--dim); }
.pc-title { font: 400 24px/1.15 var(--display); color: var(--cream); }
.pc-excerpt { color: var(--muted); font-size: 15px; }
.post-card-big { display: grid; grid-template-columns: 1.3fr 1fr; margin-bottom: 30px; }
.post-card-big .pc-img { aspect-ratio: auto; min-height: 340px; }
.post-card-big .pc-body { align-content: center; padding: 34px; }
.post-card-big .pc-title { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 760px) { .post-card-big { grid-template-columns: 1fr; } .post-card-big .pc-img { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------------------------------------------------------------- studio strip */
.studio-strip { padding: 80px 0 140px; background: radial-gradient(ellipse at 20% 50%, rgba(100, 64, 164, .35), transparent 60%); }
.studio-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.studio-inner .hero-cta { justify-content: flex-start; animation: none; margin-top: 10px; }
.studio-moosh { position: relative; aspect-ratio: 1; }
.studio-moosh img { position: absolute; width: 64%; border-radius: 24px; box-shadow: var(--shadow); }
.studio-moosh img:first-child { left: 0; top: 0; rotate: -6deg; animation: drift 7s ease-in-out infinite; }
.studio-moosh img:last-child { right: 0; bottom: 0; rotate: 5deg; animation: drift 9s ease-in-out -4s infinite; }
.studio-strip .fine { margin-top: 12px; }
@media (max-width: 860px) { .studio-inner { grid-template-columns: 1fr; } .studio-moosh { width: min(380px, 90%); margin-inline: auto; } }

/* ---------------------------------------------------------------- page heroes */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 90px) 0 90px; text-align: center; }
.page-hero-sm { padding-bottom: 60px; }
.page-hero-bg { position: absolute; inset: -20% 0 0; z-index: -2; background: center 40% / cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 7, 32, .65), rgba(20, 7, 32, .55) 50%, var(--plum-900)); }
.page-hero-inner { display: grid; justify-items: center; }
.island-about { width: clamp(140px, 18vw, 280px); right: 4%; top: 22%; }

/* games grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px; padding: 30px 0 120px; }
.game-card { border-radius: var(--radius); overflow: hidden; background: var(--plum-800); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 0 0 2px var(--a1), 0 30px 60px -20px color-mix(in srgb, var(--a1) 50%, #000); }
.gc-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.gc-media > img, .gc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-media video { opacity: 0; transition: opacity .4s; }
.game-card.hovering .gc-media video { opacity: 1; }
.gc-logo { position: absolute; inset: 18% 15% auto !important; width: 70% !important; height: auto !important; object-fit: contain !important; filter: drop-shadow(0 10px 20px #000); }
.gc-genre { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(13, 4, 20, .75); font: 800 12px/1.2 var(--body); letter-spacing: .06em; color: var(--a1); backdrop-filter: blur(6px); }
.gc-body { padding: 22px 24px 26px; }
.gc-body h2 { font: 400 32px/1.05 var(--display); margin-bottom: 10px; }
.gc-body h2 a { color: var(--cream); text-decoration: none; }
.gc-body > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.gc-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.game-card .btn-primary { background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 40%, var(--pink))); }

/* ---------------------------------------------------------------- game page */
.game-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 90px; }
.game-hero-bg { position: absolute; inset: -14% 0 0; z-index: -2; }
.game-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.game-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 4, 20, .7) 0%, transparent 30%, rgba(13, 4, 20, .55) 62%, var(--plum-900) 100%), linear-gradient(90deg, rgba(13, 4, 20, .82), transparent 70%); }
.game-hero-inner { max-width: 1240px; }
.crumb { display: inline-block; margin-bottom: 26px; color: var(--cream); text-decoration: none; font-weight: 700; opacity: .85; }
.crumb:hover { color: var(--gold); }
.game-title { font-size: clamp(48px, 8vw, 110px); margin-bottom: 16px; max-width: 14ch; text-shadow: 0 6px 0 var(--plum-700), 0 0 60px color-mix(in srgb, var(--a1) 50%, transparent); }
.game-tagline { font-size: clamp(19px, 2vw, 25px); font-weight: 700; max-width: 680px; line-height: 1.4; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.game-hero .hero-cta, .hopple-hero .hero-cta { justify-content: flex-start; animation: none; }
.page-game .btn-primary { background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 40%, var(--pink))); box-shadow: 0 8px 0 -2px color-mix(in srgb, var(--a1) 40%, #2a0a2e), 0 16px 30px -10px color-mix(in srgb, var(--a1) 70%, transparent); }
.trailer-section { margin-top: -40px; position: relative; z-index: 2; }
.trailer-frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 2px rgba(255, 241, 220, .12), 0 0 120px -30px var(--a1), var(--shadow); }
.trailer-frame video { width: 100%; height: 100%; }
.trailer-play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(16px, 3vw, 32px);
  background: linear-gradient(20deg, rgba(13, 4, 20, .7), transparent 45%); border: 0; cursor: pointer; transition: opacity .3s;
}
.trailer-play > span {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--a1), var(--pink)); color: var(--plum-700); font: 800 18px/1 var(--body);
  box-shadow: 0 0 0 8px rgba(255, 241, 220, .14), 0 20px 50px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.trailer-play:hover > span { transform: scale(1.06); }
.trailer-play .play-ico { color: var(--plum-700); margin-left: 6px; }
.trailer-frame.started .trailer-play { opacity: 0; pointer-events: none; }
.game-about { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; padding: 110px 0 40px; align-items: start; }
.prose-lg { font-size: 18px; }
.prose-lg p { color: var(--muted); }
.credit { font-size: 14px; color: var(--dim) !important; border-left: 3px solid var(--line); padding-left: 14px; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, color-mix(in srgb, var(--a1) 10%, var(--plum-800)), var(--plum-800)); border: 1px solid var(--line); }
.facts h3 { font: 400 26px/1 var(--display); color: var(--cream); }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 22px; font-size: 15px; }
.facts dt { color: var(--dim); font-weight: 700; }
.facts dd { margin: 0; color: var(--cream); }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #52e08e; box-shadow: 0 0 10px #52e08e; margin-right: 8px; }
@media (max-width: 900px) { .game-about { grid-template-columns: 1fr; padding-top: 70px; } .facts { position: static; } }
.features { padding: 60px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a1) 60%, transparent); }
.feature::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a1) 30%, transparent), transparent 70%); }
.feature-num { font: 400 40px/1 var(--display); color: var(--a1); display: block; margin-bottom: 12px; }
.feature h3 { font-size: 20px; color: var(--cream); }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.gallery-section { padding: 60px 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shot { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--plum-800); box-shadow: 0 0 0 1px var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.shot:hover img { transform: scale(1.06); filter: brightness(1.1); }
.shot-wide { grid-column: span 2; grid-row: span 2; }
.shot-cap { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; font-size: 13px; color: var(--cream); background: linear-gradient(transparent, rgba(13, 4, 20, .9)); opacity: 0; transform: translateY(10px); transition: .3s; }
.shot:hover .shot-cap { opacity: 1; transform: none; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.play-band { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0; text-align: center; margin-top: 60px; }
.play-band-bg { position: absolute; inset: -30% 0; z-index: -2; }
.play-band-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.2); }
.play-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--plum-900), rgba(20, 7, 32, .6) 30%, rgba(20, 7, 32, .6) 70%, var(--plum-900)); }
.play-band-hopple { background: radial-gradient(ellipse, rgba(140, 80, 220, .35), transparent 70%); }
.play-band-inner p { font-size: 20px; color: var(--cream); }
.game-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px 0 110px; }
.pager-card { position: relative; display: flex; align-items: end; min-height: 180px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--cream); isolation: isolate; }
.pager-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.pager-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 4, 20, .92), rgba(13, 4, 20, .2)); }
.pager-card:hover img { transform: scale(1.06); }
.pager-card span { padding: 22px 26px; font: 400 30px/1.05 var(--display); }
.pager-card em { display: block; font: 800 12px/1.6 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--a1); font-style: normal; }
.pager-next { justify-content: flex-end; text-align: right; }

/* ---------------------------------------------------------------- hopple page */
.hopple-hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 50px) 0 90px; }
.hopple-hero-bg { position: absolute; inset: -14% 0 0; z-index: -3; }
.hopple-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hopple-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(40, 10, 70, .55), rgba(40, 10, 70, .35) 50%, var(--plum-900)), linear-gradient(90deg, rgba(20, 5, 40, .75), transparent 70%); }
.hopple-logo-xl { width: min(640px, 100%); margin: 0 0 20px; }
.hopple-hero .hc-1 { right: 8%; top: 20%; width: clamp(160px, 20vw, 300px); }
.hopple-hero .hc-3 { right: 30%; top: 16%; width: clamp(100px, 10vw, 170px); animation-delay: -2s; }
.hopple-hero .hc-5 { right: 22%; bottom: 8%; width: clamp(150px, 16vw, 260px); animation-delay: -4s; }
.hopple-cast { padding: 40px 0 0; text-align: center; }
.cast-row { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: clamp(6px, 2vw, 24px); }
.cast-row img { width: clamp(80px, 11vw, 150px); filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .5)); animation: hop 3.2s cubic-bezier(.4, 0, .3, 1) infinite; animation-delay: calc(var(--i) * -0.45s); }
.hopple-game { padding: 100px 0; }
.hopple-game:nth-of-type(even) { background: linear-gradient(180deg, transparent, rgba(100, 64, 164, .16), transparent); }
.hopple-game-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hopple-flip .hopple-game-copy { order: 2; }
.hopple-game-logo { width: min(320px, 72%); margin-bottom: 20px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
.hopple-game-copy > p:not(.eyebrow):not(.game-tagline) { color: var(--muted); }
.hopple-game .eyebrow { color: #c58bff; }
.hopple-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hopple-gallery .shot { aspect-ratio: 1; }
.hopple-gallery .shot-wide { grid-row: auto; aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .hopple-game-inner { grid-template-columns: 1fr; } .hopple-flip .hopple-game-copy { order: 0; } }

/* ---------------------------------------------------------------- blog */
.blog-list { padding: 20px 0 110px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; justify-content: center; }
.filter-chips a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--cream); text-decoration: none; font-weight: 700; font-size: 14px; }
.filter-chips a:hover { border-color: var(--gold); color: var(--gold); }
.filter-chips a.on { background: var(--cream); color: var(--plum-800); border-color: var(--cream); }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.post-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 100px) 0 80px; min-height: 64vh; display: flex; align-items: end; }
.post-hero-bg { position: absolute; inset: -16% 0 0; z-index: -2; }
.post-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 4, 20, .6), rgba(13, 4, 20, .45) 40%, var(--plum-900)); }
.post-hero-inner { width: min(860px, 100% - 2 * var(--gutter)); }
.post-title { font-size: clamp(38px, 5.6vw, 68px); margin: 14px 0 16px; text-shadow: 0 5px 0 var(--plum-700), 0 10px 40px rgba(0, 0, 0, .5); }
.post-meta { color: var(--cream); font-weight: 600; opacity: .9; }
.post-lede { font-size: 22px; line-height: 1.5; color: var(--cream) !important; font-weight: 600; }
.prose { font-size: 18.5px; line-height: 1.75; padding: 20px 0 40px; }
.prose p, .prose li { color: #e8dcef; }
.prose h2 { font: 400 clamp(28px, 3vw, 38px)/1.15 var(--display); color: var(--cream); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 22px; color: var(--gold); margin: 1.5em 0 .5em; }
.prose img, .prose video { border-radius: 18px; margin: 1.6em auto; box-shadow: var(--shadow); width: 100%; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; margin: 1.6em 0; }
.prose figure { margin: 0; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--dim); margin-top: -1em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--pink); background: var(--card); border-radius: 0 16px 16px 0; font-size: 20px; color: var(--cream); }
.prose blockquote p { color: var(--cream); margin: 0; }
.prose code { background: rgba(255, 241, 220, .1); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.prose pre { background: var(--plum-950); border: 1px solid var(--line); padding: 18px; border-radius: 14px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--gold); }
.prose hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 2.5em 0; }
.prose a { color: var(--gold); }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.post-game { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; padding: 26px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 14%, var(--plum-800)), var(--plum-800)); border: 1px solid var(--line); margin-bottom: 40px; }
.post-game img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.post-game h2 { font: 400 32px/1 var(--display); color: var(--cream); }
.post-game p:not(.eyebrow) { color: var(--muted); }
.post-game .hero-cta { justify-content: flex-start; animation: none; }
@media (max-width: 640px) { .post-game { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- soundtrack page */
.sound-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 80px) 0 120px; }
.sound-hero-bg { position: absolute; inset: -20% -5% 0; z-index: -3; background: center / cover; filter: blur(40px) saturate(1.4); opacity: .55; }
.sound-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(20, 7, 32, .3), var(--plum-900)); }
.sound-hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.album { position: relative; width: min(460px, 80%); aspect-ratio: 1; translate: -10% 0; margin-inline: auto; }
.album .cover { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow), 0 0 100px -20px var(--pink); }
.album .vinyl { transform: translateX(30%); }
.album.playing .vinyl { transform: translateX(42%); }
.album-sub { font-weight: 800; color: var(--gold); letter-spacing: .02em; }
.album-copy > p:not(.album-sub):not(.kicker) { color: var(--muted); }
.album-copy .hero-cta { justify-content: flex-start; animation: none; }
.visualizer { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; z-index: -1; opacity: .8; }
@media (max-width: 860px) { .sound-hero-inner { grid-template-columns: 1fr; } }
.tracklist-wrap { padding: 10px 0 160px; }
.tracklist { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--line); }
.tracklist li { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.track { flex: 1; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 12px; background: none; border: 0; cursor: pointer; text-align: left; border-radius: 12px; transition: background .2s; }
.track:hover { background: rgba(255, 241, 220, .05); }
.t-num { font: 400 20px/1 var(--display); color: var(--dim); display: grid; place-items: center; }
.t-eq { display: none; gap: 3px; align-items: end; height: 18px; }
.t-eq i { width: 4px; background: var(--gold); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.t-eq i:nth-child(2) { animation-delay: -.3s; } .t-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.track.current .t-n { display: none; }
.track.current .t-eq { display: flex; }
.track.current.paused .t-eq i { animation-play-state: paused; }
.track.current .t-title { color: var(--gold); }
.t-title { font-weight: 800; font-size: 17px; color: var(--cream); }
.t-title em { display: block; font-style: normal; font-weight: 400; font-size: 13px; color: var(--dim); }
.t-time { color: var(--dim); font-variant-numeric: tabular-nums; }
.t-dl { padding: 10px 14px; color: var(--dim); text-decoration: none; font-weight: 800; }
.t-dl:hover { color: var(--gold); }
.player { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; border-radius: 20px; background: rgba(27, 11, 48, .94); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); animation: fade-up .4s both; }
.player-row { display: grid; grid-template-columns: 52px minmax(120px, 1fr) auto minmax(160px, 2fr) 100px; gap: 18px; align-items: center; padding: 12px 0; width: calc(100% - 32px); }
.player-art { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.player-meta strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta em { font-style: normal; font-size: 12px; color: var(--dim); }
.player-controls { display: flex; gap: 8px; align-items: center; }
.player-controls button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 241, 220, .08); cursor: pointer; font-size: 14px; }
.player-controls .player-toggle { width: 52px; height: 52px; background: linear-gradient(135deg, var(--gold), var(--pink)); color: var(--plum-700); display: grid; place-items: center; }
.player-toggle .play-ico { margin-left: 4px; }
.player.is-playing .player-toggle .play-ico { width: 14px; height: 16px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px, currentColor 9px); }
.player-progress { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.player-progress input { flex: 1; }
input[type=range] { accent-color: var(--gold); }
@media (max-width: 760px) { .player-row { grid-template-columns: 44px 1fr auto; } .player-art { width: 44px; height: 44px; } .player-progress { grid-column: 1 / -1; } .player-vol { display: none; } }

/* ---------------------------------------------------------------- about, contact */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 60px; padding: 40px 0 60px; }
.moosh-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.moosh-gallery img { border-radius: 18px; box-shadow: var(--shadow); }
.moosh-gallery img:nth-child(even) { margin-top: 30px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.story-video { padding: 40px 0; text-align: center; display: grid; justify-items: center; }
.yt-lite { position: relative; width: min(900px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000 center / cover; box-shadow: var(--shadow); }
.yt-lite button { position: absolute; inset: 0; border: 0; cursor: pointer; background: rgba(13, 4, 20, .3); display: grid; place-items: center; }
.yt-lite button::before { content: ''; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--pink)); }
.yt-lite .play-ico { position: relative; color: var(--plum-700); border-left-width: 28px; border-top-width: 18px; border-bottom-width: 18px; margin-left: 8px; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 60px 0; text-align: center; }
.stats strong { display: block; font: 400 clamp(48px, 6vw, 80px)/1 var(--display); background: linear-gradient(180deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-weight: 700; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 50px; padding: 20px 0 120px; }
.contact-form, .sent-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 18px; }
.sent-card { text-align: center; justify-items: center; }
label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
input, textarea, select {
  font: inherit; color: var(--ink); background: rgba(13, 4, 20, .6); border: 1px solid rgba(255, 241, 220, .2);
  border-radius: 14px; padding: 13px 16px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 198, 61, .18); }
.hp { position: absolute; left: -9999px; }
.form-error { background: rgba(246, 64, 95, .15); border: 1px solid rgba(246, 64, 95, .5); color: #ffc9d2; padding: 12px 16px; border-radius: 14px; margin: 0; }
.contact-side ul { padding-left: 1.1em; }
.contact-side p { color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.lost { position: relative; min-height: 90vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.lost .page-hero-bg { inset: 0; }
.lost-inner { display: grid; justify-items: center; gap: 10px; padding-top: var(--header-h); }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; margin-top: 40px; }
.footer-wave { display: block; width: 100%; height: 90px; fill: var(--plum-950); margin-bottom: -1px; }
.footer-body { background: var(--plum-950); padding: 30px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 40px; padding-bottom: 50px; }
.brand-lg .brand-word { font-size: 28px; }
.footer-brand p { color: var(--muted); max-width: 380px; margin: 18px 0; font-size: 15px; }
.site-footer h3 { font: 800 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer li a { color: var(--cream); text-decoration: none; font-size: 15px; }
.site-footer li a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-wisp { display: inline-flex; align-items: center; gap: 8px; }
.footer-wisp img { animation: hop 3.2s infinite; }
.footer-admin { color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- modal + lightbox */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 2, 14, .88); backdrop-filter: blur(8px); animation: fade .25s both; }
.modal-box { position: relative; width: min(1200px, 100%); animation: pop .35s cubic-bezier(.3, 1.4, .5, 1) both; }
.modal-content video, .modal-content img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.modal-close { position: absolute; right: -6px; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--plum-800); font-weight: 900; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 241, 220, .9); color: var(--plum-800); font-size: 22px; font-weight: 900; cursor: pointer; }
.lb-prev { left: -20px; } .lb-next { right: -20px; }
.lb-cap { text-align: center; color: var(--muted); margin-top: 12px; font-size: 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }

/* ---------------------------------------------------------------- reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
