/* Footer styles scoped to .site-footer */
.site-footer {
  background: radial-gradient(1200px 400px at 10% 0%, rgba(125,92,255,0.06), transparent 60%), #0a0e14;
  color: #cfd3e6;
  border-top: 1px solid rgba(120,120,160,0.2);
}
.site-footer .footer-inner {
  padding: 2rem 1rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.footer-brand .brand-mark { color: #7d5cff; font-size: 1.1rem; }
.footer-brand .brand-text { font-family: 'VT323', monospace; font-size: 1.5rem; color: #e8e9ef; text-shadow: 0 0 6px rgba(125,92,255,0.35); }
.footer-tagline { margin-top: 0.6rem; max-width: 46ch; color: #b9bfd6; }

.social-links { display: flex; gap: 0.7rem; margin-top: 0.8rem; padding: 0; list-style: none; }
.social-links a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(30,36,48,0.6); color: #e6e8f2; border: 1px solid rgba(120,120,160,0.25); }
.social-links a:hover,
.social-links a:focus-visible { color: #fff; border-color: #7d5cff; box-shadow: 0 0 0 3px rgba(125,92,255,0.25); }

.footer-links .links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.2rem; list-style: none; margin: 0; padding: 0; }

@media (min-width: 640px) {
  .footer-links .links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .footer-top { grid-template-columns: 1.2fr 2fr; }
  .footer-links .links-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-links a { color: #cfd3e6; text-decoration: none; padding: 0.25rem 0; display: inline-block; }
.footer-links a:hover,
.footer-links a:focus-visible { color: #ffffff; text-decoration: underline; text-decoration-color: #7d5cff; text-underline-offset: 3px; }

.footer-bottom { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(120,120,160,0.2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom .copyright { margin: 0; color: #aeb6d0; font-size: 0.95rem; }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: rgba(8, 12, 18, 0.96);
  border-top: 1px solid rgba(120,120,160,0.3);
  color: #e6e8f2;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none !important; }
.cookie-inner { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }

@media (min-width: 760px) {
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; }
}
.cookie-content h2 { margin: 0; font: 700 1.05rem/1.3 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #ffffff; }
.cookie-content p { margin: 0.35rem 0 0; color: #cfd3e6; }
.cookie-content a { color: #9ea7ff; }
.cookie-content a:hover,
.cookie-content a:focus-visible { color: #c3c8ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 0.6rem; justify-content: flex-start; }
.cookie-actions .btn { cursor: pointer; border-radius: 10px; padding: 0.6rem 0.9rem; border: 1px solid transparent; font: 600 0.95rem/1 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.cookie-actions .btn:focus-visible { outline: 2px solid #7d5cff; outline-offset: 2px; }
.cookie-actions .btn-primary { background: linear-gradient(90deg, #7d5cff, #00e5ff); color: #0a0e14; border-color: rgba(125,92,255,0.5); }
.cookie-actions .btn-primary:hover { filter: brightness(1.05); }
.cookie-actions .btn-secondary { background: rgba(30,36,48,0.6); color: #e6e8f2; border-color: rgba(120,120,160,0.3); }
.cookie-actions .btn-secondary:hover { background: rgba(40,46,60,0.75); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
