/* FOOTER GLOBAL BIOFIBERS - Compact + Animation Photon */

:root {
  --footer-accent-cyan: #00d9ff;
  --footer-accent-violet: #8b5cf6;
  --footer-accent-rose: #ff6b9d;
  --footer-glow-cyan: rgba(0, 217, 255, 0.4);
  --footer-glow-violet: rgba(139, 92, 246, 0.4);
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main#app { flex: 1; }

.global-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 16, 0.9) 30%, rgba(10, 12, 16, 0.98) 100%);
  padding: 0 0 1rem 0;
  margin-top: auto;
  z-index: 50;
  flex-shrink: 0;
}

.footer-flow-container {
  position: relative;
  width: 100%;
  height: 30px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.footer-photon-stream {
  position: absolute;
  width: 100%;
  height: 1px;
  top: 50%;
  background: linear-gradient(90deg, transparent, var(--footer-accent-cyan) 20%, var(--footer-accent-violet) 50%, var(--footer-accent-rose) 80%, transparent);
  animation: footerStream 3s ease-in-out infinite;
}

@keyframes footerStream {
  0% { transform: translateX(-100%) scaleX(0.5); opacity: 0; }
  50% { transform: translateX(0%) scaleX(1); opacity: 1; }
  100% { transform: translateX(100%) scaleX(0.5); opacity: 0; }
}

.footer-photon-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--footer-accent-cyan);
  border-radius: 50%;
  top: 50%;
  box-shadow: 0 0 15px var(--footer-glow-cyan);
  animation: footerParticle 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-photon-particle:nth-child(2) { animation-delay: 1s; background: var(--footer-accent-violet); box-shadow: 0 0 15px var(--footer-glow-violet); }
.footer-photon-particle:nth-child(3) { animation-delay: 2s; background: var(--footer-accent-rose); box-shadow: 0 0 15px rgba(255, 107, 157, 0.4); }
.footer-photon-particle:nth-child(4) { animation-delay: 3s; background: var(--footer-accent-cyan); box-shadow: 0 0 15px var(--footer-glow-cyan); }

@keyframes footerParticle {
  0% { left: -5%; transform: translateY(-50%) scale(0); opacity: 0; }
  10% { opacity: 1; transform: translateY(-50%) scale(1); }
  90% { opacity: 1; }
  100% { left: 105%; transform: translateY(-50%) scale(0); opacity: 0; }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  margin-bottom: 0.6rem;
}

.footer-link {
  color: rgba(224, 224, 224, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--footer-accent-cyan), var(--footer-accent-violet));
  transition: width 0.3s ease;
}

.footer-link:hover { color: var(--footer-accent-cyan); }
.footer-link:hover::after { width: 100%; }

.footer-copyright {
  color: rgba(224, 224, 224, 0.45);
  font-size: 0.7rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-links { gap: 0.6rem 1.5rem; }
  .footer-link { font-size: 0.75rem; }
  .footer-copyright { font-size: 0.65rem; }
}
