/* extra.css – modern vibe additions */

/* Animated background gradient */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, #6366f1, #a78bfa, #10b981, #f59e0b, #ef4444);
  background-size: 300% 300%;
  animation: bgGradient 20s ease infinite;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
@keyframes bgGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Neon border for auth cards */
.auth-card {
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.4),
              0 8px 30px rgba(0,0,0,0.4);
  animation: neonPulse 6s ease-in-out infinite;
}
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(99,102,241,0.4), 0 8px 30px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 0 2px rgba(236,72,153,0.6), 0 12px 35px rgba(0,0,0,0.5); }
}

/* Hero banner accent */
.hero-banner {
  border-left: 4px solid #a78bfa;
  animation: borderSlide 3s linear infinite;
}
@keyframes borderSlide {
  0% { border-color: #a78bfa; }
  33% { border-color: #10b981; }
  66% { border-color: #f59e0b; }
  100% { border-color: #a78bfa; }
}

/* Button hover shimmer */
.btn-primary:hover::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0)),
              linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.4));
  background-size: 200% 100%;
  animation: shimmerHover 1.5s infinite;
}
@keyframes shimmerHover { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Subtle text glow for headings */
h1, .auth-title {
  text-shadow: 0 0 6px rgba(255,255,255,0.4);
}

/* Smooth scroll for anchors */
html { scroll-behavior: smooth; }
