.livestream-fader-slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0 0;
}

.livestream-fader-slider {
    width: 90%;
    max-width: 220px;
    min-width: 100px;
    margin: 0 10px;
}

/* Responsive tweaks for livestream fader */
@media (max-width: 768px) {
    .livestream-fader-slider {
        width: 100%;
        max-width: 160px;
        min-width: 60px;
    }
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 

/* DJ Mixer Container */
.dj-mixer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.mixer-header {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mixer-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5em;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 10px;
}

.station-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    text-align: center !important;
    color: #cccccc;
    margin: 10px auto !important;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
     
    display: block;
    width: fit-content;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



.connection-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4757;
    animation: pulse 2s infinite;
}

.status-indicator.connected {
    background: #2ed573;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mixer Console */
.mixer-console {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    margin-bottom: 30px;
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #444;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Deck Styles */
.deck {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #555;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.deck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.deck-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8em;
    font-weight: 700;
    color: #4ecdc4;
}

.deck-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #666;
    transition: background 0.3s;
}

.deck-indicator.playing {
    background: #2ed573;
    animation: pulse 1s infinite;
}

.deck-indicator.loading {
    background: #ffa726;
    animation: pulse 0.5s infinite;
}

/* Track Info */
.track-info {
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #444;
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Artwork Container */
.track-artwork-container {
    flex-shrink: 0;
}

.track-artwork {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: linear-gradient(145deg, #333, #1a1a1a);
    border: 2px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.track-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.track-artwork .no-artwork {
    font-size: 24px;
    color: #666;
    opacity: 0.7;
}

.track-artwork.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(78, 205, 196, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Track Details */
.track-details {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-size: 1.2em;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 1em;
    color: #aaaaaa;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-album {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-time {
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    color: #4ecdc4;
}



/* Controls */
.deck-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.transport-controls {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.control-btn {
    background: linear-gradient(145deg, #444444, #2a2a2a);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 12px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
    background: linear-gradient(145deg, #555555, #3a3a3a);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.control-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.play-btn.playing {
    background: linear-gradient(145deg, #2ed573, #20bf6b);
    color: #ffffff;
}

.pitch-control, .volume-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.pitch-control label, .volume-control label {
    font-size: 0.9em;
    color: #aaaaaa;
    font-weight: 500;
}

.pitch-control {
    min-height: 140px;
    justify-content: space-between;
}

.pitch-control span {
    font-size: 0.8em;
    color: #4ecdc4;
    font-weight: 600;
    min-height: 20px;
    display: flex;
    align-items: center;
}

/* DJ Knobs - Realistic Volume Controls */
.dj-knob-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.dj-knob {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    user-select: none;
}

.knob-face {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, #666, #2a2a2a, #1a1a1a);
    border: 3px solid #444;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease;
}

.knob-face:active {
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        inset 0 2px 6px rgba(0, 0, 0, 0.7),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.knob-indicator {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 15px;
    background: linear-gradient(to bottom, #ff4444, #cc3333);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease;
    transform-origin: 50% 175%;
}

.knob-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, #333, #1a1a1a);
    border: 1px solid #555;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}



/* Pitch Knob Styling */
.pitch-knob {
    width: 70px;
    height: 70px;
}

.pitch-knob .knob-face {
    background: radial-gradient(ellipse at 30% 30%, #777, #3a3a3a, #1f1f1f);
    border: 3px solid #555;
    box-shadow: 
        0 5px 10px rgba(0, 0, 0, 0.8),
        inset 0 2px 5px rgba(255, 255, 255, 0.12),
        inset 0 -2px 5px rgba(0, 0, 0, 0.55);
}

.pitch-knob .knob-indicator {
    background: linear-gradient(to bottom, #00aaff, #0088cc);
    width: 3px;
    height: 18px;
    top: 9px;
}

.pitch-knob .knob-center {
    width: 14px;
    height: 14px;
    background: radial-gradient(ellipse at 30% 30%, #444, #1f1f1f);
}

.knob-markers {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    pointer-events: none;
}

.marker {
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: #888;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

.marker-min {
    bottom: 15px;
    left: 15px;
}

.marker-max {
    bottom: 15px;
    right: 15px;
}

.master-knob .knob-face {
    background: radial-gradient(ellipse at 30% 30%, #4ecdc4, #2a8a82, #1a5a52);
    border-color: #4ecdc4;
}

.master-knob .knob-indicator {
    background: linear-gradient(to bottom, #ffffff, #cccccc);
}

.hidden-slider {
    display: none;
}

/* EQ Lights Display */
.eq-lights-display {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 12px;
    border: 2px solid #333;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.eq-lights-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.deck-label {
    font-size: 14px;
    font-weight: bold;
    color: #4ecdc4;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.eq-lights-column {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.eq-band-lights {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.eq-band-lights label {
    font-size: 10px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.light-bar {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    padding: 4px;
    background: #0a0a0a;
    border-radius: 4px;
    border: 1px solid #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.light {
    width: 12px;
    height: 8px;
    border-radius: 2px;
    border: 1px solid #222;
    background: #1a1a1a;
    transition: all 0.1s ease;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8);
}

.light.green {
    background: #1a4a1a;
    border-color: #2a5a2a;
}

.light.green.active {
    background: linear-gradient(to bottom, #44ff44, #22cc22);
    border-color: #44ff44;
    box-shadow: 
        0 0 8px rgba(68, 255, 68, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.light.yellow {
    background: #4a4a1a;
    border-color: #5a5a2a;
}

.light.yellow.active {
    background: linear-gradient(to bottom, #ffff44, #cccc22);
    border-color: #ffff44;
    box-shadow: 
        0 0 8px rgba(255, 255, 68, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.light.red {
    background: #4a1a1a;
    border-color: #5a2a2a;
}

.light.red.active {
    background: linear-gradient(to bottom, #ff4444, #cc2222);
    border-color: #ff4444;
    box-shadow: 
        0 0 8px rgba(255, 68, 68, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Animation for active lights */
.light.active {
    animation: pulse 0.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 1; }
    to { opacity: 0.7; }
}

.light.beat-flash {
    animation: beatFlash 150ms ease-out !important;
    box-shadow: 0 0 25px var(--light-glow), 0 0 40px var(--light-glow) !important;
}

@keyframes beatFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px var(--light-glow); }
    100% { transform: scale(1); }
}

/* Original Sliders for EQ and other controls */
.pitch-slider, .eq-slider, .crossfader-slider {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #333, #555);
    border-radius: 10px;
    height: 6px;
    outline: none;
    transition: all 0.3s;
}

.pitch-slider::-webkit-slider-thumb,
.eq-slider::-webkit-slider-thumb,
.crossfader-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #4ecdc4, #45b7d1);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.eq-slider {
    writing-mode: bt-lr;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    width: 6px;
    height: 100px;
}

/* EQ Controls */
.eq-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.eq-band label {
    font-size: 0.8em;
    color: #aaaaaa;
    font-weight: 500;
}

/* Crossfader Section */
.crossfader-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-radius: 15px;
    padding: 25px 15px;
    border: 2px solid #555;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.crossfader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.crossfader-container label {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #ff6b6b;
    font-size: 14px;
}

.crossfader-slider-container {
    position: relative;
    width: 220px;
    height: 60px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 8px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 -2px 4px rgba(255, 255, 255, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.crossfader-slider.square-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, 
        #4ecdc4 0%, 
        #4ecdc4 25%, 
        #666 45%, 
        #666 55%, 
        #ff6b6b 75%, 
        #ff6b6b 100%);
    border-radius: 4px;
    outline: none;
    border: 1px solid #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.crossfader-slider.square-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 40px;
    background: linear-gradient(145deg, #666, #444, #222);
    border: 2px solid #888;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.6);
    transition: all 0.1s ease;
}

.crossfader-slider.square-slider::-webkit-slider-thumb:hover {
    background: linear-gradient(145deg, #777, #555, #333);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.9),
        inset 0 1px 3px rgba(255, 255, 255, 0.25),
        inset 0 -1px 3px rgba(0, 0, 0, 0.7);
}

.crossfader-slider.square-slider::-webkit-slider-thumb:active {
    background: linear-gradient(145deg, #555, #333, #111);
    box-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.9),
        inset 0 1px 4px rgba(0, 0, 0, 0.8),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.crossfader-slider.square-slider::-moz-range-thumb {
    width: 24px;
    height: 40px;
    background: linear-gradient(145deg, #666, #444, #222);
    border: 2px solid #888;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.crossfader-labels {
    display: flex;
    justify-content: space-between;
    width: 220px;
    font-weight: bold;
    color: #4ecdc4;
    font-size: 12px;
}

.master-controls {
    display: flex;
    gap: 30px;
    align-items: end;
}

.master-volume {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.broadcast-control {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.broadcast-btn {
    background: linear-gradient(145deg, #2ed573, #20bf6b);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.3);
}

.broadcast-btn:hover {
    background: linear-gradient(145deg, #20bf6b, #2ed573);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.5);
}

.master-volume label {
    font-size: 0.9em;
    color: #aaaaaa;
    font-weight: 500;
}

/* Livestream Player Section */
.livestream-player-section {
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    border: 2px solid #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.livestream-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.livestream-left-section h3 {
    color: #ff6b6b;
    font-family: 'Orbitron', monospace;
    margin: 0;
    font-size: 18px;
}

.livestream-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.track-cards-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.livestream-control-card {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-radius: 12px;
    padding: 15px;
    border: 2px solid #555;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.control-card-header {
    text-align: center;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', monospace;
}

.livestream-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.control-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.volume-control-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.volume-control-live label {
    font-size: 10px;
    color: #aaaaaa;
    font-weight: 600;
    text-transform: uppercase;
}

.volume-control-live span {
    font-size: 12px;
    color: #aaaaaa;
    min-width: 35px;
}

.livestream-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.livestream-display {
    display: flex;
    align-items: center;
}

.livestream-artwork {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    border: 2px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #888;
    flex-shrink: 0;
}

.livestream-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

 

 

.next-song-header {
    text-align: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #9a9aff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.livestream-card-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.livestream-info {
    flex: 1;
    min-width: 0;
}

.livestream-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
    
}

.livestream-artist {
    font-size: 24px;
    color: #4ecdc4;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
     word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
}

.livestream-album {
    font-size: 20px;
    color: #ffa726;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
     word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
}

.livestream-genre {
    font-size: 20px;
    color: #9c27b0;
    margin-bottom: 4px;
    font-style: italic;
     word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
}

.livestream-duration,
.livestream-listeners,
.livestream-bitrate {
    font-size: 16px;
    color: #66bb6a;
    margin-bottom: 2px;
    font-family: 'Courier New', monospace;
}

.livestream-status {
    font-size: 18px;
    color: #888;
    margin-top: 4px;
}

/* Track Progress Styles */
.track-progress {
    margin: 8px 0;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-times {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    color: #cccccc;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
}

.livestream-progress {
    display: flex;
    justify-content: center;
    align-items: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(145deg, #ff6b6b, #e55555);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-indicator.active {
    opacity: 1;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Library Section */
.library-section {
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #444;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.library-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8em;
    font-weight: 700;
    color: #4ecdc4;
}

.library-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 1px solid #555;
    border-radius: 8px;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 1em;
    width: 250px;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #4ecdc4;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

.search-input::placeholder {
    color: #aaaaaa;
}

.library-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.library-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 1px solid #555;
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.9em;
    outline: none;
    cursor: pointer;
}

.filter-select option {
    background: #2a2a2a;
    color: #ffffff;
}

/* Track List */
.track-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #444;
    border-radius: 10px;
    background: linear-gradient(145deg, #252525, #1a1a1a);
}

.track-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
}

.track-item:hover {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    transform: translateX(5px);
}

.track-item:last-child {
    border-bottom: none;
}

.track-artwork {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(145deg, #444, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #666;
}

.track-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.track-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.track-name {
    font-size: 1.1em;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-meta {
    font-size: 0.9em;
    color: #aaaaaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    color: #4ecdc4;
    font-weight: 500;
}

.track-actions {
    display: flex;
    gap: 10px;
}

.load-btn {
    background: linear-gradient(145deg, #4ecdc4, #45b7d1);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.load-btn:hover {
    background: linear-gradient(145deg, #45b7d1, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(69, 183, 209, 0.4);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #aaaaaa;
    font-size: 1.1em;
}

.error {
    text-align: center;
    padding: 40px;
    color: #ff4757;
    font-size: 1.1em;
}

/* Scrollbar Styles */
.track-list::-webkit-scrollbar {
    width: 8px;
}

.track-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.track-list::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #4ecdc4, #45b7d1);
    border-radius: 4px;
}

.track-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #45b7d1, #4ecdc4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mixer-console {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .crossfader-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .dj-mixer {
        padding: 10px;
    }
    
    .mixer-title {
        font-size: 2em;
    }
    
    .deck-controls {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .eq-controls {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .library-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .library-controls {
        justify-content: center;
    }
    
    .search-input {
        width: 100%;
    }
    
    .track-item {
        grid-template-columns: 50px 1fr auto;
        gap: 10px;
    }
    
    .track-actions {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .mixer-console {
        padding: 15px;
    }
    
    .deck {
        padding: 15px;
    }
    
    .crossfader-section {
        padding: 15px 10px;
    }
    
    .library-section {
        padding: 15px;
    }
    
    .track-item {
        grid-template-columns: 1fr auto;
        padding: 10px;
    }
    
    .track-artwork {
        display: none;
    }
    
    /* Livestream responsive layout */
    .livestream-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .livestream-cards-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .livestream-control-card,
    .livestream-info-card,
    .next-song-info-card {
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: auto;
        padding: 15px;
    }
    
    .control-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .livestream-card-content {
        gap: 10px;
    }
    
    .livestream-artwork {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .livestream-title {
        font-size: 16px;
    }
    
    .livestream-artist {
        font-size: 14px;
    }
    
    .livestream-album,
    .livestream-genre {
        font-size: 12px;
    }
    
    .livestream-duration,
    .livestream-listeners,
    .livestream-bitrate,
    .livestream-status {
        font-size: 10px;
    }
}

/* Responsive livestream cards */
@media (max-width: 1024px) {
    .livestream-cards-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .livestream-control-card,
    .livestream-info-card,
    .next-song-info-card {
        min-height: 200px;
        padding: 12px;
    }
    
    .livestream-artwork {
        width: 70px;
        height: 70px;
        font-size: 20px;
    }
    
    .livestream-title {
        font-size: 16px;
    }
    
    .livestream-artist {
        font-size: 14px;
    }
    
    .control-buttons {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .livestream-player-section {
        padding: 10px;
        margin: 15px 0;
    }
    
    .livestream-cards-container {
        gap: 10px;
    }
    
    .livestream-control-card,
    .livestream-info-card,
    .next-song-info-card {
        min-height: 180px;
        padding: 10px;
    }
    
    .livestream-artwork {
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
    
    .livestream-card-content {
        gap: 10px;
    }
    
    .control-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

@media (min-width: 1025px) {
    .livestream-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}