/* Custom Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Custom Audio Player Styling */
.audio-player {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.audio-player::-webkit-media-controls-panel {
    background-color: rgba(139, 92, 246, 0.1);
}

/* Custom Speed Slider */
.speed-slider {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    outline: none;
    -webkit-appearance: none;
    height: 8px;
}

.speed-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ec4899, #06b6d4);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.speed-slider::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ec4899, #06b6d4);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Custom Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.8);
        transform: scale(1.02);
    }
}

@keyframes wave {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-3px); }
    75% { transform: translateY(3px); }
}

@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ec4899, #06b6d4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #be185d, #0891b2);
}

/* Loading Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hover Effects */
.glass-panel:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

/* Focus States */
textarea:focus, select:focus, input:focus {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* Button Glow Effect */
button:not(:disabled):hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-panel {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Text Selection */
::selection {
    background: rgba(236, 72, 153, 0.3);
    color: white;
}