@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #1a1a1a;
    overflow-x: hidden;
}

.studio-title {
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            0 0 40px #00ffff;
    }
    to {
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff,
            0 0 35px #00ffff,
            0 0 40px #00ffff;
    }
}

.studio-glow {
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    from {
        box-shadow: 
            0 0 20px rgba(0, 255, 255, 0.3),
            inset 0 0 20px rgba(0, 255, 255, 0.1);
    }
    to {
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.4),
            inset 0 0 30px rgba(0, 255, 255, 0.15);
    }
}

.studio-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300ffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.studio-button {
    position: relative;
    overflow: hidden;
}

.studio-button:not(:disabled):hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transform: translateY(-1px);
}

.studio-button:not(:disabled):active {
    transform: translateY(0);
}

.studio-record-button {
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #00ffff, #8a2be2, #ff1493, #39ff14);
    background-size: 300% 300%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.studio-record-button:hover {
    animation: gradient-shift 1s ease infinite, record-pulse 0.5s ease-in-out;
    transform: scale(1.05);
}

@keyframes record-pulse {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.08); }
}

.studio-slider {
    appearance: none;
    height: 12px;
    background: linear-gradient(to right, #1a1a1a, #2d2d2d);
    border-radius: 6px;
    outline: none;
}

.studio-slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.studio-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    border: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .studio-title {
        font-size: 2.5rem !important;
    }
    
    .studio-glow {
        margin: 1rem;
        padding: 1.5rem !important;
    }
    
    .studio-record-button {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00e6e6, #7a25d1);
}

/* Focus states for accessibility */
input:focus, select:focus, textarea:focus, button:focus {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
}

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

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00ffff;
    animation: loading-spin 1s ease-in-out infinite;
}