/* ==========================================================================
   FLOATING HEARTS ANIMATION SYSTEM
   Elegant floating emoji animation with theme support
   ========================================================================== */

/* Hearts container - Full viewport overlay */
.hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: var(--z-hearts);
}

/* Individual floating heart/emoji */
.heart {
  position: fixed;
  bottom: -30px;
  font-size: 20px;
  pointer-events: none;
  z-index: var(--z-hearts-individual);
  user-select: none;
  animation: floatUp 6s infinite ease-in;
  opacity: 0.6;
  will-change: transform, opacity;
}

/* Elegant floating animation */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  
  50% {
    opacity: 0.6;
  }
  
  100% {
    transform: translateY(-100vh) scale(1.5);
    opacity: 0;
  }
}

/* Theme-specific heart colors and effects */
[data-theme="wholesome"] .heart {
  filter: drop-shadow(0 0 8px rgba(255, 192, 203, 0.4));
}

[data-theme="missing"] .heart {
  filter: drop-shadow(0 0 8px rgba(135, 206, 250, 0.4));
}

[data-theme="horny"] .heart {
  filter: drop-shadow(0 0 8px rgba(255, 69, 108, 0.4));
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .heart {
    animation-duration: 8s;
    animation-timing-function: ease;
  }
  
  @keyframes floatUp {
    0% {
      transform: translateY(0) scale(1);
      opacity: 0.6;
    }
    
    100% {
      transform: translateY(-50vh) scale(1.2);
      opacity: 0;
    }
  }
}
