/* PropertyPath Animations */

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 196, 180, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 196, 180, 0.4); }
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes countPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-blob-1 { animation: blobMove 18s ease-in-out infinite; }
.hero-blob-2 { animation: blobMove 22s ease-in-out infinite reverse; }

.animate-in {
  animation: fadeInUp 0.7s ease both;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.35s; }
.animate-in-delay-4 { animation-delay: 0.5s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-num.counting {
  animation: countPop 0.3s ease;
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--pp-card) 25%,
    #1a2332 50%,
    var(--pp-card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* Heart save bounce */
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.heart-pop { animation: heartPop 0.35s ease; }

/* Page transitions */
.page-enter {
  animation: fadeIn 0.35s ease;
}

/* Modal fade */
.modal-overlay {
  animation: fadeIn 0.2s ease;
}

.modal-panel {
  animation: scaleIn 0.25s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
