/* Footer styles scoped to .site-footer */
.site-footer {
  background: linear-gradient(180deg, var(--color-background-alt) 0%, var(--color-background) 100%);
  border-top: 1px solid var(--color-neutral-700);
  padding-top: var(--space-8);
  padding-bottom: calc(var(--space-8) + 72px); /* leave room for cookie banner */
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.footer-brand .brand-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-black);
  font-size: var(--font-size-xl);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand .brand-tagline {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-6);
}

.footer-grid a {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base) var(--ease-out), text-shadow var(--transition-base) var(--ease-out);
}

.footer-grid a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 10px var(--color-primary-glow);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-neutral-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright { color: var(--color-text-muted); font-size: var(--font-size-sm); }

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-fixed);
  background: linear-gradient(180deg, var(--color-background-elevated) 0%, var(--color-background-alt) 100%);
  border-top: 1px solid var(--color-neutral-700);
  box-shadow: var(--shadow-neon-cyan), var(--shadow-lg);
  transform: translateY(0);
  transition: transform var(--transition-slower) var(--ease-out), opacity var(--transition-slower) var(--ease-out);
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.cookie-content h2 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.cookie-content p { margin: 0; }
.cookie-content a { text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* Hidden state */
.cookie-banner.is-hidden { transform: translateY(110%); opacity: 0; }

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