:root {
  --bg: #121316; --surface: #1b1d21; --surface-2: #24272c; --line: #2f3238;
  --text: #ececef; --muted: #9a9ca5;
  --yellow: #ffd23f; --pink: #ff8fa3; --blue: #4fb3ff; --green: #2ecc71;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }

.hero { text-align: center; padding: 56px 16px 40px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255,143,163,.10), transparent 70%); }
.logo { width: min(400px, 80vw); height: auto; display: block; margin: 0 auto; }
.tagline { color: var(--muted); font-size: 18px; margin: 18px 0 0; letter-spacing: .01em; }

main { max-width: 1100px; margin: 0 auto; padding: 40px 16px 64px; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; font-weight: 650; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 5px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { --accent: var(--blue); display: flex; flex-direction: column; background: var(--surface); color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: #4a4e57; }
a.card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.art { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.initial { font-size: 72px; font-weight: 700; color: var(--accent); opacity: .9; }
.badge { position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(18,19,22,.82); color: var(--text); backdrop-filter: blur(4px); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.badge.playable::before { background: var(--green); }
.badge.prototype::before { background: var(--yellow); }
.badge.coming-soon::before { background: var(--muted); }
.body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.body h3 { font-size: 19px; font-weight: 650; }
.body p { margin: 0; color: var(--muted); font-size: 15px; }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags:empty { display: none; }
.tags li { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 1px 9px; border-radius: 999px; }
.play { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.card.disabled .play { color: var(--muted); }

footer { text-align: center; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
