/* Footer styles — ValorantPL */
.site-footer {
  background: var(--color-bg-tertiary);
  border-top: 1px solid var(--color-gray-800);
  color: var(--color-text-secondary);
}
.footer-upper {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-8);
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
}
@media (max-width: 960px) {
  .footer-upper { grid-template-columns: 1fr; }
}

/* Brand block */
.footer-brand .brand { color: var(--color-text-primary); }
.footer-tagline { margin-top: var(--space-3); max-width: 48ch; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.social-link {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-gray-800);
  color: var(--color-text-secondary);
}
.social-link:hover { color: var(--color-text-primary); border-color: var(--color-primary); box-shadow: var(--glow-primary); }

/* Links grid */
.footer-links .links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3) var(--space-6);
}
.footer-links a { color: var(--color-text-secondary); }
.footer-links a:hover, .footer-links a:focus { color: var(--color-text-primary); }
@media (max-width: 1024px) { .footer-links .links-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .footer-links .links-grid { grid-template-columns: repeat(2, 1fr); } }

.footer-lower {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-8);
}
@media (max-width: 640px) { .footer-lower { flex-direction: column; gap: var(--space-3); } }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-fixed);
  transform: translateY(100%);
  transition: transform var(--transition-base), opacity var(--transition-base);
  opacity: 0;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner.is-hiding { opacity: 0; transform: translateY(100%); }

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  background: rgba(26, 29, 38, 0.98);
  border: 1px solid var(--color-gray-800);
  border-bottom: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
}
@media (max-width: 840px) {
  .cookie-inner { grid-template-columns: 1fr; }
}
.cookie-text h2 { font-size: var(--font-size-lg); margin-bottom: var(--space-2); }
.cookie-text p { margin: 0; }
.cookie-actions { display: flex; gap: var(--space-3); align-items: center; justify-content: flex-end; }
.cookie-btn { white-space: nowrap; }

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