:root {
    --bg-dark: rgb(10, 10, 20);
    --text-color: #fff;
    --text-muted: rgb(156, 163, 175);
    --border-color: rgb(75, 85, 99);
    --primary-color: rgb(37, 99, 235);
    --secondary-color: rgb(147, 51, 234);
    --neon-cyan: #00ffff;
    --neon-pink: #ff0080;
}

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

#controls-panel {
    position: relative;
    margin-top: 5px;
    /* bottom: 20px; */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.3), rgba(55, 65, 81, 0.3));
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 5px 4px;
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.2),
        inset 0 0 40px rgba(255, 0, 128, 0.05);
    max-width: 350px;
    width: auto;
    z-index: 100;
    pointer-events: auto; 
}

.mixer-row {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 3px;
}

.channel-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(26, 0, 51, 0.6), rgba(51, 0, 102, 0.4));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 5px 2px;
    width: 50px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 0, 128, 0.05);
    transition: all 0.3s ease;
}

.channel-strip:hover {
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 
        0 0 30px rgba(255, 0, 128, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
}

.param-value {
    color: var(--neon-pink);
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 2px;
    text-shadow: 0 0 8px var(--neon-pink);
    min-height: 10px;
    text-align: center;
}

.slider-container {
    height: 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    width: 100%;
}

/* Vertical Slider Styling (height & width swapped; rotated 90) */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 0, 128, 0.3), rgba(0, 255, 255, 0.3));
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transform: rotate(-90deg) translateX(-5px);
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 255, 255, 0.2);
}

/* slider */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 15px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.8),
        0 0 25px rgba(0, 255, 255, 0.5);
    transition: all 0.2s ease;
    transform: translateY(-5px);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 1),
        0 0 35px rgba(0, 255, 255, 0.8);
    transform: translateY(-5px);
}

input[type="range"]::-moz-range-thumb {
    width: 6px;
    height: 15px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.8),
        0 0 25px rgba(0, 255, 255, 0.5);
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 1),
        0 0 35px rgba(0, 255, 255, 0.8);
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-radius: 10px;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-radius: 10px;
}

.param-label {
    color: var(--neon-cyan);
    font-size: 0.40rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--neon-cyan);
    text-align: center;
}

.controls-footer {
    display: flex;
    /* gap: 2px; */
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    flex-wrap: wrap;
}

.btn {
    padding: 2px 3px;
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    background: transparent;
}

.secondary-btn {
    margin: 0px 10px;
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.secondary-btn:hover {
    margin: 0px 10px;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.6),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.primary-btn {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

.primary-btn:hover {
    background: rgba(255, 0, 128, 0.1);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.6),
        inset 0 0 20px rgba(255, 0, 128, 0.1);
}

.info-block {
    text-align: center;
    margin: 5px;
    color: rgba(0, 255, 255, 0.6);
    font-size: 0.9rem;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.4);
    flex-basis: 100%;
    z-index: 100;
}

/* @media (max-width: 768px) {
    #controls-panel {
        padding: 20px;
    }
    
    .channel-strip {
        width: 60px;
        padding: 12px 8px;
    }
    
    .slider-container {
        height: 120px;
    }
    
    input[type="range"] {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .mixer-row {
        gap: 10px;
    }
    
    .channel-strip {
        width: 55px;
    }
} */