:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #1c1928;
  --muted: #5c5665;
  --line: #dcd6ce;
  --accent: #5037b1;
  --purple: #5d40ca;
  --lime: #e8fb91;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 12px; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid var(--line); }
.brand, .top-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.brand-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--lime); font-size: 17px; }
.top-link { color: var(--muted); padding: 10px 0 10px 10px; }
.top-link:hover, .footer a:hover { color: var(--accent); }
.hero { min-height: 494px; display: grid; grid-template-columns: 1fr 1.24fr; align-items: center; gap: 44px; padding-block: 44px 52px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .11em; }
.eyebrow span { width: 22px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(66px, 8vw, 116px); font-weight: 900; line-height: .99; letter-spacing: -.085em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 em span { color: var(--ink); margin-inline-start: .075em; }
.hero-summary { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 28em; margin-top: 25px; }
.hero-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--lime); color: #25291a; border: 1px solid #b8c66f; border-radius: 100px; padding: 12px 17px 12px 21px; margin-top: 22px; font-size: 14px; font-weight: 800; }
.hero-button span { font-size: 18px; line-height: 1; }
.hero-button:hover { background: #d9f268; }
.hero-art { aspect-ratio: 1.46; position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: radial-gradient(ellipse at 56% 50%, #7353cf 0, #4b318f 35%, #2b1c56 69%, #211639 100%); }
.art-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(#bba4fa5e 1px, transparent 1px), linear-gradient(90deg, #bba4fa5e 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 90%); }
.orbit { position: absolute; border: 1px solid #ab95df8a; border-radius: 50%; inset: 15% 11%; transform: rotate(-24deg); }
.orbit-inner { inset: 23% 15%; transform: rotate(22deg); border-color: #ab95df60; }
.tile { position: absolute; display: grid; place-items: center; border: 2px solid #fff8; box-shadow: 0 16px 35px #180d3b63, inset 0 1px 0 #fff9; }
.tile img { width: 78%; height: 80%; object-fit: contain; filter: drop-shadow(0 6px 7px #3b21542d); }
.tile-left { left: 9%; top: 30%; width: 31%; height: 54%; border-radius: 22%; transform: rotate(-16deg); background: linear-gradient(145deg, #d4e3ff, #ac9ee1); }
.tile-right { right: 8%; top: 19%; width: 32%; height: 53%; border-radius: 22%; transform: rotate(15deg); background: linear-gradient(145deg, #dcc5ff, #a980e2); }
.tile-right img { width: 87%; }
.tile-middle { top: 16%; left: 31%; width: 39%; height: 68%; border-radius: 19%; transform: rotate(-6deg); background: linear-gradient(145deg, #f4ffda, #d9f57b 58%, #b9d968); }
.tile-middle img { width: 82%; height: 85%; }
.spark { position: absolute; color: var(--lime); line-height: 1; text-shadow: 0 0 14px #e8fb915c; }
.spark-one { top: 10%; left: 13%; font-size: clamp(20px, 4vw, 48px); }
.spark-two { right: 12%; bottom: 10%; font-size: clamp(22px, 4vw, 48px); }
.spark-three { right: 28%; top: 9%; font-size: 20px; }
.catalog { scroll-margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.catalog-heading { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; margin-bottom: 21px; }
.catalog-heading h2, .contribution h2 { font-size: clamp(27px, 4vw, 42px); font-weight: 900; letter-spacing: -.04em; }
.catalog-count { font-size: 13px; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.game-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.card { min-width: 0; }
.game-link { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 19px; overflow: hidden; background: #fffdf8; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.game-link:hover { transform: translateY(-5px); border-color: #afa1cc; box-shadow: 0 14px 30px #36245d13; }
.card-art { height: clamp(140px, 17vw, 211px); flex: none; overflow: hidden; isolation: isolate; position: relative; display: grid; place-items: center; }
.card-art::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 75%; aspect-ratio: 1; border: 1px solid var(--ring); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 21px var(--ring-soft), 0 0 0 44px var(--ring-soft); }
.card-art img { height: calc(100% - 28px); width: 70%; object-fit: contain; filter: drop-shadow(0 7px 10px #32234d2c); }
.card-art > span { position: absolute; right: 14%; top: 17%; color: #2114399c; font-size: 24px; }
.art-chimera { background: #f4cad7; --ring: #fff8ffac; --ring-soft: #fff8ff25; }
.art-balloon { background: #cebbf5; --ring: #fbf1ffbd; --ring-soft: #fbf1ff22; }
.art-meme { background: #f4dfa2; --ring: #fffae5ca; --ring-soft: #fffae56e; }
.art-blade { background: #cda784; }
.art-blade img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; filter: none; }
.card-content { padding: 16px 19px 15px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 800; }
.card-meta span + span { color: var(--muted); white-space: nowrap; }
.card-content h3 { margin-top: 10px; font-size: clamp(19px, 2.05vw, 27px); font-weight: 900; letter-spacing: -.045em; }
.card-content > p:not(.card-meta):not(.original-credit) { color: var(--muted); line-height: 1.75; font-size: 14px; padding-block: 7px 16px; flex: 1; }
.original-credit { font-size: 11px; color: var(--muted); margin: -5px 0 13px; line-height: 1.5; }
.card-action { border-top: 1px solid var(--line); padding-top: 11px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; }
.card-action > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 17px; background: #eeebf8; color: var(--accent); }
.game-link:hover .card-action > span { background: var(--accent); color: white; }
.contribution { margin-top: 49px; padding-block: 28px 38px; border-top: 1px solid var(--line); }
.role-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.role-grid > div { border-left: 2px solid #bfb0ed; padding-left: 14px; }
.role-grid h3 { font-size: 17px; margin-bottom: 7px; }
.role-grid p { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 28em; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-block: 18px 26px; font-size: 13px; color: var(--muted); }
@media(max-width: 920px) {
  .shell { width: calc(100% - 56px); }
  .hero { min-height: 0; gap: 32px; }
  .hero h1 { font-size: clamp(58px, 8.5vw, 90px); }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .card-content { padding-inline: 13px; }
}
@media(max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .top { min-height: 62px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 27px 27px; }
  .hero h1 { font-size: clamp(46px, 11.8vw, 76px); letter-spacing: -.08em; }
  .hero h1 br { display: none; }
  .hero-summary { margin-top: 14px; font-size: 14px; }
  .hero-button { margin-top: 17px; }
  .hero-art { border-radius: 18px; }
  .eyebrow { margin-bottom: 12px; font-size: 12px; }
  .catalog-heading { margin-bottom: 15px; }
  .game-grid, .role-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-art { height: clamp(150px, 48vw, 230px); }
  .card-content { padding: 14px 16px; }
  .card-content h3 { font-size: 24px; }
  .contribution { margin-top: 31px; padding-bottom: 27px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .game-link { transition: none; }
}
