* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background-color 0.3s ease;
}

.glass-card {
  background: rgba(30, 20, 50, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-card-dark {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.control-btn {
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.control-btn:hover {
  background: rgba(168, 85, 247, 0.5);
  border-color: rgba(219, 39, 119, 0.6);
}

.control-btn-dark {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 12px;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.control-btn-dark:hover {
  background: rgba(75, 85, 99, 0.7);
  border-color: rgba(34, 211, 238, 0.6);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(30, 20, 50, 0.3);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ec4899, #8b5cf6);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #f472b6, #a78bfa);
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2s ease-in-out infinite;
}

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

.animate-fade-in {
  animation: fade-in 0.3s ease-out;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  height: 8px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-top: -6px;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.5);
}

input[type="range"]::-moz-range-track {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  height: 8px;
}

input[type="range"]::-moz-range-thumb {
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.5);
}