:root {
  --bg: #FFFFFF;
  --card: #FFF6E8;
  --ink: #141414;
  --muted: #55524C;
  --red: #FF2626;
  --red-dark: #D91B1B;
  --orange: #FF8A2B;
  --yellow: #FFD23F;
  --border: 2px solid var(--ink);
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #1D4ED8;
  outline-offset: 3px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 2px solid #F0ECE6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  transition: transform 0.15s ease;
}

.brand:hover .brand-logo {
  transform: translateX(3px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 48px 0 72px;
}

.kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.intro h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.amp {
  color: var(--red);
}

.lead {
  margin: 0 0 28px;
  max-width: 39ch;
  font-size: 1.14rem;
  line-height: 1.55;
  color: var(--muted);
}

.speed-bars {
  display: flex;
  gap: 10px;
}

.speed-bars span {
  display: block;
  height: 10px;
  border-radius: 3px;
  border: var(--border);
  transform: skewX(-24deg);
}

.speed-bars span:nth-child(1) {
  width: 56px;
  background: var(--red);
}

.speed-bars span:nth-child(2) {
  width: 34px;
  background: var(--orange);
}

.speed-bars span:nth-child(3) {
  width: 18px;
  background: var(--yellow);
}

.game-card {
  position: relative;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 20px 20px 24px;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease;
  will-change: transform;
}

.game-card.is-popped {
  transform: scale(0.985) translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.badge {
  position: absolute;
  top: -13px;
  right: 18px;
  z-index: 2;
  padding: 6px 13px;
  background: var(--red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(4deg);
}

.art-frame {
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 1;
  border: var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #FF914D;
  cursor: pointer;
}

.game-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.art-frame:hover .game-art {
  transform: scale(1.035);
}

.card-body {
  padding: 18px 4px 0;
}

.card-body .meta {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-dark);
}

.card-body h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.card-body p {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: var(--red);
  color: #FFFFFF;
  border: var(--border);
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn-play:hover {
  background: var(--ink);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-play:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.prose-page {
  padding: 48px 0 88px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
}

.back-link:hover {
  color: var(--red);
}

.prose {
  max-width: 68ch;
}

.prose h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.updated {
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid #F0ECE6;
  color: var(--muted);
  font-size: 0.94rem;
}

.prose h2 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.prose p,
.prose li {
  margin: 0 0 14px;
  color: #2B2A26;
  font-size: 1rem;
  line-height: 1.68;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.prose a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.site-footer {
  border-top: 2px solid #F0ECE6;
  padding: 26px 0 38px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.footer-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  display: block;
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 0 56px;
  }

  .game-card {
    max-width: 440px;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }

  .brand-logo {
    height: 30px;
  }

  .nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .game-card {
    padding: 16px 16px 20px;
    border-radius: 22px;
  }

  .art-frame {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-logo,
  .nav a,
  .game-card,
  .game-art,
  .btn-play {
    transition: none;
  }
}
