/* ================================================================
   Electric Raven Games – eraven.uk
   One small page. Colours are tokens; the palette comes from the
   raven (ink, deep blue, electric blue, talon orange).
   ================================================================ */

:root {
  color-scheme: light;
  --ink:        #1e1e1e;
  --ink-soft:   #55585c;
  --paper:      #f6f4ef;
  --card:       #ffffff;
  --line:       #dedad1;
  --raven-blue: #003776;
  --electric:   #00aeef;
  --talon:      #f15a29;
  --bullets:    #c2410c;
  --apostle:    #b85c0f;
  --radius:     14px;
  --page-w:     560px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--raven-blue); }

.er-page { max-width: var(--page-w); margin: 0 auto; padding: 48px 20px 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

/* Hero */
.er-hero { text-align: center; margin-bottom: 36px; }
.er-raven { display: block; width: 96px; height: auto; margin: 0 auto 22px; }
.er-title { margin: 0 0 12px; font-size: clamp(28px, 8vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.er-lead { margin: 0 auto; max-width: 30em; font-size: 17px; color: var(--ink-soft); }

/* Games */
.er-games { display: grid; gap: 16px; }
.er-game { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--ink); border-radius: var(--radius); padding: 26px 22px 22px; text-align: center; }
.er-game.is-bullets { border-top-color: var(--bullets); }
.er-game.is-apostle { border-top-color: var(--apostle); }
.er-game-logo { display: block; margin: 0 auto 16px; width: auto; }
.is-bullets .er-game-logo { height: 44px; }
.is-apostle .er-game-logo { height: 120px; }
.er-game-line { margin: 0 0 20px; font-size: 17px; font-weight: 600; }

/* Buttons */
.er-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.er-actions.is-centred { margin-top: 8px; }
.er-btn {
  display: inline-block; min-width: 150px; padding: 13px 22px; border-radius: 999px;
  background: var(--ink); border: 2px solid var(--ink); color: var(--card);
  font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.er-btn:hover, .er-btn:focus-visible { background: var(--raven-blue); border-color: var(--raven-blue); }
.er-btn.is-quiet { background: transparent; color: var(--ink); }
.er-btn.is-quiet:hover, .er-btn.is-quiet:focus-visible { background: var(--ink); color: var(--card); border-color: var(--ink); }
.er-btn:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; }

/* Footer */
.er-footer { margin-top: 44px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.er-footer p { margin: 0 0 6px; }
.er-footnote { font-size: 13px; }

@media (min-width: 600px) {
  .er-page { padding-top: 72px; }
  .er-raven { width: 120px; }
}
