/* Custom CSS for GrooveToon */ @import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap'); /* CSS Variables for Theme */ :root { --primary-hue: 348; --secondary-hue: 262; --bg-luminance: 8%; --glow-strength: 1; } * { font-family: 'Nunito', sans-serif; } h1, h2, h3, .font-display { font-family: 'Fredoka One', cursive; } /* Smooth Transitions */ * { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; } /* Glass Effect */ .glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); } .glass-dark { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); } /* Neon Glow Effects */ .neon-primary { box-shadow: 0 0 20px hsla(var(--primary-hue), 90%, 60%, 0.5), 0 0 40px hsla(var(--primary-hue), 90%, 60%, 0.3), 0 0 60px hsla(var(--primary-hue), 90%, 60%, 0.1); } .neon-secondary { box-shadow: 0 0 20px hsla(var(--secondary-hue), 90%, 60%, 0.5), 0 0 40px hsla(var(--secondary-hue), 90%, 60%, 0.3), 0 0 60px hsla(var(--secondary-hue), 90%, 60%, 0.1); } /* Character Animations */ @keyframes dance-bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.02); } } @keyframes dance-sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } } @keyframes dance-spin { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } } @keyframes dance-wave { 0%, 100% { transform: rotate(-20deg) translateY(0); } 25% { transform: rotate(10deg) translateY(-10px); } 50% { transform: rotate(-10deg) translateY(0); } 75% { transform: rotate(20deg) translateY(-10px); } } @keyframes dance-head-bop { 0%, 100% { transform: rotate(0deg) translateY(0); } 25% { transform: rotate(-10deg) translateY(5px); } 50% { transform: rotate(0deg) translateY(0); } 75% { transform: rotate(10deg) translateY(5px); } } @keyframes float-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes glow-pulse { 0%, 100% { filter: brightness(1) drop-shadow(0 0 5px currentColor); } 50% { filter: brightness(1.2) drop-shadow(0 0 20px currentColor); } } /* Particle Effects */ @keyframes particle-float { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } } .particle { position: fixed; pointer-events: none; animation: particle-float linear infinite; } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #171717; } ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #f43f5e, #8b5cf6); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #fb7185, #a78bfa); } /* Range Slider Styling */ input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; } input[type="range"]::-webkit-slider-track { background: rgba(255, 255, 255, 0.1); height: 6px; border-radius: 3px; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; background: linear-gradient(135deg, #f43f5e, #8b5cf6); height: 20px; width: 20px; border-radius: 50%; margin-top: -7px; box-shadow: 0 0 10px rgba(244, 63, 94, 0.5); } input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, 0.1); height: 6px; border-radius: 3px; } input[type="range"]::-moz-range-thumb { background: linear-gradient(135deg, #f43f5e, #8b5cf6); height: 20px; width: 20px; border-radius: 50%; border: none; box-shadow: 0 0 10px rgba(244, 63, 94, 0.5); } /* Beat Indicator */ .beat-bar { animation: beat-pulse 0.5s ease-in-out; } @keyframes beat-pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(2); } } /* Responsive Touch Targets */ @media (hover: none) and (pointer: coarse) { button, .control-btn { min-height: 44px; min-width: 44px; } } /* Reduced Motion */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }