footer {
  background: var(--card-bg);
  color: var(--text);
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.9rem;
}

[data-theme="dark"] footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top,
.footer-social,
.footer-donate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a {
  margin: 0 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--primary);
}

.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.3s ease, filter 0.3s ease, background 0.3s ease;
  background-color: transparent;
}

.socials a:hover {
  transform: scale(1.5) rotate(3deg);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

.socials img {
  width: 24px;
  height: 24px;
  transition: filter 0.3s ease;
}

/* Optional: if you want to color match hover state for icon types */
.socials a:hover img {
  filter: brightness(1.2) saturate(0.8);
}


.donate-message {
  font-size: 0.95rem;
  max-width: 600px;
  margin-bottom: 0.5rem;
}

.donation-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.donate-cta-btn {
  background: #facc15;
  color: #1a1a1a;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.donate-cta-btn:hover {
  background: #fbbf24;
}

.custom-donation-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.custom-donation-form input[type="number"] {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 120px;
  text-align: center;
}

.custom-label {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .donation-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
