:root {
  --bg: #0f1012;
  --panel: #16171a;
  --panel2: #1c1d21;
  --line: #25262b;
  --text: #e8e5de;
  --dim: #6c6e76;
  --faint: #3b3d44;
  --accent: #f0b450;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text); font: 15px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}

.hero { max-width: 960px; width: 100%; margin: 0 auto; padding: 72px 24px 36px; }
.mark {
  width: 34px; height: 34px; border: 2px solid var(--accent); border-radius: 9px; position: relative; margin-bottom: 22px;
}
/* an arcade button */
.mark::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(240, 180, 80, .35); }
.hero h1 { font-family: var(--mono); font-weight: 500; font-size: 40px; letter-spacing: -.03em; margin: 0 0 6px; }
.hero p { color: var(--dim); margin: 0; }

.grid {
  max-width: 960px; width: 100%; margin: 0 auto; padding: 0 24px 60px; flex: 1;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-content: start;
}
.game {
  background: var(--panel); border: 1px solid transparent; border-radius: 14px; overflow: hidden;
  color: inherit; text-decoration: none; display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
a.game:hover { border-color: var(--faint); transform: translateY(-2px); }
a.game:hover .go { color: var(--accent); }
.game.soon { opacity: .5; }

.art { height: 150px; background: #121316; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.info h2 { font-size: 17px; font-weight: 600; margin: 0; }
.info p { margin: 0; color: var(--dim); font-size: 13.5px; flex: 1; }
.tag { font-family: var(--mono); font-size: 11px; color: var(--dim); border: 1px solid var(--line); border-radius: 20px; padding: 1px 8px; }
.go { font-size: 13px; color: var(--dim); margin-top: 6px; transition: color .15s; }

/* little keyboard illustration */
.keys { display: grid; grid-template-columns: repeat(7, 22px); gap: 5px; }
.keys i { height: 22px; border-radius: 5px; background: var(--panel2); box-shadow: inset 0 -2px 0 rgba(0,0,0,.35); position: relative; }
.keys i.hot { background: color-mix(in srgb, var(--accent) 30%, var(--panel2)); box-shadow: 0 0 0 1.5px var(--accent); }
.keys i.bump::after { content: ''; position: absolute; left: 7px; right: 7px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--faint); }
.keys i.wide { grid-column: span 2; }
.keys i.space { grid-column: span 3; }
a.game:hover .keys i.hot { animation: tap .5s ease infinite alternate; }
@keyframes tap { to { transform: translateY(1px); background: var(--accent); } }

/* crosshair placeholder */
.cross { width: 54px; height: 54px; border: 2px solid var(--faint); border-radius: 50%; position: relative; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--faint); }
.cross::before { left: 50%; top: -10px; bottom: -10px; width: 2px; margin-left: -1px; }
.cross::after { top: 50%; left: -10px; right: -10px; height: 2px; margin-top: -1px; }

.foot { text-align: center; color: var(--faint); font-size: 12px; padding: 0 24px 28px; }

@media (max-width: 600px) {
  .hero { padding: 48px 16px 28px; }
  .hero h1 { font-size: 32px; }
  .grid { padding: 0 16px 40px; }
}
