/* shared/css/style.css
   Base styles for the landing page and, optionally, individual games.
   Games are self-contained and don't have to use this — but if a game
   wants the same look, link to it with a relative path, e.g.:
     <link rel="stylesheet" href="../../shared/css/style.css">
*/

:root {
  --bg: #0f1115;
  --fg: #e8e8ea;
  --accent: #5ad1e6;
  --muted: #8a8f98;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-size: 2.25rem;
  letter-spacing: 0.02em;
}

.tagline {
  color: var(--muted);
  margin-top: 0.5rem;
}

main {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  width: 100%;
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.game-list li a {
  display: block;
  padding: 1rem 1.25rem;
  background: #171a21;
  border: 1px solid #262a33;
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.game-list li a:hover {
  border-color: var(--accent);
}

.empty-state {
  color: var(--muted);
  padding: 1rem 1.25rem;
  font-style: italic;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.5rem;
}
