/* VU Meter Styles - SonicPrism Premium UI */

#vu-meter-container {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

#vu-meter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* Style 1: Cyber LED */
.vu-style-led .vu-bar {
    flex: 1;
    height: 100%;
    background: var(--bar-color, #22c55e);
    box-shadow: 0 0 8px var(--bar-glow, rgba(34, 197, 94, 0.5));
    border-radius: 2px;
}

/* Style 2: Liquid Gradient */
.vu-style-bar #vu-meter {
    padding: 2px;
}
.vu-liquid-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22d3ee, #818cf8, #f43f5e);
    border-radius: 999px;
    transition: width 0.05s linear, box-shadow 0.1s ease;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

/* Style 3: Holo-Dots */
.vu-style-dots {
    display: flex;
    gap: 4px;
    justify-content: center;
}
.vu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e293b;
    transition: all 0.1s ease;
}
.vu-dot.active {
    background: #22d3ee;
    box-shadow: 0 0 10px #22d3ee;
    transform: scale(1.2);
}

/* Style 4: Chrono Analog */
.vu-analog-container {
    position: relative;
    width: 100%;
    height: 40px; /* Needs more height */
    overflow: visible !important;
}
.vu-analog-needle {
    transform-origin: bottom center;
    transition: transform 0.05s linear;
}

/* Style 5: Stereo Ribbons */
.vu-style-stereo {
    flex-direction: column !important;
    gap: 4px !important;
    padding: 2px 0;
}
.vu-ribbon-l, .vu-ribbon-r {
    height: 3px;
    width: 0%;
    background: #22d3ee;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
    transition: width 0.05s linear;
}
.vu-ribbon-r {
    background: #f43f5e;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

/* Style 6: Sonic Plasma */
.vu-plasma-canvas {
    width: 100%;
    height: 100%;
}

/* Base VU Meter Container overrides - Isolated to prevent UI regressions */
#vu-meter-container.vu-style-analog {
    height: 40px;
    overflow: visible !important;
}

#vu-meter-container.vu-style-stereo {
    gap: 4px !important;
}
