/* Ambient Animations */
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slowPan {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(217, 83, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); }
}

@keyframes particleDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}

/* Utility Animation Classes */
.animate-fade-up {
  animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.img-pan-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.img-pan-wrapper img {
  animation: slowPan 20s ease-in-out infinite;
}

/* Particle Environment */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleDrift 8s linear infinite;
}

.p-1 { left: 10%; bottom: -10px; animation-duration: 12s; }
.p-2 { left: 30%; bottom: -10px; animation-duration: 9s; animation-delay: 2s; }
.p-3 { left: 60%; bottom: -10px; animation-duration: 15s; animation-delay: 5s; }
.p-4 { left: 80%; bottom: -10px; animation-duration: 11s; animation-delay: 1s; }