footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  color: #222;
  padding: 48px 64px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.4rem;
  border-top: 1px solid #e0e0e0;
  user-select: none;
}

.footer-brand {
  display: flex;
  align-items: center;
  font-family: 'Noto Serif', serif;
  font-size: 5rem;
  font-weight: 900;
  color: #4a37e8;
  transition: transform 0.3s ease;
}

.footer-brand img {
  height: 64px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand:hover {
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #444;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #4a37e8;
  background-color: rgba(74, 55, 232, 0.05);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 32px;
  }

  .footer-brand {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}