/**
 * @fileoverview Elegant CSS Animations & Floating Music Notes
 */

/* Subtly float up and fade in for cards */
.animate-fade-up {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(12px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Floating Music Notes Background Effect ─── */
.musical-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-note {
  position: absolute;
  color: var(--text-light);
  opacity: 0;
  animation: floatUp 8s linear infinite;
}

/* Different sizes and opacities for depth */
.note-sm { font-size: 14px; opacity: 0.2; }
.note-md { font-size: 20px; opacity: 0.15; }
.note-lg { font-size: 28px; opacity: 0.1; }

@keyframes floatUp {
  0% {
    transform: translateY(100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: var(--base-opacity, 0.15);
  }
  90% {
    opacity: var(--base-opacity, 0.15);
  }
  100% {
    transform: translateY(-200px) rotate(20deg);
    opacity: 0;
  }
}

/* Stagger delays for natural feel */
.floating-note:nth-child(1) { left: 10%; animation-delay: 0s; --base-opacity: 0.15; }
.floating-note:nth-child(2) { left: 30%; animation-delay: 2s; --base-opacity: 0.2; }
.floating-note:nth-child(3) { left: 50%; animation-delay: 4s; --base-opacity: 0.1; }
.floating-note:nth-child(4) { left: 70%; animation-delay: 1s; --base-opacity: 0.15; }
.floating-note:nth-child(5) { left: 90%; animation-delay: 3s; --base-opacity: 0.2; }
