.footer-social-links {
  position: static;
  inset: auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 26px 0;
  color: #f5efdf;
  background: transparent;
  border-top: 1px solid rgba(245, 239, 223, 0.2);
  border-bottom: 0;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-links svg {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.footer-social-links a:hover { color: #d5ef83; }
.footer-social-links a:focus-visible { outline: 2px solid #d5ef83; outline-offset: 5px; }

@keyframes footer-icon-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-2px) rotate(-12deg); }
  40% { transform: translateX(2px) rotate(12deg); }
  60% { transform: translateX(-1px) rotate(-8deg); }
  80% { transform: translateX(1px) rotate(8deg); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer-social-links a:hover svg { animation: footer-icon-shake 0.5s ease-in-out; }
}

@media (max-width: 650px) {
  .footer-social-links { gap: 24px; }

  footer {
    padding-bottom: calc(11.5rem + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-links a { transition: none; }
}
