:root {
  --bg: #1e3a8a;
  --bg2: #1d4ed8;
  --panel: rgba(255, 255, 255, 0.1);
  --panel-hover: rgba(255, 255, 255, 0.18);
  --text: #fff;
  --muted: #bfdbfe;
  --accent: #facc15;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(circle at top, var(--bg2), var(--bg)) fixed;
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main { max-width: 980px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 2.4rem; margin: 24px 0 4px; text-align: center; }
.tagline { text-align: center; color: var(--muted); margin: 0 0 28px; }
a { color: var(--accent); }
ul.games { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
ul.games li { display: flex; }
ul.games a.game { flex: 1; }
a.game {
  display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px;
  background: var(--panel); color: var(--text); text-decoration: none; border: 3px solid transparent;
  transition: background 0.15s, transform 0.15s;
}
a.game:hover, a.game:focus-visible { background: var(--panel-hover); border-color: var(--accent); transform: translateY(-2px); outline: none; }
.game .icon { font-size: 2.8rem; line-height: 1; flex: none; }
.game .text { display: flex; flex-direction: column; gap: 2px; }
.game .name { font-size: 1.3rem; font-weight: 800; }
.game .desc { color: var(--muted); }
footer { position: fixed; bottom: 4px; left: 8px; font-size: 0.75rem; color: var(--muted); opacity: 0.7; }
footer a { color: inherit; }
.version { position: fixed; bottom: 4px; right: 8px; font-size: 0.75rem; color: var(--muted); opacity: 0.7; pointer-events: none; }
