/* Premium World Class Animations & Utilities */

@keyframes shimmer {
  0% { transform: translateX(-150%) skewX(-12deg); }
  50% { transform: translateX(150%) skewX(-12deg); }
  100% { transform: translateX(150%) skewX(-12deg); }
}

.animate-shimmer {
  animation: shimmer 3s infinite ease-in-out;
}

html {
  scroll-behavior: smooth;
}

.modal-open {
  overflow: hidden;
}

.fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium Glassmorphism */
.premium-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-glass:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}

/* Elegant Icon Animations */
.icon-parent {
  cursor: pointer;
}

.icon-parent svg.lucide {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease, filter 0.4s ease;
}

.icon-parent:hover svg.lucide {
  transform: scale(1.15) rotate(2deg);
  filter: drop-shadow(0 2px 8px currentColor);
}

/* Base tailwind animations refined */
.animate-spin-slow {
  animation: spin 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.animate-float {
  animation: elegant-float 8s ease-in-out infinite;
}

@keyframes elegant-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}

.animate-sway {
  animation: elegant-sway 6s ease-in-out infinite;
}

@keyframes elegant-sway {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(1.5deg) translateX(5px); }
  75% { transform: rotate(-1.5deg) translateX(-5px); }
}

/* Elegant Accent Line (Replaces Bunting) */
.premium-accent-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #FF2D78, #FACC15, #3B82F6, #22C55E, #A855F7);
  position: absolute;
  top: 0;
  z-index: 50;
  opacity: 0.8;
  box-shadow: 0 2px 15px rgba(255, 45, 120, 0.3);
}
