:root {
  --paper: #FFF4DE;
  --ink: #16121F;
  --ink-soft: #423B55;
  --white: #FFFFFF;
  --yellow: #FFD23F;
  --pink: #FF5FA2;
  --blue: #3B55F0;
  --green: #2ED9A3;
  --orange: #FF7A30;
  --purple: #8B5CF6;
  --border: 3px solid var(--ink);
  --radius: 20px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --max: 1180px;
  --display: Unbounded, "Arial Black", sans-serif;
  --pixel: "Press Start 2P", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Rubik, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px;
  font: 700 16px/1.1 Rubik, system-ui, sans-serif;
  color: var(--ink); text-decoration: none;
  background: var(--white);
  border: var(--border); border-radius: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn-pink { background: var(--pink); }
.btn-yellow { background: var(--yellow); }
.btn-green { background: var(--green); }
.btn-sm { padding: 10px 18px; font-size: 15px; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.btn-sm:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn-sm:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--border);
}
nav.wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 42px; height: 42px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover svg { transform: rotate(-10deg) scale(1.08); }
.wordmark { font: 900 19px/1 var(--display); letter-spacing: -.02em; }
.wordmark span { font-weight: 700; margin-left: .3em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  padding: 8px 14px;
  font-weight: 600; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.nav-links a:not(.btn):hover { background: var(--white); border-color: var(--ink); }
.nav-links .btn { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 88px;
  background-image: radial-gradient(rgba(22, 18, 31, .13) 1.3px, transparent 1.6px);
  background-size: 26px 26px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--white);
  border: var(--border); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700; font-size: 14px;
  transform: rotate(-2deg);
}
.pill .live {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--ink);
  animation: pulse 1.6s ease-in-out infinite;
}
h1 {
  margin: 28px 0 24px;
  font: 900 clamp(44px, 6.6vw, 88px)/1.02 var(--display);
  letter-spacing: -.035em;
}
.hl {
  display: inline-block;
  margin: .06em 0;
  padding: .02em .18em .08em;
  background: var(--yellow);
  border: var(--border); border-radius: .22em;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
}
.squiggle {
  display: inline-block;
  padding-bottom: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 Q6 0 12 6 T24 6' fill='none' stroke='%23FF5FA2' stroke-width='3.5'/%3E%3C/svg%3E") left bottom / .42em .21em repeat-x;
}
.lead { max-width: 520px; margin: 0 0 34px; font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero art */
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; }
.console {
  position: absolute; inset: 13% 7% 12% 9%;
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--border); border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--yellow);
  border-bottom: var(--border);
}
.console-bar i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); }
.console-bar i:first-child { background: var(--pink); }
.console-bar i:nth-child(3) { background: var(--green); }
.console-bar span { margin-left: auto; font: 700 12px/1 var(--display); }
.screen {
  position: relative; flex: 1;
  display: grid; grid-template-rows: 1fr auto;
  background: #1E1650; color: var(--white);
  overflow: hidden;
}
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 4px);
}
.stars {
  position: absolute; top: 10px; left: 10px;
  width: 4px; height: 4px; background: var(--white);
  box-shadow:
    24px 30px #fff, 90px 64px #FFD23F, 160px 22px #fff, 230px 80px #2ED9A3,
    300px 36px #fff, 360px 70px #FF5FA2, 52px 120px #fff, 128px 170px #FFD23F,
    260px 150px #fff, 330px 190px #fff, 400px 120px #2ED9A3, 20px 210px #FF5FA2,
    190px 230px #fff, 420px 20px #FFD23F;
  animation: twinkle 2.4s steps(2) infinite;
}
.screen-main {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; text-align: center;
}
.pixel-bus { width: 64px; animation: hop 1.2s steps(2) infinite; }
.p1 { font: 11px/1 var(--pixel); color: var(--green); letter-spacing: .1em; }
.ready { font: clamp(20px, 3vw, 32px)/1.1 var(--pixel); color: var(--yellow); text-shadow: 4px 4px 0 var(--pink); }
.press { font: 11px/1 var(--pixel); animation: blink 1s steps(1) infinite; }
.loader { position: relative; z-index: 1; padding: 0 22px 20px; }
.loader-label {
  display: flex; justify-content: space-between;
  margin-bottom: 8px;
  font: 8px/1 var(--pixel); color: #C9C2FF; letter-spacing: .06em;
}
.bar { height: 20px; padding: 3px; border: 3px solid var(--white); border-radius: 6px; }
.bar i {
  display: block; height: 100%; width: 10%; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, var(--pink) 0 8px, var(--yellow) 8px 16px);
  background-size: 22.63px 22.63px;
  animation: load 6s ease-in-out infinite, stripes .7s linear infinite;
}
.shape {
  position: absolute; z-index: 2;
  filter: drop-shadow(4px 4px 0 var(--ink));
  animation: bob 5s ease-in-out infinite;
  transition: translate .25s ease-out;
}
.shape.star { top: 2%; left: 0; width: 18%; --rot: -8deg; }
.shape.circle { top: 4%; right: 2%; width: 13%; animation-delay: -1.2s; }
.shape.tri { bottom: 1%; right: 34%; width: 14%; animation-delay: -2.4s; --rot: 6deg; }
.shape.square { bottom: 11%; right: 0; width: 12%; animation-delay: -3.1s; --rot: 14deg; }
.shape.plus { top: 40%; right: 0; width: 10%; animation-delay: -.6s; --rot: -10deg; }
.sticker {
  position: absolute; z-index: 3; left: 0; bottom: 5%;
  display: grid; place-items: center;
  width: 25%; aspect-ratio: 1; padding: 0;
  background: var(--pink);
  border: var(--border); border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s ease;
}
.sticker:hover { transform: scale(1.06) rotate(-6deg); }
.sticker:active { transform: scale(.95); }
.sticker .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sticker .ring text { font: 700 10px var(--display); fill: var(--ink); letter-spacing: .04em; }
.sticker .core { width: 38%; }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow-x: clip; padding: 24px 0; }
.marquee {
  margin: 0 -24px;
  background: var(--ink);
  transform: rotate(-2deg);
  overflow: hidden;
}
.track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.track span {
  display: inline-flex; align-items: center;
  padding: 16px 0;
  font: 800 clamp(20px, 2.6vw, 30px)/1 var(--display);
  color: var(--yellow); white-space: nowrap;
}
.track span::after { content: "✦"; margin: 0 26px; color: var(--pink); }
.track .c2 { color: var(--green); }
.track .c3 { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; margin-bottom: 52px;
}
.section-head p { max-width: 400px; margin: 0; font-size: 18px; color: var(--ink-soft); }
.kicker {
  display: inline-block; margin-bottom: 18px; padding: 8px 14px;
  background: var(--ink); color: var(--yellow);
  border-radius: 999px;
  font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
h2 { margin: 0; font: 900 clamp(36px, 5.2vw, 64px)/1.04 var(--display); letter-spacing: -.035em; }

/* ---------- Games ---------- */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.card:nth-child(3):hover { transform: translate(-4px, -4px) rotate(1deg); }
.card-art { position: relative; aspect-ratio: 16 / 10; border-bottom: var(--border); overflow: hidden; background: #1E1650; }
.card-art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.status {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  background: var(--white);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font: 700 11px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); border: 1.5px solid var(--ink); }
.status.new::before { background: var(--pink); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; }
.card-body h3 { margin: 0; font: 800 22px/1.15 var(--display); letter-spacing: -.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 11px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; }
.card-body p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.card-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 14px;
  border-top: 2px dashed rgba(22, 18, 31, .2);
  font-size: 14px; font-weight: 700;
}
.card-foot > span { font-weight: 500; color: var(--ink-soft); }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--yellow);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.store:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.store:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.store svg { width: 14px; height: 14px; }

/* Featured card */
.card.featured { grid-column: 1 / -1; }
.card.featured:hover { transform: translate(-4px, -4px); }
.card.featured .card-art { aspect-ratio: 2000 / 923; }
.card.featured .status { top: auto; bottom: 14px; }
.card.featured .card-body {
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: end;
  gap: 18px 44px; padding: 28px 30px 26px;
}
.fb-main, .fb-side { display: flex; flex-direction: column; gap: 14px; }
.card.featured .card-body h3 { font-size: clamp(24px, 2.6vw, 32px); }
.card.featured .card-body p { font-size: 17px; }
.card.featured .card-foot { margin-top: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; }
.stat {
  padding: 8px 12px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: 12px;
  font-size: 14px; color: var(--ink-soft);
}
.stat b { font: 800 16px/1 var(--display); color: var(--ink); margin-right: 4px; }
.slides { position: absolute; inset: 0; }
.slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: slide 15s infinite;
}
.slides img:first-child { opacity: 1; }
.slides img:nth-child(2) { animation-delay: 5s; }
.slides img:nth-child(3) { animation-delay: 10s; }

.icon-art {
  display: grid; place-items: center;
  background-color: var(--green);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .2) 0 14px, transparent 14px 28px);
}
.icon-art img {
  width: 40%; aspect-ratio: 1; object-fit: cover;
  border: var(--border); border-radius: 26%;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.card:hover .icon-art img { transform: rotate(4deg) scale(1.05); }

.card.more {
  align-items: center; justify-content: center; gap: 14px;
  padding: 40px 28px; text-align: center;
  background: transparent; border-style: dashed; box-shadow: none;
}
.card.more:hover { transform: none; box-shadow: none; background: var(--white); }
.plus-btn {
  display: grid; place-items: center;
  width: 86px; height: 86px;
  background: var(--yellow);
  border: var(--border); border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.card.more:hover .plus-btn { transform: rotate(90deg); }
.plus-btn svg { width: 36px; height: 36px; }
.card.more h3 { margin: 6px 0 0; font: 800 22px/1.15 var(--display); letter-spacing: -.02em; }
.card.more p { max-width: 260px; margin: 0; color: var(--ink-soft); }

/* ---------- Studio ---------- */
.studio { background: var(--yellow); border-block: var(--border); }
.studio .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.studio-copy p { max-width: 500px; margin: 22px 0 26px; font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px;
  background: var(--white);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px; font-weight: 600;
}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 14px; }
.tile {
  padding: 24px;
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.tile:nth-child(odd) { transform: rotate(-1.5deg); }
.tile:nth-child(even) { transform: rotate(1.2deg) translateY(14px); }
.tile:hover { transform: translateY(-4px); }
.ic {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 16px;
  border: var(--border); border-radius: 14px;
}
.ic svg { width: 26px; height: 26px; }
.tile h3 { margin: 0 0 6px; font: 800 18px/1.2 var(--display); letter-spacing: -.01em; }
.tile p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: var(--blue); color: var(--white);
  border: var(--border); border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.contact-panel::before,
.contact-panel::after { content: ""; position: absolute; border: var(--border); border-radius: 50%; }
.contact-panel::before { width: 220px; height: 220px; right: -70px; top: -70px; background: var(--pink); }
.contact-panel::after { width: 120px; height: 120px; left: -40px; bottom: -50px; background: var(--yellow); }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel .kicker { background: var(--yellow); color: var(--ink); }
.contact-panel p { max-width: 480px; margin: 18px auto 30px; font-size: 19px; color: #E6E9FF; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }

/* ---------- Legal pages ---------- */
.doc-hero {
  padding: 56px 0 40px;
  background-image: radial-gradient(rgba(22, 18, 31, .13) 1.3px, transparent 1.6px);
  background-size: 26px 26px;
  border-bottom: var(--border);
}
.doc-hero h1 { margin: 6px 0 14px; font-size: clamp(36px, 5.4vw, 64px); }
.doc-meta { margin: 0 0 26px; font-weight: 600; color: var(--ink-soft); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-nav a {
  padding: 8px 14px;
  background: var(--white);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.legal-nav a:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--yellow); }
.doc-section { padding: 56px 0 96px; }
.doc {
  max-width: 880px;
  padding: clamp(24px, 4vw, 52px);
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.doc > :first-child { margin-top: 0; }
.doc h2 { margin: 40px 0 12px; font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }
.doc h3 { margin: 28px 0 8px; font: 800 18px/1.3 var(--display); letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 24px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--ink); font-weight: 700; }
.doc a { color: var(--blue); font-weight: 600; }
.doc ul.plain { list-style: none; padding-left: 0; }
.doc .providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 24px; }
.doc .callout {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: 14px;
}
.doc .callout > :last-child { margin-bottom: 0; }
.doc .doc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }
.doc .doc-actions a { color: var(--ink); }
.doc .tr-note { margin-top: 28px; padding-top: 18px; border-top: 2px dashed rgba(22, 18, 31, .2); }

/* ---------- Not found ---------- */
.notfound {
  padding: 88px 0 112px;
  text-align: center;
  background-image: radial-gradient(rgba(22, 18, 31, .13) 1.3px, transparent 1.6px);
  background-size: 26px 26px;
}
.notfound .code {
  display: inline-block;
  font: 900 clamp(84px, 14vw, 168px)/1 var(--display);
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-3deg);
}
.notfound h1 { margin: 28px 0 14px; font-size: clamp(36px, 5.4vw, 64px); }
.notfound p { max-width: 520px; margin: 0 auto 32px; font-size: 19px; color: var(--ink-soft); }
.notfound .cta { justify-content: center; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 32px; background: var(--ink); color: var(--paper); }
footer .logo-shadow { fill: var(--paper); }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 28px;
  border-bottom: 2px solid rgba(255, 244, 222, .15);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-weight: 600; text-decoration: none; opacity: .85; }
.footer-links a:hover { opacity: 1; color: var(--yellow); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 22px 0;
  border-bottom: 2px solid rgba(255, 244, 222, .15);
  font-size: 15px;
}
.footer-legal a { text-decoration: none; opacity: .75; }
.footer-legal a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 22px;
  font-size: 14px; color: rgba(255, 244, 222, .65);
}
.konami { font: 9px/1.8 var(--pixel); }

.confetti { position: fixed; z-index: 100; pointer-events: none; border: 1.5px solid var(--ink); }

/* ---------- Motion ---------- */
@keyframes pulse { 50% { transform: scale(1.3); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes twinkle { 50% { opacity: .35; } }
@keyframes hop { 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes load { 0% { width: 6%; } 70%, 92% { width: 91%; } 100% { width: 6%; } }
@keyframes stripes { to { background-position: 22.63px 0; } }
@keyframes slide { 0% { opacity: 0; } 4%, 33% { opacity: 1; } 37%, 100% { opacity: 0; } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 8deg)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .studio .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; }
  .games { grid-template-columns: 1fr 1fr; }
  .card.featured .card-body { grid-template-columns: 1fr; }
  .card.more { grid-column: 1 / -1; }
  .studio .wrap { gap: 44px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav.wrap { height: 64px; }
  .nav-links a:not(.btn) { display: none; }
  .logo svg { width: 36px; height: 36px; }
  .wordmark { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 72px 0; }
  .games, .tiles { grid-template-columns: 1fr; }
  .tile:nth-child(even) { transform: rotate(1.2deg); }
  .btn { padding: 14px 20px; }
  .cta .btn { flex: 1 1 auto; }
  .pixel-bus { display: none; }
  .contact-panel::before { width: 140px; height: 140px; right: -60px; top: -80px; }
  .contact-panel::after { display: none; }
  .card.featured .card-body { padding: 22px 22px 20px; }
  .doc-hero { padding: 40px 0 32px; }
  .doc-section { padding: 36px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
