:root {
  --paper: oklch(94% 0.025 82);
  --paper-deep: oklch(89% 0.04 82);
  --ink: oklch(24% 0.035 38);
  --ink-soft: oklch(43% 0.03 50);
  --orange: oklch(64% 0.19 42);
  --orange-dark: oklch(49% 0.16 38);
  --yellow: oklch(86% 0.16 90);
  --green: oklch(53% 0.105 155);
  --blue: oklch(52% 0.11 235);
  --line: oklch(33% 0.035 42);
  --surface: oklch(97% 0.017 82);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: clamp(4rem, 8vw, 7rem);
  --content: 78rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --font-body: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink);
  background:
    linear-gradient(oklch(47% 0.02 80 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, oklch(47% 0.02 80 / 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 1.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.header-inner,
.hero-inner,
.section-shell,
.footer-inner {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 0.35rem;
  border: 2px solid var(--ink);
  background: var(--orange);
  transform: rotate(-3deg);
}

.brand-mark i {
  background: var(--paper);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-nav > a {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.primary-nav .nav-count {
  display: inline-flex;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.language-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: color 140ms, background 140ms, transform 140ms var(--ease-out);
}

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.hero-inner {
  display: grid;
  gap: var(--space-2xl);
  padding-block: clamp(3.25rem, 8vw, 6.5rem) clamp(3rem, 7vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow span {
  width: 2rem;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 9ch;
  margin: 0.75rem 0 1.25rem -0.05em;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 16vw, 7.6rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.93;
}

.hero h1 em {
  position: relative;
  color: var(--orange-dark);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0.05em;
  bottom: -0.06em;
  left: 0.03em;
  height: 0.1em;
  background: var(--yellow);
  box-shadow: 0 2px 0 var(--ink);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-lead {
  max-width: 35rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.hero-search {
  max-width: 38rem;
  margin-top: 2rem;
}

.hero-search > label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  font-weight: 800;
}

.search-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
}

.search-control svg,
.catalog-search svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.search-control svg {
  margin-left: 1rem;
}

.search-control input {
  min-width: 0;
  height: 3.5rem;
  border: 0;
  outline: 0;
  background: transparent;
  padding-inline: 0.75rem;
}

.search-control input::placeholder,
.catalog-search input::placeholder {
  color: oklch(48% 0.025 50);
  opacity: 1;
}

.search-control button {
  grid-column: 1 / -1;
  min-height: 3.25rem;
  border: 0;
  border-top: 2px solid var(--ink);
  color: var(--surface);
  background: var(--orange-dark);
  font-weight: 800;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out);
}

.search-control button:active,
.empty-state button:active {
  background: var(--ink);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.quick-links span {
  margin-right: 0.2rem;
}

.quick-links button {
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding-inline: 0.75rem;
  font-weight: 700;
  transition: color 140ms, background 140ms;
}

.quick-links button:active {
  color: var(--paper);
  background: var(--ink);
}

.hero-art {
  position: relative;
  width: min(100%, 29rem);
  min-height: 24rem;
  margin-inline: auto;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 1% 7% 7%;
  border: 2px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, oklch(61% 0.05 82 / 0.16) 12px 14px),
    var(--yellow);
  transform: rotate(2deg);
}

.cover {
  position: absolute;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-one {
  top: 0;
  right: 4%;
  width: 54%;
  aspect-ratio: 0.92;
  transform: rotate(4deg);
}

.cover-two {
  top: 24%;
  left: 0;
  width: 45%;
  aspect-ratio: 0.9;
  transform: rotate(-7deg);
}

.cover-three {
  right: 11%;
  bottom: 2%;
  width: 42%;
  aspect-ratio: 1;
  transform: rotate(2deg);
}

.issue-stamp {
  position: absolute;
  z-index: 3;
  top: -1rem;
  left: 2%;
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 0.85;
  text-align: center;
  transform: rotate(-9deg);
}

.issue-stamp small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.scribble {
  position: absolute;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.scribble-one {
  top: 4%;
  right: -1%;
  padding: 0.35rem 0.5rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  transform: rotate(8deg);
}

.scribble-two {
  bottom: 4%;
  left: 3%;
  color: var(--orange-dark);
  transform: rotate(-6deg);
}

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ticker div {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  justify-content: space-around;
  gap: 1.2rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker b {
  color: var(--orange);
}

.featured-section,
.library-section {
  padding-block: var(--space-3xl);
}

.featured-section {
  border-bottom: 2px solid var(--line);
  background: var(--surface);
}

.section-heading,
.library-intro {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.library-intro h2 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-heading > p,
.result-summary {
  max-width: 24rem;
  margin: 0;
  color: var(--ink-soft);
}

.featured-grid {
  display: grid;
  gap: 1rem;
}

.featured-card {
  position: relative;
  display: grid;
  min-height: 11rem;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.featured-card:first-child {
  background: var(--yellow);
}

.featured-card:nth-child(3n) {
  background: oklch(89% 0.055 153);
}

.featured-image {
  min-height: 100%;
  overflow: hidden;
  border-right: 2px solid var(--ink);
  background: var(--paper-deep);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.featured-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}

.game-tag {
  display: inline-flex;
  min-height: 1.6rem;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding-inline: 0.55rem;
  color: var(--orange-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.featured-content h3 {
  margin: 0.65rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.featured-content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.play-label {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 900;
}

.play-label::after {
  content: "↗";
  font-size: 1.1rem;
  transition: transform 180ms var(--ease-out);
}

.library-section {
  background: var(--paper);
}

.library-intro {
  align-items: end;
}

.result-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.catalog-toolbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  gap: 0.85rem;
  margin-inline: -1rem;
  padding: 0.75rem 1rem;
  border-block: 2px solid var(--ink);
  background: var(--paper);
}

.filter-scroller {
  display: flex;
  overflow-x: auto;
  gap: 0.4rem;
  padding: 0.1rem 0 0.3rem;
  scrollbar-width: none;
}

.filter-scroller::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 2.75rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding-inline: 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 140ms, background 140ms, border-color 140ms;
}

.filter-button span {
  margin-left: 0;
}

.filter-button [data-category-count] {
  margin-left: 0.2rem;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.filter-button.is-active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.catalog-search {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.catalog-search svg {
  flex: 0 0 auto;
  margin-left: 0.2rem;
}

.catalog-search input {
  width: 100%;
  height: 2.8rem;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding-inline: 0.65rem 2.5rem;
}

.catalog-search button {
  position: absolute;
  right: 0;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.5rem;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.game-card {
  container-type: inline-size;
  min-width: 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--surface);
}

.game-card-link {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0.75rem;
  transition: color 160ms, background 160ms;
}

.game-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.08;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out), filter 180ms;
}

.game-number {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  left: 0.45rem;
  display: grid;
  min-width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.65rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.device-badge {
  position: absolute;
  z-index: 2;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.25rem 0.45rem;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-size: 0.58rem;
  font-weight: 900;
}

.game-card-content {
  display: flex;
  min-height: 8.6rem;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.75rem;
}

.game-card-content h3 {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 5.2cqi, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-card-content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.69rem;
  font-weight: 900;
}

.card-cta span:last-child {
  font-size: 1rem;
  transition: transform 180ms var(--ease-out);
}

.empty-state {
  padding: 5rem 1rem;
  text-align: center;
}

.empty-state > span {
  font-family: var(--font-display);
  font-size: 2.5rem;
}

.empty-state h3 {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
}

.empty-state button {
  min-height: 3rem;
  margin-top: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  padding-inline: 1.25rem;
  font-weight: 800;
}

.site-footer {
  padding-block: 3rem max(3rem, env(safe-area-inset-bottom));
  border-top: 2px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  margin: 0 0 0.5rem;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
}

.footer-inner p:last-child {
  max-width: 32rem;
  margin: 0;
  color: oklch(82% 0.025 80);
}

.footer-inner a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

[lang="en"] .hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 13vw, 6.6rem);
  letter-spacing: -0.065em;
}

[lang="en"] .hero h1 em {
  white-space: normal;
}

[lang="en"] .brand-copy strong {
  letter-spacing: 0.02em;
}

@media (min-width: 36rem) {
  .search-control {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .search-control button {
    grid-column: auto;
    min-width: 7rem;
    height: 3.5rem;
    border-top: 0;
    border-left: 2px solid var(--ink);
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-card-link {
    padding: 0.9rem;
  }
}

@media (min-width: 48rem) {
  .header-inner,
  .hero-inner,
  .section-shell,
  .footer-inner {
    width: min(100% - 3rem, var(--content));
  }

  .site-header {
    position: sticky;
    top: 0;
    background: oklch(94% 0.025 82 / 0.97);
  }

  .primary-nav > a {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
    align-items: center;
  }

  .hero-art {
    min-height: 31rem;
  }

  .section-heading,
  .library-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .section-heading > p,
  .result-summary {
    padding-bottom: 0.35rem;
    text-align: right;
  }

  .catalog-toolbar {
    top: 4.75rem;
    grid-template-columns: minmax(0, 1fr) 14rem;
    margin-inline: 0;
    padding-inline: 0;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-inner a {
    justify-self: end;
  }
}

@media (min-width: 64rem) {
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 78rem) {
  .game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (hover: hover) and (pointer: fine) {
  .primary-nav a:not(.nav-count):hover {
    color: var(--orange-dark);
  }

  .nav-count:hover {
    box-shadow: 1px 1px 0 var(--ink);
    transform: translate(2px, 2px);
  }

  .language-toggle:hover {
    color: var(--paper);
    background: var(--ink);
    transform: rotate(-3deg);
  }

  .search-control button:hover {
    color: var(--ink);
    background: var(--yellow);
  }

  .quick-links button:hover,
  .filter-button:hover {
    color: var(--paper);
    background: var(--ink);
  }

  .featured-card:hover {
    z-index: 2;
    box-shadow: 6px 6px 0 var(--ink);
    transform: translate(-3px, -3px);
  }

  .featured-card:hover .featured-image img,
  .game-card-link:hover .game-card-media img {
    transform: scale(1.055);
  }

  .featured-card:hover .play-label::after,
  .game-card-link:hover .card-cta span:last-child {
    transform: translate(2px, -2px);
  }

  .game-card-link:hover {
    color: var(--paper);
    background: var(--orange-dark);
  }

  .game-card-link:hover .game-tag,
  .game-card-link:hover .game-card-content p {
    color: var(--paper);
  }
}

@media (pointer: coarse) {
  .filter-button,
  .quick-links button {
    min-height: 2.85rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: reveal-up 650ms var(--ease-out) both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .hero-copy > :nth-child(5) { animation-delay: 280ms; }

  .hero-art {
    animation: reveal-art 760ms 120ms var(--ease-out) both;
  }

  .game-card {
    animation: fade-in 350ms var(--ease-out) both;
    animation-delay: min(calc(var(--i, 0) * 25ms), 250ms);
  }

  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(1.2rem); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes reveal-art {
    from { opacity: 0; transform: rotate(2deg) scale(0.96); }
    to { opacity: 1; transform: rotate(0) scale(1); }
  }

  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
