/* ============================================================
   The arcade — the picker behind the Pokeball.
   Depends on css/styles.css for tokens.
   ============================================================ */

.arcade-main { padding-top: calc(var(--header-h) + 64px); padding-bottom: 100px; }
.arcade-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.arcade-head { margin-bottom: 34px; }
.arcade-head h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.08; letter-spacing: -.025em; margin-bottom: 14px;
}
.arcade-head p { color: var(--text-dim); font-size: 1rem; max-width: 58ch; }

.game-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; }

.game-tile {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.game-tile:hover, .game-tile:focus-visible {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 16px 40px -22px rgba(125,216,255,.55);
}
.game-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.game-tile canvas { display: block; width: 100%; aspect-ratio: 16/9;
  background: radial-gradient(120% 90% at 50% 0%, rgba(180,139,255,.07), transparent 62%), var(--bg-alt); }
.tile-body { padding: 18px 20px 22px; }
.tile-body .kind { font-family: var(--font-head); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.tile-body h2 { font-family: var(--font-head); font-size: 1.22rem; letter-spacing: -.015em; margin-bottom: 7px; }
.tile-body p { color: var(--text-faint); font-size: .88rem; line-height: 1.55; }

.arcade-note { margin-top: 30px; padding-left: 16px; border-left: 2px solid var(--border);
  color: var(--text-faint); font-size: .87rem; max-width: 62ch; }
