.celestial-footer {
  background: rgba(10, 18, 34, 0.9);
  border-top: 1px solid rgba(160, 233, 255, 0.2);
  padding: var(--space-4) var(--space-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.celestial-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23A0E9FF' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 20px 20px;
  z-index: -1;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--sky-blue);
  transition: all var(--transition-normal);
  font-family: var(--heading-font);
  position: relative;
  padding: 0.2rem 0.5rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 1px;
  background: var(--celestial-gold);
  transition: transform var(--transition-normal);
}

.footer-links a:hover {
  color: var(--celestial-gold);
  text-shadow: 0 0 5px rgba(245, 197, 66, 0.5);
}

.footer-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.copyright {
  color: var(--neutral-400);
  font-size: 0.9rem;
}

/* Floating star animation */
.celestial-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M5 0L6.5 3.5L10 5L6.5 6.5L5 10L3.5 6.5L0 5L3.5 3.5Z' fill='%23F5C542' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-repeat: repeat-x;
  background-position: center;
  pointer-events: none;
  z-index: -1;
  animation: floatStars 20s linear infinite;
}

@keyframes floatStars {
  0% {
    background-position: 0 center;
  }
  100% {
    background-position: 200px center;
  }
}

@media (max-width: 767px) {
  .celestial-footer {
    padding: var(--space-3) var(--space-2);
  }
  
  .footer-links {
    gap: var(--space-2);
  }
  
  .copyright {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .celestial-footer {
    padding: var(--space-2) var(--space-1);
  }
  
  .footer-links {
    gap: var(--space-1);
  }
  
  .footer-links a {
    padding: 0.1rem 0.3rem;
  }
}