

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

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes rotateArtwork {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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


.animate-fade-up {
  animation: fadeUp 350ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 300ms ease forwards;
}

.animate-scale-in {
  animation: scaleIn 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


.rotate-playing,
#player-art.rotate-playing {
  border-radius: 50% !important;
  animation: rotateArtwork 12s linear infinite !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
  z-index: 2;
  position: relative;
}


.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 16px;
  height: 16px;
}

.bar {
  width: 3px;
  height: 2px;
  background-color: #38ef7d;
  animation: bounceBar 0.8s ease-in-out infinite alternate;
}

.bar:nth-child(2) {
  animation-delay: 0.2s;
  animation-duration: 0.6s;
}

.bar:nth-child(3) {
  animation-delay: 0.4s;
  animation-duration: 0.9s;
}

@keyframes bounceBar {
  0% {
    height: 3px;
  }
  100% {
    height: 14px;
  }
}
