/* === 📼 RETRO CASSETTE BOOMBOX THEME === */

/* === CSS Variables === */
:root {
    /* Retro Color Palette */
    --boombox-body: #2c2c2c;
    --boombox-dark: #1a1a1a;
    --boombox-light: #3d3d3d;
    --boombox-edge: #444;
    
    /* Cassette Colors */
    --cassette-black: #1a1a1a;
    --cassette-cream: #f5f0e1;
    --cassette-beige: #e8dcc8;
    --label-lines: #d4c9b5;
    
    /* Retro Accent Stripes */
    --stripe-red: #d94848;
    --stripe-blue: #4a90c2;
    --stripe-yellow: #e8c545;
    --stripe-green: #5cb85c;
    --stripe-orange: #e8813c;
    --stripe-purple: #8e6bb3;
    --stripe-teal: #45a5a5;
    --stripe-pink: #d47ba3;
    
    /* LED/Display Colors */
    --led-green: #39ff14;
    --led-red: #ff3131;
    --led-amber: #ffbf00;
    --led-bg: #1a2f1a;
    
    /* Chrome/Metal */
    --chrome-light: #e0e0e0;
    --chrome-mid: #a0a0a0;
    --chrome-dark: #606060;
    
    /* Text */
    --text-light: #f0f0f0;
    --text-cream: #f5f0e1;
    --text-dark: #2c2c2c;
    
    /* Warm Background */
    --bg-warm: #3d3428;
    --bg-darker: #2a2520;
}

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

body {
    font-family: 'VT323', monospace;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-darker) 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(216, 152, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 90, 43, 0.1) 0%, transparent 50%);
}

/* === APP LAYOUT - Side by Side === */
.app-layout {
    display: flex;
    gap: 1.5rem;
    max-width: 1450px;
    width: 100%;
    align-items: flex-start;
}

/* === BOOMBOX CONTAINER === */
.boombox {
    max-width: 1100px;
    width: 100%;
    background: linear-gradient(180deg, var(--boombox-light) 0%, var(--boombox-body) 10%, var(--boombox-dark) 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 3px solid var(--boombox-edge);
}

/* === BOOMBOX TOP (Handle & Brand) === */
.boombox-top {
    background: linear-gradient(180deg, var(--boombox-light) 0%, var(--boombox-body) 100%);
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px solid var(--boombox-dark);
}

.handle {
    width: 200px;
    height: 12px;
    background: linear-gradient(180deg, var(--chrome-light) 0%, var(--chrome-mid) 50%, var(--chrome-dark) 100%);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.brand-label {
    text-align: center;
}

.brand-name {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2rem;
    color: var(--chrome-light);
    text-shadow: 
        2px 2px 0 var(--boombox-dark),
        0 0 10px rgba(255, 200, 100, 0.3);
    letter-spacing: 3px;
}

.brand-model {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: var(--chrome-mid);
    letter-spacing: 4px;
    margin-top: 0.25rem;
}

/* === BOOMBOX BODY === */
.boombox-body {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 0;
    padding: 1.5rem;
    background: var(--boombox-body);
}

/* === SPEAKERS === */
.speaker {
    background: linear-gradient(145deg, #383838, #252525);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.5),
        0 2px 0 rgba(255, 255, 255, 0.05);
}

.speaker-grille {
    width: 140px;
    height: 140px;
    background: 
        repeating-linear-gradient(
            0deg,
            #1a1a1a 0px,
            #1a1a1a 2px,
            #2a2a2a 2px,
            #2a2a2a 4px
        ),
        repeating-linear-gradient(
            90deg,
            #1a1a1a 0px,
            #1a1a1a 2px,
            #2a2a2a 2px,
            #2a2a2a 4px
        );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 5px 15px rgba(0, 0, 0, 0.6),
        0 2px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid #1a1a1a;
}

.speaker-cone {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #4a4a4a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.speaker-label {
    margin-top: 0.75rem;
    font-size: 1.2rem;
    color: var(--chrome-mid);
    font-weight: bold;
    letter-spacing: 2px;
}

/* === CONTROL PANEL === */
.control-panel {
    background: linear-gradient(180deg, #353535 0%, #2a2a2a 100%);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.4),
        0 2px 0 rgba(255, 255, 255, 0.05);
}

/* === LED DISPLAY === */
.led-display {
    background: #0a0a0a;
    border-radius: 8px;
    padding: 0.75rem;
    border: 2px solid #1a1a1a;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.led-screen {
    background: var(--led-bg);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.led-label {
    font-size: 0.7rem;
    color: var(--led-green);
    opacity: 0.7;
    letter-spacing: 2px;
}

.led-text {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    color: var(--led-green);
    text-shadow: 0 0 10px var(--led-green);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: led-flicker 3s infinite;
}

@keyframes led-flicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
}

.led-indicators {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.indicator {
    font-size: 0.75rem;
    color: #333;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.indicator.active {
    color: var(--led-green);
    text-shadow: 0 0 8px var(--led-green);
}

#indicatorRec.active {
    color: var(--led-red);
    text-shadow: 0 0 8px var(--led-red);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* === CASSETTE DECKS === */
.cassette-decks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.deck {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 10px;
    padding: 0.75rem;
    border: 2px solid #252525;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.6);
}

.deck-frame {
    background: var(--cassette-cream);
    border-radius: 6px;
    padding: 0.5rem;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 5px rgba(0, 0, 0, 0.3);
}

.deck-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.deck-letter {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.deck-a .deck-letter { color: var(--stripe-red); }
.deck-b .deck-letter { color: var(--stripe-blue); }

.deck-status {
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    padding: 0.15rem 0.5rem;
    background: #ddd;
    color: #666;
    border-radius: 3px;
    letter-spacing: 1px;
}

.deck-status.playing {
    background: var(--led-green);
    color: #000;
    animation: status-glow 1s infinite;
}

@keyframes status-glow {
    0%, 100% { box-shadow: 0 0 5px var(--led-green); }
    50% { box-shadow: 0 0 15px var(--led-green); }
}

/* === TAPE COMPARTMENT === */
.tape-compartment {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 0.5rem;
    border: 2px solid #333;
}

.cassette-window {
    background: linear-gradient(180deg, #f5f0e1 0%, #e8dcc8 100%);
    border-radius: 4px;
    padding: 0.5rem;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tape-visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.tape-reel {
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 50%;
    position: relative;
    box-shadow: 
        inset 0 0 5px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.reel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--cassette-cream);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.reel-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 10px;
    background: #444;
    transform-origin: center top;
}

.reel-spoke:nth-child(2) { transform: translate(-50%, 0) rotate(0deg); }
.reel-spoke:nth-child(3) { transform: translate(-50%, 0) rotate(120deg); }
.reel-spoke:nth-child(4) { transform: translate(-50%, 0) rotate(240deg); }

.tape-strip {
    flex: 1;
    height: 4px;
    background: #4a3728;
    margin: 0 4px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Spinning reels animation */
.deck.playing .tape-reel {
    animation: spin-reel 1s linear infinite;
}

@keyframes spin-reel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === CASSETTE LABEL === */
.cassette-label {
    background: var(--cassette-cream);
    border-radius: 3px;
    overflow: hidden;
}

.label-stripes {
    display: flex;
    height: 6px;
}

.stripe {
    flex: 1;
}

.stripe.red { background: var(--stripe-red); }
.stripe.blue { background: var(--stripe-blue); }
.stripe.yellow { background: var(--stripe-yellow); }
.stripe.green { background: var(--stripe-green); }
.stripe.orange { background: var(--stripe-orange); }
.stripe.purple { background: var(--stripe-purple); }
.stripe.teal { background: var(--stripe-teal); }
.stripe.pink { background: var(--stripe-pink); }

.label-text {
    padding: 0.25rem 0.5rem;
    background: repeating-linear-gradient(
        to bottom,
        var(--cassette-cream) 0px,
        var(--cassette-cream) 7px,
        var(--label-lines) 7px,
        var(--label-lines) 8px
    );
}

.tape-title {
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    color: var(--text-dark);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === HEAD ASSEMBLY === */
.head-assembly {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.25rem;
    margin-top: 0.25rem;
}

.tape-head {
    width: 20px;
    height: 8px;
    background: linear-gradient(180deg, #888 0%, #555 100%);
    border-radius: 2px;
}

.pinch-roller {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.capstan {
    width: 4px;
    height: 8px;
    background: linear-gradient(180deg, #aaa 0%, #666 100%);
    border-radius: 2px;
}

/* === DECK INFO === */
.deck-info {
    margin-top: 0.5rem;
}

.time-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.progress-tape {
    flex: 1;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--stripe-red), var(--stripe-orange));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 3px;
}

.youtube-player {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

/* === VU METERS === */
.vu-meters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0.5rem;
    background: #1a1a1a;
    border-radius: 6px;
}

.vu-meter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vu-label {
    font-size: 0.9rem;
    color: var(--chrome-mid);
    font-weight: bold;
}

#vuMeterL, #vuMeterR {
    background: #0a0a0a;
    border-radius: 3px;
    border: 1px solid #333;
}

/* === TRANSPORT CONTROLS === */
.transport-section {
    padding: 0.5rem;
}

.transport-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.transport-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    min-width: 60px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    transition: all 0.15s;
    box-shadow: 
        0 4px 0 #1a1a1a,
        0 6px 10px rgba(0, 0, 0, 0.3);
}

.transport-btn:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #1a1a1a,
        0 3px 5px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.btn-text {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.btn-rew, .btn-ff {
    background: linear-gradient(180deg, #4a4a4a 0%, #353535 100%);
    color: var(--chrome-light);
}

.btn-play {
    background: linear-gradient(180deg, var(--stripe-green) 0%, #3d8b3d 100%);
    color: white;
    min-width: 80px;
}

.btn-play:hover {
    background: linear-gradient(180deg, #6fcf6f 0%, var(--stripe-green) 100%);
}

.btn-stop {
    background: linear-gradient(180deg, #5a5a5a 0%, #404040 100%);
    color: var(--chrome-light);
}

.btn-record {
    background: linear-gradient(180deg, #4a4a4a 0%, #353535 100%);
    color: var(--chrome-mid);
}

.btn-record.active {
    background: linear-gradient(180deg, var(--stripe-red) 0%, #a33 100%);
    color: white;
}

.btn-record.active .btn-icon {
    animation: blink 1s infinite;
}

/* === CROSSFADE SECTION === */
.crossfade-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #1a1a1a;
    border-radius: 6px;
}

.crossfade-label {
    font-size: 0.8rem;
    color: var(--chrome-mid);
    white-space: nowrap;
    min-width: 70px;
}

.crossfade-track {
    flex: 1;
    position: relative;
}

.crossfader {
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    border: 2px solid #333;
}

.crossfader::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: linear-gradient(180deg, var(--chrome-light) 0%, var(--chrome-mid) 50%, var(--chrome-dark) 100%);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid #555;
}

.crossfade-notches {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 1rem;
}

.crossfade-notches span {
    width: 2px;
    height: 6px;
    background: #444;
    border-radius: 1px;
}

/* === KNOBS SECTION === */
.knobs-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
}

.knob-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.knob-label {
    font-size: 0.7rem;
    color: var(--chrome-mid);
    letter-spacing: 1px;
    text-align: center;
}

.knob-container {
    position: relative;
    width: 50px;
    height: 50px;
}

.knob-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.knob {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #3a3a3a 0%, #252525 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    border: 2px solid #444;
}

.knob::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #555 0%, #333 100%);
    border-radius: 50%;
}

.knob-indicator {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 10px;
    background: var(--stripe-orange);
    border-radius: 2px;
    box-shadow: 0 0 5px var(--stripe-orange);
}

.knob-value {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: var(--led-amber);
    text-shadow: 0 0 5px var(--led-amber);
}

/* === FADE DURATION === */
.fade-duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.fade-buttons {
    display: flex;
    gap: 0.25rem;
}

.fade-btn {
    padding: 0.4rem 0.6rem;
    border: 1px solid #444;
    background: #2a2a2a;
    color: var(--chrome-mid);
    border-radius: 3px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.fade-btn:hover {
    background: #3a3a3a;
    color: var(--chrome-light);
}

.fade-btn.active {
    background: var(--stripe-orange);
    border-color: var(--stripe-orange);
    color: white;
    box-shadow: 0 0 10px rgba(232, 129, 60, 0.5);
}

/* === BOOMBOX BOTTOM (Tape Collection) === */
/* === TAPE COLLECTION SIDEBAR === */
.tape-collection {
    width: 320px;
    min-width: 320px;
    background: linear-gradient(180deg, var(--boombox-light) 0%, var(--boombox-body) 10%, var(--boombox-dark) 100%);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    border: 3px solid var(--boombox-edge);
    max-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 1.5rem;
}

.collection-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.collection-icon {
    font-size: 1.5rem;
}

.collection-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    color: var(--chrome-light);
    letter-spacing: 2px;
}

.tape-count {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--chrome-mid);
}

/* === ADD TAPE INPUT === */
.add-tape {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.add-tape input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #333;
    background: #1a1a1a;
    color: var(--led-green);
    border-radius: 6px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.add-tape input:focus {
    border-color: var(--led-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.add-tape input::placeholder {
    color: #555;
}

.btn-record-new {
    padding: 0.75rem 1.25rem;
    border: none;
    background: linear-gradient(180deg, var(--stripe-red) 0%, #a33 100%);
    color: white;
    border-radius: 6px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 3px 0 #722;
}

.btn-record-new:hover {
    background: linear-gradient(180deg, #ff5555 0%, var(--stripe-red) 100%);
}

.btn-record-new:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #722;
}

/* === TAPE RACK (Queue) === */
.tape-rack {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
    min-height: 150px;
}

.empty-rack {
    text-align: center;
    padding: 2rem;
    color: var(--chrome-mid);
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.empty-rack p {
    margin-bottom: 0.25rem;
}

.empty-rack .hint {
    font-size: 0.85rem;
    color: #555;
}

/* === QUEUE ITEMS (Mini Tapes) === */
.queue-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #252525;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.queue-item:hover {
    background: #303030;
    border-color: #444;
}

.queue-item.active {
    border-color: var(--led-green);
    background: rgba(57, 255, 20, 0.1);
}

.queue-item.next {
    border-color: var(--stripe-orange);
    background: rgba(232, 129, 60, 0.1);
}

.queue-number {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: #555;
    width: 25px;
    text-align: center;
}

.queue-tape-icon {
    width: 40px;
    height: 26px;
    background: var(--cassette-cream);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.queue-tape-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--stripe-red) 25%, 
        var(--stripe-blue) 25%, 
        var(--stripe-blue) 50%, 
        var(--stripe-yellow) 50%, 
        var(--stripe-yellow) 75%, 
        var(--stripe-green) 75%
    );
}

.queue-tape-icon::after {
    content: '◉◉';
    font-size: 0.5rem;
    color: #333;
    margin-top: 4px;
}

.queue-info {
    flex: 1;
    min-width: 0;
}

.queue-title {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--chrome-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.queue-duration {
    font-size: 0.85rem;
    color: #555;
}

.queue-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #555;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.queue-remove:hover {
    background: rgba(255, 50, 50, 0.2);
    color: var(--stripe-red);
}

/* === SHORTCUTS PANEL === */
.shortcuts-panel {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #333;
}

.shortcuts-title {
    font-size: 0.8rem;
    color: var(--chrome-mid);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

kbd {
    background: #2a2a2a;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    border: 1px solid #444;
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    color: var(--led-amber);
    box-shadow: 0 2px 0 #111;
}

.shortcuts-grid span {
    color: #666;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--cassette-cream);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: 3px solid var(--cassette-black);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    z-index: 1000;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--stripe-orange);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .app-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .tape-collection {
        width: 100%;
        max-width: 1100px;
        min-width: auto;
        position: static;
        max-height: none;
    }
    
    .tape-rack {
        max-height: 200px;
    }
}

@media (max-width: 900px) {
    body {
        padding: 1rem;
    }
    
    .boombox-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .speaker {
        display: none;
    }
    
    .cassette-decks {
        grid-template-columns: 1fr;
    }
    
    .knobs-section {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .shortcuts-grid {
        grid-template-columns: auto 1fr;
    }
}

@media (max-width: 500px) {
    .brand-name {
        font-size: 1.5rem;
    }
    
    .transport-controls {
        flex-wrap: wrap;
    }
    
    .crossfade-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .crossfade-label {
        display: none;
    }
}
