/* Custom animations and styles */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

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

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Refresh button animation */
.refresh-button {
  transition: transform 0.6s ease-in-out;
}

.refresh-button:active {
  transform: rotate(360deg) scale(1.1);
}

/* Sound wave animation */
.sound-wave {
  display: flex;
  align-items: center;
  gap: 2px;
}

.wave {
  width: 3px;
  background: linear-gradient(to top, #ff6b6b, #ffd93d);
  border-radius: 2px;
  animation: wave-pulse 1.5s ease-in-out infinite;
}

.wave1 {
  height: 16px;
  animation-delay: 0s;
}

.wave2 {
  height: 24px;
  animation-delay: 0.2s;
}

.wave3 {
  height: 20px;
  animation-delay: 0.4s;
}

@keyframes wave-pulse {
  0%, 100% {
    transform: scaleY(0.5);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Card hover effects */
.group:hover .refresh-button {
  transform: scale(1.1);
}

/* Smooth scroll behavior */
.overflow-x-auto {
  scroll-behavior: smooth;
}

/* Custom scrollbar for settings panel */
.overflow-y-auto::-webkit-scrollbar {
  width: 4px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .sound-wave {
    scale: 0.8;
  }
  
  .wave {
    width: 2px;
  }
}