/* Custom styles for BerryComputer Music Profile Tracker */

:root {
  --berry-100: #f3e5f5;
  --berry-500: #9c27b0;
  --berry-700: #7b1fa2;
  --berry-900: #4a148c;
  --raspberry-500: #e91e63;
  --blueberry-500: #3f51b5;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Hide scrollbar but keep functionality */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Customized equalizer animation */
@keyframes equalizer-bar {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.equalizer-bar {
  animation: equalizer-bar 1s ease-in-out infinite;
  transform-origin: bottom;
}

/* Custom pulsing animation for active microphone */
@keyframes mic-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(233, 30, 99, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
  }
}

.pulse {
  animation: mic-pulse 2s infinite;
}

/* Custom transition for track cards */
.track-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-card:hover {
  transform: translateY(-4px);
}

/* Subtle gradient overlay for images */
.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
  pointer-events: none;
}

/* Berry-inspired focus styles */
button:focus, input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--berry-500);
}

/* Custom scrollbar for browsers that support it */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: var(--berry-700);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--berry-500);
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .fixed-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    border-top: 1px solid #374151;
    z-index: 40;
  }
}