/* Gyangeet Stereo Deck - Brushed Aluminum Theme */

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

:root {
    /* Metallic color palette - matching mockup exactly */
    --metal-light: #d0d0d0;
    --metal-mid: #b8b8b8;
    --metal-dark: #a0a0a0;
    --metal-shadow: #888888;
    --metal-highlight: #e0e0e0;

    /* Main deck background */
    --deck-bg: linear-gradient(180deg, #c8c8c8 0%, #b0b0b0 50%, #a8a8a8 100%);

    /* Panel inset */
    --panel-inset: #909090;

    /* Display colors */
    --display-bg: #1a1a1a;

    /* LED colors */
    --led-red: #ff4444;
    --led-green: #44ff44;
    --led-blue: #0d51fe;
    --led-off: #444444;

    /* Text */
    --text-dark: #444444;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: radial-gradient(ellipse at center, #5a5a5a 0%, #4d4d4d 50%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

a {
    text-decoration: none;
    color: #3c3c3c;
}

a:hover {
    color: #fff;
}

/* Main Deck Container */
.stereo-deck {
    width: 90%;
    max-width: 1600px;
    min-width: 800px;
    /* Brushed aluminum effect */
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            rgba(255, 255, 255, 0.03) 2px),
        linear-gradient(180deg, #c0c0c0 0%, #b0b0b0 30%, #a8a8a8 70%, #b8b8b8 100%);
    border-radius: 6px;
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #888888;
    /* Blurred shadow below the deck */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

/* ========== HEADER ========== */
.deck-header {
    background: linear-gradient(180deg, #555555 0%, #404040 30%, #333333 70%, #2a2a2a 100%);
    padding: 10px 20px;
    text-align: center;
    border-bottom: 3px solid #707070;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.6rem;
    font-weight: 500;
    color: #e8e8e8;
    margin-bottom: 20px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.logo-hindi {
    font-size: 1.6rem;
    margin-left: 5px;
    color: #d0d0d0;
}

/* ========== MAIN BODY ========== */
.deck-body {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 0;
    padding: 0;
}

.panel {
    padding: 15px 12px;
    /* Brushed aluminum panel */
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(0, 0, 0, 0.015) 1px,
            rgba(255, 255, 255, 0.02) 2px),
        linear-gradient(180deg, #c4c4c4 0%, #b4b4b4 50%, #a8a8a8 100%);
    border-right: 1px solid #777777;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2);
}

.panel:last-child {
    border-right: none;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

/* ========== PLAYLIST PANEL ========== */
.playlist-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;

}

.panel-inset {
    background: linear-gradient(180deg, #888888 0%, #999999 100%);
    border-radius: 3px;
    padding: 4px;
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.35),
        inset -1px -1px 3px rgba(255, 255, 255, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.2);
    max-height: 365px;
    overflow-y: auto;
    overflow-x: hidden;
}

.playlist-container {
    background: linear-gradient(180deg, #aaaaaa 0%, #bcbcbc 50%, #b0b0b0 100%);
    border-radius: 2px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 1px 1px 2px rgba(0, 0, 0, 0.1),
        inset -1px -1px 1px rgba(255, 255, 255, 0.2);
}

.playlist-label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.download-all-btn {
    background: linear-gradient(180deg, #a8a8a8 0%, #8c8c8c 50%, #787878 100%);
    border: 1px solid #666666;
    border-radius: 3px;
    padding: 10px 10px;
    color: #333333;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.1s ease;
    /* margin-top: 10px; */
    width: 100%;
    text-align: center;
}

.download-all-btn:hover {
    background: linear-gradient(180deg, #b8b8b8 0%, #9c9c9c 50%, #888888 100%);
}

.download-all-btn:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* ========== SPECTRUM PANEL ========== */
.spectrum-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 5px solid #7a7a7a;
    border-right: 5px solid #7a7a7a;
    padding: 12px;
}

.spectrum-display {
    background: linear-gradient(180deg, #181818 0%, #0a0a0a 100%);
    border-radius: 4px;
    padding: 4px;
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid #333333;
}

.spectrum-screen {
    background: #2c2c2c;
    border-radius: 2px;
    min-height: 350px;
    /* max-height: 350px;  */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.spectrum-video {
    width: 70%;
    height: 100%;
    /* object-fit: cover; */
    mix-blend-mode: screen;
    display: none;
    max-height: 400px;
    filter: contrast(120%) brightness(120%);

}

.spectrum-video.playing {
    display: block;
}

.loading-indicator {
    position: absolute;
    width: auto;
    height: 70%;
    mix-blend-mode: screen;
    display: none;
}

.loading-indicator.visible {
    display: block;
}

.time-display {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ddff;
    text-shadow: 0 0 8px rgba(0, 221, 255, 0.5);
    letter-spacing: 3px;
}

/* ========== TRANSPORT CONTROLS ========== */
.transport-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 5px 8px;
    background: linear-gradient(180deg, #b0b0b0 0%, #989898 50%, #888888 100%);
    border-radius: 3px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid #777777;
    margin-top: 10px;
}

.transport-btn {
    width: 80px;
    height: 26px;
    background: linear-gradient(180deg, #d0d0d0 0%, #a8a8a8 40%, #909090 100%);
    border: 1px solid #606060;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow:
        0 2px 3px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.08s ease;
}

.transport-btn:hover {
    background: linear-gradient(180deg, #e0e0e0 0%, #b8b8b8 40%, #a0a0a0 100%);
}

.transport-btn:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #a0a0a0 0%, #909090 40%, #808080 100%);
    transform: translateY(1px);
}

.transport-btn svg {
    width: 12px;
    height: 12px;
    fill: #2a2a2a;
}

/* ========== VOLUME PANEL ========== */
.volume-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 40px;
}

/* Volume Knob */
.volume-knob-container {
    padding: 5px;
    position: relative;
    width: 140px;
    height: 140px;
}

/* Knob marks (tick marks) */
.knob-marks {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    pointer-events: none;
}

.knob-marks .mark {
    stroke: #555;
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* Every 3rd mark is longer (30 degree intervals) */
.knob-marks .mark:nth-child(3n+1) {
    stroke-width: 2;
    stroke: #444;
}

.volume-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.knob-body {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Realistic metallic knob gradient */
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 40%),
        conic-gradient(from 0deg, #e8e8e8, #a0a0a0, #707070, #a0a0a0, #e8e8e8, #909090, #606060, #909090, #d8d8d8);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #666666;
}

.knob-indicator {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #393939 0%, #707070 100%);
    border-radius: 1px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* .knob-center {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(145deg, #c0c0c0 0%, #808080 100%);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid #555555;
} */

/* LED Indicators */
.led-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 6px 0;
}

.led-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.led {
    width: 24px;
    height: 14px;
    border-radius: 3px;
    border: 2px solid #3a3a3a;
    box-shadow:
        inset 0 2px 3px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.led-red {
    background: radial-gradient(circle at 50% 50%, #662222 0%, #441111 100%);
}

.led-red.active {
    background: radial-gradient(circle at 30% 30%, #ff8888 0%, #ff4444 40%, #cc2222 100%);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        0 0 8px rgba(255, 68, 68, 0.7),
        0 0 15px rgba(255, 68, 68, 0.4);
}

.led-green {
    background: radial-gradient(circle at 50% 50%, #226622 0%, #114411 100%);
}

.led-green.active {
    background: radial-gradient(circle at 30% 30%, #88ff88 0%, #44ff44 40%, #22cc22 100%);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        0 0 8px rgba(68, 255, 68, 0.7),
        0 0 15px rgba(68, 255, 68, 0.4);
}

.led-blue {
    background: radial-gradient(circle at 50% 50%, #223366 0%, #112244 100%);
}

.led-blue.active {
    background: radial-gradient(circle at 30% 30%, #88bbff 0%, #4488ff 40%, #2266cc 100%);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        0 0 8px rgba(68, 136, 255, 0.7),
        0 0 15px rgba(68, 136, 255, 0.4);
}

.led-label {
    font-size: 0.65rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Like Section */
.like-section {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
}

.like-btn {
    width: 70px;
    height: 70px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.like-btn svg {
    width: 100%;
    height: 100%;
    fill: #cc3333;
}

.like-label {
    font-size: 1.0rem;
    color: var(--text-dark);
}

.like-count {
    font-size: 1.0rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Toggle Switches */
.toggle-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 8px 0;
}

.toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.toggle-switch {
    width: 20px;
    height: 40px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
}

.toggle-handle {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(180deg, #888888 0%, #555555 100%);
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: top 0.12s ease;
}

.toggle-switch.active .toggle-handle {
    top: 20px;
}

.toggle-label {
    font-size: 1.0rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ========== FOOTER ========== */
.deck-footer {
    background: linear-gradient(180deg, #b8b8b8 0%, #a0a0a0 50%, #909090 100%);
    padding: 8px 20px;
    text-align: center;
    color: var(--text-dark);
    font-size: 0.85rem;
    border-top: 1px solid #888888;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ========== RESPONSIVE - PORTRAIT ========== */
@media (max-width: 650px) {
    body {
        padding: 10px;
        align-items: flex-start;
    }

    .stereo-deck {
        max-width: 100%;
    }

    .deck-header {
        padding: 12px 15px;
    }

    /* .logo {
        font-size: 1.2rem;
        display: block;
        letter-spacing: 2px;
        margin-bottom: 2px;
    }

    .logo-hindi {
        display: block;
        font-size: 1.1rem;
        margin-left: 0;
        margin-top: 3px;
    } */

    .deck-body {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .panel {
        border-right: none;
        border-bottom: 1px solid #888888;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 1px 0 rgba(0, 0, 0, 0.1);
    }

    .panel:last-child {
        border-bottom: none;
    }

    /* Playlist panel */
    .playlist-panel {
        order: 1;
        padding: 15px;
    }

    .playlist-container {
        min-height: 70px;
    }

    /* Spectrum panel */
    .spectrum-panel {
        order: 2;
        border-left: none;
        border-right: none;
        padding: 12px 15px;
    }

    .spectrum-screen {
        min-height: 100px;
    }

    .transport-controls {
        padding: 6px 10px;
        gap: 4px;
    }

    .transport-btn {
        width: 32px;
        height: 28px;
    }

    /* Volume panel */
    .volume-panel {
        order: 3;
        padding: 20px 15px 15px;
    }

    .volume-knob {
        width: 90px;
        height: 90px;
    }

    .knob-indicator {
        top: 8px;
        width: 4px;
        height: 12px;
    }

    .knob-center {
        width: 26px;
        height: 26px;
    }

    .led-row {
        gap: 30px;
        padding: 12px 0;
    }

    .led {
        width: 18px;
        height: 18px;
    }

    .led-label {
        font-size: 0.7rem;
    }

    /* .toggle-row {
        gap: 50px;
        padding: 12px 0;
    }

    .toggle-switch {
        width: 12px;
        height: 22px;
    }

    .toggle-handle {
        width: 8px;
        height: 8px;
    }

    .toggle-switch.active .toggle-handle {
        top: 11px;
    }

    .toggle-label {
        font-size: 0.7rem;
    } */
}

/* ========== ANIMATIONS ========== */
@keyframes pulse-glow {

    0%,
    100% {
        filter: brightness(1.0);
    }

    50% {
        filter: brightness(0.5);
    }
}

.led.active {
    animation: pulse-glow 2.0s ease-in-out infinite;
}

/* ========== PLAYLIST STYLES ========== */
.playlist-container {
    background: linear-gradient(180deg, #aaaaaa 0%, #bcbcbc 50%, #b0b0b0 100%);
    border-radius: 2px;
    min-height: 160px;
    display: block;
    overflow-y: auto;
    box-shadow:
        inset 1px 1px 2px rgba(0, 0, 0, 0.1),
        inset -1px -1px 1px rgba(255, 255, 255, 0.2);
}

.playlist {
    list-style: none;
    padding: 4px;
    margin: 0;
}

.playlist-item {
    padding: 8px 10px;
    margin: 2px 0;
    background: linear-gradient(180deg, #c8c8c8 0%, #b8b8b8 100%);
    border-radius: 3px;
    font-size: 0.8rem;
    color: #333333;
    cursor: pointer;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.1s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item:hover {
    background: linear-gradient(180deg, #d8d8d8 0%, #c8c8c8 100%);
}

.playlist-item.active {
    background: linear-gradient(180deg, #6aa84f 0%, #5a9840 100%);
    color: white;
    font-weight: 500;
}

.playlist-item.error {
    color: #cc3333;
    text-align: center;
    cursor: default;
}

/* ========== SEEK BAR ========== */
.seek-bar-container {
    padding: 8px 4px 4px;
    background-color: #1e1e1e;
}

.seek-bar {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(180deg, #222 0%, #333 100%);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e0e0e0 0%, #a0a0a0 100%);
    cursor: pointer;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border: 1px solid #666;
}

.seek-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e0e0e0 0%, #a0a0a0 100%);
    cursor: pointer;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border: 1px solid #666;
}

.duration-display {
    display: flex;
    justify-content: space-between;
    padding: 4px 2px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.0rem;
    color: #00ddff;
    text-shadow: 0 0 5px rgba(0, 221, 255, 0.3);
}

/* ========== VOLUME PERCENTAGE ========== */
.volume-percent {
    font-size: 1.0rem;
    font-weight: bold;
    color: #333;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.knob-center {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(145deg, #c0c0c0 0%, #808080 100%);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid #555555;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Old YouTube drawer removed - using inline embed instead */

/* ========== LIKE BUTTON ANIMATION ========== */
.like-btn.liked svg {
    animation: like-pop 0.3s ease;
}

@keyframes like-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* ========== INLINE YOUTUBE EMBED ========== */
.youtube-inline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    z-index: 10;
}

.youtube-inline.visible {
    display: flex;
}

.youtube-inline iframe {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 4px 4px 0 0;
}

.youtube-inline .youtube-music-btn {
    padding: 8px 15px;
    background: linear-gradient(180deg, #ff0000 0%, #cc0000 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.youtube-inline .youtube-music-btn:hover {
    background: linear-gradient(180deg, #ff3333 0%, #dd0000 100%);
}

/* ========== LIKE BUTTON WRAPPER ========== */
.like-btn-wrapper {
    position: relative;
    display: inline-block;
}

.like-btn-wrapper .like-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    font-size: 1.0rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 2px 6px;
    border-radius: 10px;
    pointer-events: none;
}

/* ========== YOUTUBE MUSIC BUTTON (Panel) ========== */
.youtube-music-btn-panel {
    display: block;
    background: linear-gradient(180deg, #cc0000 0%, #990000 50%, #880000 100%);
    border: 1px solid #660000;
    border-radius: 3px;
    padding: 10px 10px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.1s ease;
    margin-top: 10px;
}

.youtube-music-btn-panel:hover {
    background: linear-gradient(180deg, #dd2222 0%, #aa0000 50%, #990000 100%);
    color: #ffffff;
}

.youtube-music-btn-panel:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* ========== TOAST MESSAGE ========== */
.toast-message {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.toast-message.visible {
    opacity: 1;
    visibility: visible;
}

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

::-webkit-scrollbar-track {
    background: #2c2c2c;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #6f6f6f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}


/* ========== FOOTER SHARE ========== */
.footer-share {
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-share:hover {
    color: #fff;
}

/* ========== RESPONSIVE UPDATES ========== */
@media (max-width: 850px) {
    .stereo-deck {
        width: 95%;
        min-width: auto;
    }
}

@media (max-width: 650px) {
    .stereo-deck {
        width: 100%;
        min-width: auto;
    }

    .youtube-drawer {
        width: 95%;
        height: 350px;
    }

    .playlist-container {
        min-height: 100px;
        max-height: 250px;
    }

    .spectrum-video {
        height: 250px;
    }

    .loading-indicator {
        min-height: 250px;
    }

    .loading-indicator.visible {
        min-height: 250px;
    }

    .spectrum-screen {
        height: 250px;
    }

    .transport-btn {
        width: 125px;
        height: 50px;
    }

    .toggle-switch {
        width: 25px;
        height: 50px;
    }

    .toggle-handle {
        width: 20px;
        height: 20px;
    }

    .toggle-switch.active .toggle-handle {
        top: 20px;
    }


}