:root {
  --bg: #0f1630;
  --bg-2: #151e40;
  --card: #1d2a55;
  --line: #34457f;
  --orange: #ff6b35;
  --teal: #2dd4bf;
  --sun: #ffd23f;
  --violet: #8b5cf6;
  --pink: #ff5ca8;
  --text: #f5f7ff;
  --muted: #bac4e8;
  --ink: #07040a;
  --ease: 560ms cubic-bezier(0.22, 1.25, 0.36, 1);
  --tint: 220ms ease;
  --gap: 18px;
  --accent: var(--orange);
  --glow: rgba(255, 107, 53, 0.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 92px;
  overflow-x: clip;
  color: var(--text);
  font-family: Figtree, Manrope, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
  background: linear-gradient(180deg, #0f1630 0%, #1a1f4d 100%);
  background-attachment: fixed;
}
body:has(#cookie:not([hidden])) { padding-bottom: 120px; }
main { flex: 1 0 auto; width: 100%; }

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sky-pattern {
  position: absolute;
  inset: 0;
  opacity: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><g fill='none' stroke='%23F5F7FF' stroke-width='1.2' opacity='0.06'><circle cx='22' cy='28' r='6'/><path d='M74 18v16M66 26h16'/><path d='M118 24l8 10-8 10-8-10z'/></g></svg>");
}
.blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  animation: drift 22s ease-in-out infinite;
}
.blob-a { top: -80px; left: -60px; background: #ff6b35; }
.blob-b { top: 30%; right: -100px; background: #2dd4bf; animation-duration: 26s; }
.blob-c { bottom: -120px; left: 20%; background: #8b5cf6; opacity: 0.16; animation-duration: 30s; }
.shape {
  position: absolute;
  color: #f5f7ff;
  opacity: 0.55;
  animation: sway 7s ease-in-out infinite;
}
.shape-star { top: 18%; left: 28px; }
.shape-gem { top: 46%; right: 26px; animation-delay: -2s; }
.shape-dot { bottom: 18%; left: 36px; color: var(--sun); animation-delay: -3s; }
.shape-joy { bottom: 34%; right: 34px; color: var(--teal); animation-delay: -1s; }

body > :not(.sky) { position: relative; z-index: 1; }
body > header.floatbar {
  position: fixed;
  top: 4px;
  z-index: 40;
}

img { max-width: 100%; display: block; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
a { color: var(--sun); text-underline-offset: 3px; transition: color var(--tint); cursor: pointer; }
a:hover { color: var(--text); }
button, .btn, .nav a, .round { cursor: pointer; }

h1, h2, h3, .logo, .contact-mail {
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 14px;
}
h1 { font-size: 46px; }
h2 { font-size: 38px; }
h3 { font-size: 22px; margin-bottom: 8px; }
.grad {
  background: linear-gradient(90deg, #ff6b35, #ffd23f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker, .meta, figcaption, .score, .badge {
  font-family: Figtree, Manrope, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #2dd4bf;
  font-family: Figtree, Manrope, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: 0 0 auto;
  background: #2dd4bf;
}
.meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  background: #0f1630;
  color: var(--text);
}
.meta::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1020' stroke-width='2'><path d='M8 14v4M16 14v4M7 14h10a4 4 0 0 0 4-4V8H3v2a4 4 0 0 0 4 4zM9 8V5M15 8V5'/></svg>") center / 14px no-repeat;
}
.score { margin: 0 0 8px; }
.score b {
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--sun);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.45);
  animation: blink 1.8s ease-in-out infinite;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 40;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  background: var(--sun);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 14px;
  text-decoration: none;
}
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.wrap { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
body.wide .wrap { width: min(1320px, calc(100% - 56px)); }
.prose { max-width: 68ch; margin-inline: auto; }
body.wide .prose,
body.wide .essay,
body.wide .doc { max-width: none; }
body.wide .sheet { width: 100%; max-width: none; }
body.wide .prose > p,
body.wide .doc > p,
body.wide .essay > div > p {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}
main ul:not(.marks),
main ol,
.prose ul:not(.marks),
.prose ol,
.doc ul:not(.marks),
.doc ol {
  width: min(760px, 100%);
  margin: 0 auto 18px;
  padding: 0;
  list-style: none;
  text-align: center;
}
main ul:not(.marks) li,
main ol li,
.prose ul:not(.marks) li,
.doc ul:not(.marks) li,
.prose ol li,
.doc ol li {
  margin: 0 0 10px;
  line-height: 1.55;
  color: #bac4e8;
  text-align: center;
  list-style: none;
}
main ul:not(.marks) li::before,
.prose ul:not(.marks) li::before,
.doc ul:not(.marks) li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: #2dd4bf;
  transform: rotate(45deg);
  vertical-align: 1px;
  transition: box-shadow 220ms ease, background 220ms ease;
}
main ul:not(.marks) li:hover::before,
.prose ul:not(.marks) li:hover::before,
.doc ul:not(.marks) li:hover::before {
  background: #fff;
  box-shadow: 0 0 8px #2dd4bf;
}
main ol,
.prose ol,
.doc ol { counter-reset: step; }
main ol li,
.prose ol li,
.doc ol li { counter-increment: step; }
main ol li::before,
.prose ol li::before,
.doc ol li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff6b35;
  color: #07040a;
  font-family: Figtree, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}
.sheet {
  width: min(680px, 100%);
  margin: 8px auto 20px;
  border-collapse: collapse;
  text-align: left;
}
.sheet th, .sheet td {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 10px 12px;
  vertical-align: top;
}
.sheet th {
  color: var(--sun);
  font-weight: 700;
  width: 34%;
}

main > section {
  position: relative;
  padding: 8px 0;
  margin: 0;
  background: var(--bg);
}
main > section:nth-child(even) { background: var(--bg-2); }
main > section + section { margin-top: 60px; }
main > section:nth-child(even) { padding: 28px 0; }

.floatbar {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 54px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 0 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 22, 48, 0.78);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition: gap 560ms cubic-bezier(0.22, 1, 0.36, 1), padding 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.floatbar::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b35, #2dd4bf, #8b5cf6);
}
.logo {
  margin: 0;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  white-space: nowrap;
}
.logo em { font-style: normal; color: var(--orange); }
.logo:hover { color: var(--text); }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 720px;
  opacity: 1;
  overflow: visible;
  transition: max-width 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  transition: transform var(--tint), background var(--tint), color var(--tint);
}
.nav a:hover { color: var(--text); transform: translateY(-2px); }
.nav a[aria-current="page"] {
  background: linear-gradient(90deg, #ff6b35, #ffb830);
  color: var(--ink);
}
.nav a[aria-current="page"]:hover { color: var(--ink); }
.round {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid var(--teal);
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  transition: background var(--tint), color var(--tint), transform var(--tint);
}
.round:hover { color: var(--ink); background: var(--teal); transform: translateY(-2px); }
.burger {
  display: none;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}
.floatbar.is-compact { gap: 10px; }
.floatbar.is-compact .nav { max-width: 0; opacity: 0; overflow: hidden; pointer-events: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff6b35, #ffb830);
  color: var(--ink);
  font-family: Figtree, Manrope, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 0 #c2410c;
  transition: transform var(--tint), box-shadow var(--tint), background var(--tint), color var(--tint);
}
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 0 #c2410c; }
.btn:active { color: var(--ink); transform: translateY(3px); box-shadow: 0 1px 0 #c2410c; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--teal);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--teal); color: var(--ink); box-shadow: none; transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); margin-top: 20px; }

.shot, .figure img, .feature img, .game img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}
.game img, .feature img {
  max-height: 148px;
  margin: 8px auto 14px;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent), #ffd23f 42%, #2dd4bf 78%, #8b5cf6);
  transition: transform 240ms ease;
}
.game:hover img, .feature:hover img { transform: scale(1.05); }
.figure { margin: 22px auto 0; }
.figure img {
  width: min(100%, 860px);
  max-height: none;
  margin-inline: auto;
  border-radius: 18px;
  box-shadow: 0 0 0 3px #34457f;
}
.figure figcaption { margin-top: 8px; }
.contact-mail { margin: 26px 0 10px; font-size: 32px; }
.contact-mail a { color: var(--orange); text-decoration: none; }
.address { color: var(--muted); }

.feature-list, .stack, .shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 22px;
  align-items: stretch;
}
.genre-board { text-align: left; }
.genre-board .kicker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #2dd4bf;
}
.genre-board .kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #2dd4bf;
}
.genre-board h2 {
  max-width: none;
  margin-right: 0;
  font-size: 38px;
  text-align: left;
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.genre-board h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b35, #ffd23f);
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}
.genre-card {
  --tone: #ff6b35;
  --glow: rgba(255, 107, 53, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  background: #1d2a55;
  border: 1px solid #34457f;
  border-radius: 18px;
  padding: 22px;
  text-align: left;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.genre-card.tone-teal { --tone: #2dd4bf; --glow: rgba(45, 212, 191, 0.25); }
.genre-card.tone-violet { --tone: #a78bfa; --glow: rgba(167, 139, 250, 0.25); }
.genre-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tone);
}
.genre-card:hover {
  transform: translateY(-4px);
  border-color: var(--tone);
  box-shadow: 0 12px 30px var(--glow);
}
.genre-card ul.marks { flex: 1 1 auto; }
.genre-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 14px;
  font-size: 20px;
  text-align: left;
}
.genre-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--tone);
  border-radius: 2px;
}
.tone-teal h3::before { border-radius: 50%; }
.tone-violet h3::before { transform: rotate(45deg); border-radius: 1px; }
ul.marks {
  list-style: none !important;
  margin: 0;
  padding: 0 !important;
  width: 100%;
  max-width: none;
  text-align: left;
}
ul.marks li {
  list-style: none !important;
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: #bac4e8;
  font-family: Figtree, Manrope, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  transition: transform 220ms ease;
}
ul.marks li::marker { content: none; }
ul.marks li:last-child { margin-bottom: 0; }
ul.marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--tone);
  border-radius: 2px;
  transition: box-shadow 220ms ease, background 220ms ease;
}
.tone-violet ul.marks li::before { transform: rotate(45deg); border-radius: 1px; }
ul.marks li:hover { transform: translateX(4px); }
ul.marks li:hover::before { box-shadow: 0 0 10px var(--tone); background: #fff; }
ul.marks strong {
  color: #ffffff;
  font-weight: 700;
  font-family: Figtree, Manrope, sans-serif;
}
.inset {
  width: min(760px, 100%);
  margin: 22px auto 0;
  padding: 20px 24px;
  background: #151e40;
  border-radius: 14px;
  border-left: 4px solid #ffd23f;
  text-align: left;
  line-height: 1.7;
}
.inset p { margin: 0; line-height: 1.7; }
.inset a {
  color: #ffd23f;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.inset a:hover {
  background: #ffd23f;
  color: #07040a;
  text-decoration: none;
}

.shelf { margin-top: 0; gap: 12px; }
.shelf .game { padding: 10px 10px 12px; }
.shelf .game img { max-height: 72px; margin: 2px auto 8px; padding: 3px; }
.shelf .game h2 { font-size: 18px; margin-bottom: 4px; }
.shelf .game .meta { margin-bottom: 4px; }
.shelf .game .score { margin-bottom: 4px; }
.shelf .game .score b { font-size: 16px; }
.shelf .game .meter { margin-bottom: 6px; height: 4px; }
.shelf .game p { font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.shelf .game > div > p:nth-of-type(n+4) { display: none; }
.feature, .game, .stack article {
  display: flex;
  flex-direction: column;
}
.feature > div, .game > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feature, .game, .stack article, .panel {
  --accent: #ff6b35;
  --glow: rgba(255, 107, 53, 0.34);
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 14px 18px;
  overflow: hidden;
  transition: transform var(--tint), box-shadow var(--tint), border-color var(--tint);
}
.feature:nth-child(4n+2), .game:nth-child(4n+2), .stack article:nth-child(4n+2) { --accent: #2dd4bf; --glow: rgba(45, 212, 191, 0.32); }
.feature:nth-child(4n+3), .game:nth-child(4n+3), .stack article:nth-child(4n+3) { --accent: #ffd23f; --glow: rgba(255, 210, 63, 0.3); }
.feature:nth-child(4n+4), .game:nth-child(4n+4), .stack article:nth-child(4n+4) { --accent: #8b5cf6; --glow: rgba(139, 92, 246, 0.34); }
.feature::before, .game::before, .stack article::before, .panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}
.feature::after, .game::after, .stack article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(225deg, var(--accent) 50%, transparent 50%);
}
.feature:hover, .game:hover, .stack article:hover, .panel:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 36px var(--glow);
}
.feature:nth-child(odd):hover, .game:nth-child(odd):hover, .stack article:nth-child(odd):hover { transform: translateY(-6px) rotate(-1.1deg); }
.feature:nth-child(even):hover, .game:nth-child(even):hover, .stack article:nth-child(even):hover { transform: translateY(-6px) rotate(1.1deg); }
.feature a.btn, .game a.btn, .stack a.btn { margin-top: auto; }
.game h2, .feature h3 { font-size: 22px; }
.badge {
  position: absolute;
  top: 14px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.badge-pop { background: #ff6b35; }
.badge-new { background: #ffd23f; }
.badge-live { background: #2dd4bf; }
.meter {
  height: 5px;
  width: min(160px, 70%);
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #0f1630;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffd23f);
}

.reveal { opacity: 0; }
.reveal.is-in { animation: pop var(--ease) both; }
.reveal.is-in.settled { animation: none; opacity: 1; }
.prose h1, .wrap h1 { animation: title-in 560ms cubic-bezier(0.22, 1.15, 0.36, 1) both; }

.site-foot {
  margin-top: auto;
  padding: 28px 16px 32px;
  text-align: center;
  background: var(--bg);
}
.mono {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pink);
  border-radius: 50%;
  color: var(--sun);
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(255, 92, 168, 0.15);
}
.foot-line { display: flex; flex-wrap: wrap; justify-content: center; }
.foot-line a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: color var(--tint);
}
.foot-line a + a::before { content: "·"; margin: 0 10px; color: var(--teal); }
.foot-line a:hover { color: var(--sun); }
.fine {
  margin: 14px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.fine a { color: var(--muted); }
code { font-family: Figtree, Manrope, sans-serif; color: var(--sun); }
.doc h2 { margin-top: 28px; }

body > .cookie,
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.cookie-inner {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}
.cookie p { flex: 1; }

@keyframes pop {
  0% { opacity: 0; transform: translateY(18px); }
  70% { opacity: 1; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes title-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(36px, 22px, 0); }
}
@keyframes sway {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.4); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(61, 220, 151, 0); }
}

@media (max-width: 1100px) {
  .shape { display: none; }
}
@media (max-width: 980px) {
  .feature-list, .stack, .shelf, .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .floatbar { gap: 8px; max-width: calc(100% - 16px); }
  .burger { display: inline-flex; }
  .nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    z-index: 35;
    max-width: none;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    overflow: visible;
    opacity: 1;
    background: rgba(15, 22, 48, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .floatbar.is-open .nav,
  .floatbar.is-compact.is-open .nav {
    display: flex;
    max-width: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 10px 12px; }
  .cookie-inner { flex-wrap: wrap; padding: 14px; }
}
@media (max-width: 680px) {
  .feature-list, .stack, .shelf, .genre-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-in, .prose h1, .wrap h1, .blob, .shape, .pulse {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .feature:hover, .game:hover, .stack article:hover, .panel:hover, .genre-card:hover, .marks li:hover,
  .game:hover img, .feature:hover img, .btn:hover, .nav a:hover, .round:hover {
    transform: none;
  }
}
