/* Shared AstroMatrix Styles */
.footer-nav {
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a {
  display: inline-block;
  margin: 8px;
  padding: 14px 28px;
  background: linear-gradient(to right, #8b5cf6, #6366f1);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.footer-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
  background: linear-gradient(to right, #9f7aea, #7c3aed);
}
.footer-text {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}
@media (max-width: 640px) {
  .footer-nav a {
    display: block;
    margin: 12px auto;
    max-width: 280px;
  }
}
/* Loading Spinner Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  border: 3px solid rgba(139, 92, 246, 0.3);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}

/* AstroMatrix Brand Colors */
:root {
  --am-primary: #8b5cf6;
  --am-secondary: #7c3aed;
  --am-accent: #a78bfa;
  --am-dark: #1e1b4b;
  --am-darker: #0f0d24;
}

/* Social Share Pulse Animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
  }
}

.share-button {
  animation: pulse-glow 2s infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Progress Bar Animation */
@keyframes progress {
  from { width: 0%; }
  to { width: 100%; }
}

.progress-bar {
  animation: progress 30s linear;
}

/* Pulse Hover Animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse-hover:hover {
  animation: pulse 0.5s ease-in-out;
}