/* Footer Styles */
footer {
  background: #222;
  color: #fff;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

/* Big "Thank you" */
.footer-thanks {
  font-size: 2.5rem !important;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Nav list centered below */
#navigation {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-flex;
  gap: 1rem;
}

/* Softer purple pills */
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  background: linear-gradient(45deg, #7f5af0, #6b3ff0);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-btn ion-icon {
  font-size: 1.2em;
}

/* Hover lift */
.footer-btn:hover,
.footer-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Bounce keyframes */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

/* Target only the "Return to Top" button */
.footer-btn.return-top:hover {
  animation: bounce 0.8s;
}

/* Optional: make that button stand out even more */
.footer-btn.return-top {
  position: relative;
  overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-content {
    padding: 1.5rem 1rem;
  }

  .footer-thanks {
    font-size: 1.8rem !important;
  }

  #navigation {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-btn {
    width: 100%;
    justify-content: center;
  }
}
