:root {
  color-scheme: dark;
  --bg: #111216;
  --surface: #191b21;
  --raised: #202229;
  --line: #30323b;
  --text: #f6f6f3;
  --muted: #aaaab6;
  --accent: #d4fa62;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%);
}
.skip:focus { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .75rem; background: var(--accent); color: #111; }
.shell { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: #16171c; border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: 2.75rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 1.375rem; font-weight: 850; letter-spacing: -.06em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 9px; border-radius: 8px; background: var(--accent); color: #171a0c; font-size: 1.55rem; line-height: 1; }
.brand-domain { color: var(--accent); }
.nav-link { font-size: .9375rem; color: var(--muted); }
.nav-link:hover, .console-actions button:hover:not(:disabled) { color: var(--text); }
.search { display: flex; align-items: center; gap: .75rem; width: min(290px, 40%); margin-left: auto; padding-inline: .9rem; border: 1px solid var(--line); border-radius: 7px; background: #202128; }
.search:focus-within { border-color: var(--accent); }
.search-icon { width: 13px; height: 13px; flex: 0 0 13px; border: 1.5px solid var(--muted); border-radius: 50%; position: relative; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: var(--muted); transform: rotate(45deg); top: 10px; left: 8px; }
.search input { width: 100%; min-width: 0; height: 40px; color: var(--text); background: transparent; border: 0; outline: 0; font-size: .9375rem; }
.search input::placeholder { color: var(--muted); }
.spotlight { padding-top: 32px; scroll-margin-top: 20px; }
.section-label { margin-bottom: 13px; color: var(--muted); font-size: .8125rem; font-weight: 750; letter-spacing: .095em; text-transform: uppercase; }
.section-label span { color: var(--accent); margin-right: .35rem; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 2.28fr) minmax(255px, 1fr); align-items: stretch; gap: 18px; }
.console, .game-info { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.console { overflow: hidden; }
.stage { position: relative; aspect-ratio: 2.02; min-height: 232px; isolation: isolate; overflow: hidden; background: #0a0b0f; }
.stage:fullscreen { width: 100%; height: 100%; }
.poster, .stage-message, .movie { position: absolute; inset: 0; }
.poster { display: grid; grid-template-rows: auto auto; gap: 18px; justify-items: center; align-content: center; }
.poster-bg { position: absolute; inset: -13%; z-index: -2; width: 126%; height: 126%; object-fit: cover; filter: blur(25px) saturate(.83) brightness(.54); }
.poster::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse, transparent 12%, #10111990 72%), linear-gradient(transparent, #111218b0); }
.poster-cover { width: clamp(155px, 35%, 250px); height: auto; aspect-ratio: 1.62; object-fit: cover; border-radius: 9px; box-shadow: 0 8px 40px #0a0b11b0; border: 1px solid #ffffff34; }
.play-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 47px; padding: .65rem 1.45rem; border: 0; border-radius: 7px; background: var(--accent); color: #171c0a; font-size: 1rem; font-weight: 800; }
.play-button:hover { background: #e6ff9e; }
.triangle { display: inline-block; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.movie { display: grid; place-items: center; }
.movie iframe { display: block; width: min(100%, calc(100cqh * var(--ratio, 1.3333))); height: auto; max-height: 100%; aspect-ratio: var(--ratio, 1.3333); border: 0; }
.movie { container-type: size; }
.stage-message { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1rem; text-align: center; background: #101116; }
.console-bar { display: flex; min-height: 49px; align-items: center; justify-content: space-between; padding-inline: 1rem; gap: .65rem; }
.console-label { display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.console-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.console-actions { display: flex; align-items: center; gap: 1.15rem; }
.console-actions button { color: var(--muted); border: 0; background: transparent; padding: .45rem 0; font-size: .875rem; white-space: nowrap; }
.fullscreen-icon { margin-right: .2rem; font-size: 1.1em; }
.game-info { display: flex; flex-direction: column; align-items: start; padding: clamp(21px, 2.3vw, 34px); }
.game-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.game-meta span { padding: .32rem .55rem; border-radius: 5px; color: var(--muted); background: #272933; font-size: .8125rem; font-weight: 700; }
.game-meta span:first-child { color: var(--accent); background: #303820; }
h1, h2, p { margin: 0; }
.game-info h1 { margin-top: 15px; font-size: clamp(2rem, 3.3vw, 3.125rem); line-height: 1.04; letter-spacing: -.065em; overflow-wrap: anywhere; }
.game-description, .game-instructions p { margin-top: 12px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.game-instructions { width: 100%; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.game-instructions h2 { font-size: .9375rem; }
.game-instructions p { margin-top: 5px; font-size: .9375rem; }
.game-credit { margin-top: auto; padding-top: 18px; color: var(--muted); font-size: .875rem; }
.library { margin-block: 42px 64px; scroll-margin-top: 20px; }
.library-heading { display: flex; align-items: baseline; gap: 1rem; justify-content: space-between; margin-bottom: 16px; }
.library-heading h2 { font-size: clamp(1.65rem, 2.5vw, 2.2rem); letter-spacing: -.045em; }
.library-heading p { color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: .52rem; margin-bottom: 18px; }
.filters button, .more { border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface); padding: .52rem .85rem; font-size: .875rem; font-weight: 650; }
.filters button:hover, .more:hover { border-color: #81816e; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #1a1e11; }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.game-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.game-card:hover, .game-card[aria-current="true"] { border-color: var(--accent); }
.game-card img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; background: #252735; }
.card-info { display: grid; gap: .25rem; padding: .72rem .75rem; }
.card-title { font-size: .9375rem; font-weight: 750; overflow-wrap: anywhere; }
.card-genre { color: var(--muted); font-size: .8125rem; }
.empty { padding: 1.4rem; border: 1px dashed var(--line); border-radius: 9px; color: var(--muted); }
.more { display: block; margin: 22px auto 0; padding: .65rem 1rem; }
.site-footer { border-top: 1px solid var(--line); background: #16171c; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 80px; padding-block: 1rem; color: var(--muted); font-size: .875rem; }
.footer-inner .brand { color: var(--text); font-size: 1.125rem; }
.footer-inner .brand-mark { width: 25px; height: 25px; font-size: 1.2rem; border-radius: 5px; }
@media (max-width: 1060px) {
  .shell { width: calc(100% - 48px); }
  .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stage { aspect-ratio: 1.65; }
}
@media (max-width: 780px) {
  .topbar { gap: 1.25rem; }
  .spotlight-grid { grid-template-columns: 1fr; gap: 12px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage { aspect-ratio: 1.6; }
  .game-instructions { margin-top: 15px; padding-top: 12px; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 28px); }
  .topbar { flex-wrap: wrap; gap: .65rem 1rem; padding-block: .75rem; }
  .nav-link { margin-left: auto; }
  .search { width: 100%; margin: 0; }
  .spotlight { padding-top: 22px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .library { margin-top: 29px; }
  .footer-inner { flex-wrap: wrap; }
}