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

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

.glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glitch-text {
  position: relative;
  text-shadow: 0 0 10px currentColor;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s infinite ease-in-out;
  opacity: 0.6;
  box-shadow: 0 0 10px currentColor;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-100px) translateX(50px);
  }
  50% {
    transform: translateY(-50px) translateX(-50px);
  }
  75% {
    transform: translateY(-150px) translateX(30px);
  }
}

.sparkle {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  animation: sparkle-animation 1s ease-out forwards;
}

.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.sparkle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.sparkle::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

@keyframes sparkle-animation {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(2) rotate(180deg);
    opacity: 0;
  }
}

.floating-quote {
  animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-20px);
  }
}

.music-bar {
  width: 6px;
  height: 40px;
  border-radius: 3px;
  animation: music-bounce 0.6s ease-in-out infinite;
  transform-origin: bottom;
}

@keyframes music-bounce {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.vibe-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.vibe-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: currentColor;
  cursor: pointer;
  box-shadow: 0 0 10px currentColor;
}

.vibe-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: currentColor;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px currentColor;
}

.toggle-button {
  width: 50px;
  height: 26px;
  border-radius: 13px;
  border: 2px solid;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-button::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
}

.toggle-button.active::after {
  left: 26px;
}

.lcd-text {
  font-family: 'Fira Code', monospace;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px currentColor;
}

.interactive-canvas {
  transition: transform 0.1s ease;
}

.interactive-canvas:active {
  transform: scale(0.995);
}

.vibe-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vibe-button:hover {
  filter: brightness(1.2);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@media (max-width: 768px) {
  .particle {
    width: 3px;
    height: 3px;
  }
  
  .floating-quote {
    font-size: 1.25rem;
  }
  
  .music-bar {
    width: 4px;
    height: 30px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}