/* Winamp Skin Styles */
.winamp-player {
    background: #222;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace;
    color: #0f0;
    user-select: none;
    border: 2px solid #555;
    border-top-color: #777;
    border-left-color: #777;
    border-right-color: #333;
    border-bottom-color: #333;
}

.winamp-header-bar {
    background: linear-gradient(90deg, #000088 0%, #0000ff 100%);
    color: white;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border: 1px solid #777;
}

.lcd-display {
    background: #000;
    border: 2px inset #555;
    padding: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.scrolling-text {
    white-space: nowrap;
    position: absolute;
    animation: scroll-text 20s linear infinite;
    font-size: 16px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #0f0;
}

@keyframes scroll-text {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.winamp-timer {
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 24px;
    font-weight: bold;
}

.winamp-kbps {
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 10px;
    color: #0f0;
}

.winamp-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.winamp-btn {
    background: linear-gradient(180deg, #ccc 0%, #999 100%);
    border: 1px outset #fff;
    border-radius: 2px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
}

.winamp-btn:active {
    border-style: inset;
    background: #999;
}

.winamp-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #ccc;
}

.winamp-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: #000;
    border: 1px inset #555;
    border-radius: 2px;
}

.winamp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #ccc;
    border: 1px outset #fff;
    cursor: pointer;
}

/* Audio Visualizer */
.winamp-visualizer {
    position: absolute;
    left: 10px;
    bottom: 5px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 25px;
    width: 80px;
    z-index: 2; /* On top of scrolling text if needed */
}

.viz-bar {
    width: 6px;
    background: linear-gradient(to top, #0f0 60%, #ff0 80%, #f00 100%);
    height: 2px;
    opacity: 0.8;
    transition: height 0.05s ease;
}
