/* Custom styles for Radio Berry */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #374151;
}

::-webkit-scrollbar-thumb {
  background: #6b7280;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Smooth animations */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Custom range slider styling */
input[type="range"] {
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #4b5563;
  border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #9333ea;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px;
}

/* Loading animation for images */
img {
  opacity: 0;
  animation: fadeIn 0.3s ease-in-out forwards;
}

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

/* Mobile responsive improvements */
@media (max-width: 768px) {
  .max-w-6xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Focus states for accessibility */
button:focus,
input:focus {
  outline: 2px solid #9333ea;
  outline-offset: 2px;
}

/* Hover effects */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Custom gradient backgrounds */
.bg-gradient-berry {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
}