/* assets/css/audio-mixer.css */
:root {
    --mix-bg: #121212;
    --mix-panel: #1E1E1E;
    --mix-accent: #D4AF37;
    /* Gold */
}

#audio-mixer-tool {
    background-color: var(--mix-bg);
    color: #E0E0E0;
    font-family: 'Space Mono', monospace;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 4rem 0;
    width: 100%;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

/* Horizontal Selector */
.zone-selector {
    display: flex;
    overflow-x: auto;
    background: #000;
    padding: 0;
}

/* Hide Scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.phase-tab {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.phase-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.phase-tab.active {
    color: var(--mix-accent);
    background: rgba(212, 175, 55, 0.05);
    border-bottom-color: var(--mix-accent);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    #audio-mixer-tool {
        margin: 0;
        border-radius: 12px;
    }

    /* Sticky Selector - Horizontal Scroll */
    .zone-selector {
        position: sticky;
        top: 4.5rem;
        z-index: 30;
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        border-bottom: 1px solid #333;
        background: #111;
        scrollbar-width: none;
        width: 100%;
        margin: 0;
    }

    .zone-selector::-webkit-scrollbar {
        display: none;
    }

    .phase-tab {
        flex: 0 0 auto;
        padding: 1rem 1.5rem;
        /* Updated padding */
        border-left: none;
        border-bottom: 2px solid transparent;
        font-size: 0.7rem;
        /* Updated font size */
    }

    .phase-tab.active {
        border-color: var(--mix-accent);
    }

    .p-8,
    .md\:p-12 {
        padding: 1.5rem;
    }
}

/* Pace Selector Interaction */
#pace-selector button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

#pace-selector button:active {
    transform: translateY(0);
}

/* Visualizer Animation Delays */
.animation-delay-75 {
    animation-delay: 75ms;
}

.animation-delay-100 {
    animation-delay: 100ms;
}

.animation-delay-150 {
    animation-delay: 150ms;
}