/* Site footer, shared by the homepage and the game pages (markup lives in scripts/build-pages.mjs).
   Link columns sit in a wrapping grid: Product (Contact under it), Games, Compare, Guides, Lists. */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #8A90A8;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-brand { flex: 1 1 220px; max-width: 280px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 17px 'Blinker', sans-serif; }
.footer-logo img { width: 30px; height: 30px; }
.footer-logo b { color: #FFCD1B; }
.footer-brand p { margin: 14px 0 0; }
.footer-cols { flex: 3 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 32px 24px; }
.footer-cols ul + h2 { margin-top: 28px; }
.footer-cols h2 { margin: 0 0 14px; font: 700 11px/1 'Chakra Petch', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #EAEDF5; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-cols a, .footer-bar a { color: #8A90A8; text-decoration: none; transition: color 0.15s; }
.footer-cols a:hover, .footer-bar a:hover { color: #EAEDF5; }
.footer-cols a:focus-visible, .footer-bar a:focus-visible, .footer-logo:focus-visible { outline: 2px solid #FFCD1B; outline-offset: 3px; border-radius: 3px; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 13px; }
.footer-bar span { margin-right: auto; }
@media (max-width: 640px) {
  .site-footer { padding-top: 44px; }
  .footer-brand { max-width: none; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
