/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-stagger-1 { animation-delay: 0.1s; }
.animate-stagger-2 { animation-delay: 0.2s; }
.animate-stagger-3 { animation-delay: 0.3s; }
.animate-stagger-4 { animation-delay: 0.4s; }

.float-element {
  animation: float 6s ease-in-out infinite;
}

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

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

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

/* Ambient Particles (Applied to specific containers) */
.ambient-container {
  position: relative;
}

.ambient-container::before,
.ambient-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-highlight) 0%, transparent 70%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.ambient-container::before {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite alternate;
}

.ambient-container::after {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
  animation: float 10s ease-in-out infinite alternate-reverse;
}

/* Ensure content stays above ambient effects */
.ambient-container > * {
  position: relative;
  z-index: 1;
}