* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    height: 100dvh;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
}

/* ===== TEMA CLÁSICO WINAMP (DEFAULT) ===== */
body.theme-classic,
.winamp-container.theme-classic {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.winamp-container {
    width: 400px;
    border: 2px solid #444;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    user-select: none;
    height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Header */
.winamp-header {
    background: linear-gradient(90deg, #4a4a4a 0%, #2a2a2a 100%);
    border-bottom: 1px solid #555;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(90deg, #3a3a3a 0%, #2a2a2a 100%);
}

.title-text {
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    font-size: 14px;
}

.theme-selector {
    margin: 0 10px;
}

.theme-selector select {
    background: #333;
    color: #00ff00;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    cursor: pointer;
    outline: none;
}

.theme-selector select:focus {
    border-color: #00ff00;
}

.window-controls {
    display: flex;
    gap: 4px;
}

.window-controls button {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 3px;
    background: #555;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s;
}

.window-controls button:hover {
    background: #777;
}

.close-btn:hover {
    background: #ff4444 !important;
}

/* Panel principal */
.main-panel {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
}

/* Información de la canción */
.song-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid #333;
}

.song-title {
    font-size: 16px;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 12px;
    color: #ccc;
}

/* Visualizador */
.visualizer-container {
    margin: 20px 0;
    text-align: center;
}

#visualizer {
    background: #000;
    border: 1px solid #333;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

/* Controles de reproducción */
.playback-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.control-btn:hover {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.play-btn {
    background: linear-gradient(145deg, #00aa00, #008800) !important;
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.play-btn:hover {
    background: linear-gradient(145deg, #00cc00, #00aa00) !important;
}

/* Barra de progreso */
.progress-container {
    margin: 20px 0;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 8px;
}

.progress-bar {
    position: relative;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    width: 0%;
    transition: width 0.1s;
    border-radius: 4px;
}

#progressSlider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Controles de volumen */
.volume-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.volume-controls i {
    color: #00ff00;
    font-size: 14px;
}

.volume-slider {
    flex: 1;
}

#volumeSlider {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
}

/* Playlist */
.playlist-section {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.playlist-header h3 {
    color: #00ff00;
    font-size: 16px;
}

.add-btn {
    background: linear-gradient(145deg, #00aa00, #008800);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.add-btn:hover {
    background: linear-gradient(145deg, #00cc00, #00aa00);
    transform: translateY(-1px);
}

.playlist-container {
    max-height: 160px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
}

.playlist-placeholder {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 20px;
    border: 2px dashed #444;
    border-radius: 5px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin: 2px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.playlist-item:hover {
    background: rgba(0, 255, 0, 0.1);
}

.playlist-item.active {
    background: rgba(0, 255, 0, 0.2);
    border-left: 3px solid #00ff00;
}

.playlist-item-info {
    flex: 1;
    margin-left: 10px;
}

.playlist-item-title {
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-duration {
    font-size: 10px;
    color: #999;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.2s;
}

.playlist-item:hover .remove-btn {
    opacity: 1;
}

.remove-btn:hover {
    background: rgba(255, 68, 68, 0.2);
}

/* Scrollbar personalizado */
.playlist-container::-webkit-scrollbar {
    width: 8px;
}

.playlist-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.playlist-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.playlist-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== TEMA MODERNO ===== */
body.theme-modern,
.winamp-container.theme-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.theme-modern .winamp-container {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

body.theme-modern .winamp-header {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
}

body.theme-modern .title-text {
    color: #ffffff;
    text-shadow: none;
}

body.theme-modern .main-panel {
    background: #ffffff;
    color: #333;
}

body.theme-modern .song-title {
    color: #667eea;
}

body.theme-modern .song-artist {
    color: #666;
}

body.theme-modern .play-btn {
    background: linear-gradient(145deg, #667eea, #764ba2) !important;
}

body.theme-modern .play-btn:hover {
    background: linear-gradient(145deg, #5a6fd8, #6a4190) !important;
}

body.theme-modern .progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

body.theme-modern .volume-controls i {
    color: #667eea;
}

body.theme-modern #volumeSlider::-webkit-slider-thumb {
    background: #667eea;
}

body.theme-modern .playlist-header h3 {
    color: #667eea;
}

body.theme-modern .add-btn {
    background: linear-gradient(145deg, #667eea, #764ba2);
}

body.theme-modern .add-btn:hover {
    background: linear-gradient(145deg, #5a6fd8, #6a4190);
}

/* ===== TEMA RETRO 90s ===== */
body.theme-retro,
.winamp-container.theme-retro {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
}

body.theme-retro .winamp-container {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #e74c3c;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

body.theme-retro .winamp-header {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    border-bottom: 2px solid #c0392b;
}

body.theme-retro .title-text {
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body.theme-retro .song-title {
    color: #f1c40f;
}

body.theme-retro .play-btn {
    background: linear-gradient(145deg, #e74c3c, #c0392b) !important;
}

body.theme-retro .play-btn:hover {
    background: linear-gradient(145deg, #ff6b6b, #e74c3c) !important;
}

body.theme-retro .progress-fill {
    background: linear-gradient(90deg, #f1c40f, #f39c12);
}

body.theme-retro .volume-controls i {
    color: #f1c40f;
}

body.theme-retro #volumeSlider::-webkit-slider-thumb {
    background: #f1c40f;
}

body.theme-retro .playlist-header h3 {
    color: #f1c40f;
}

body.theme-retro .add-btn {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
}

/* ===== TEMA NEON CYBER ===== */
body.theme-neon,
.winamp-container.theme-neon {
    background: #000000;
}

body.theme-neon .winamp-container {
    background: #000000;
    border: 2px solid #00ffff;
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

body.theme-neon .winamp-header {
    background: #000000;
    border-bottom: 1px solid #00ffff;
}

body.theme-neon .title-text {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

body.theme-neon .main-panel {
    background: #000000;
}

body.theme-neon .song-title {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

body.theme-neon .play-btn {
    background: linear-gradient(145deg, #ff00ff, #00ffff) !important;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

body.theme-neon .play-btn:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

body.theme-neon .progress-fill {
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

body.theme-neon .volume-controls i {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

body.theme-neon #volumeSlider::-webkit-slider-thumb {
    background: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

body.theme-neon .playlist-header h3 {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

body.theme-neon .add-btn {
    background: linear-gradient(145deg, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

/* ===== TEMA MINIMALISTA ===== */
body.theme-minimal,
.winamp-container.theme-minimal {
    background: #f5f5f5;
}

body.theme-minimal .winamp-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.theme-minimal .winamp-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

body.theme-minimal .title-text {
    color: #333333;
    text-shadow: none;
}

body.theme-minimal .main-panel {
    background: #ffffff;
    color: #333;
}

body.theme-minimal .song-title {
    color: #333333;
}

body.theme-minimal .song-artist {
    color: #666666;
}

body.theme-minimal .control-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

body.theme-minimal .play-btn {
    background: #007bff !important;
    color: white;
}

body.theme-minimal .play-btn:hover {
    background: #0056b3 !important;
}

body.theme-minimal .progress-fill {
    background: #007bff;
}

body.theme-minimal .volume-controls i {
    color: #007bff;
}

body.theme-minimal #volumeSlider::-webkit-slider-thumb {
    background: #007bff;
}

body.theme-minimal .playlist-header h3 {
    color: #333333;
}

body.theme-minimal .add-btn {
    background: #007bff;
}

body.theme-minimal .playlist-item {
    background: #f8f9fa;
    color: #333;
}

body.theme-minimal .playlist-item:hover {
    background: #e9ecef;
}

/* ===== TEMA DARK MODE ===== */
body.theme-dark,
.winamp-container.theme-dark {
    background: #0a0a0a;
}

body.theme-dark .winamp-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

body.theme-dark .winamp-header {
    background: #2d2d2d;
    border-bottom: 1px solid #444;
}

body.theme-dark .title-text {
    color: #ffffff;
    text-shadow: none;
}

body.theme-dark .main-panel {
    background: #1a1a1a;
}

body.theme-dark .song-title {
    color: #ffffff;
}

body.theme-dark .song-artist {
    color: #cccccc;
}

body.theme-dark .play-btn {
    background: linear-gradient(145deg, #4a4a4a, #2a2a2a) !important;
    color: #ffffff;
}

body.theme-dark .play-btn:hover {
    background: linear-gradient(145deg, #5a5a5a, #3a3a3a) !important;
}

body.theme-dark .progress-fill {
    background: #ffffff;
}

body.theme-dark .volume-controls i {
    color: #ffffff;
}

body.theme-dark #volumeSlider::-webkit-slider-thumb {
    background: #ffffff;
}

body.theme-dark .playlist-header h3 {
    color: #ffffff;
}

body.theme-dark .add-btn {
    background: #4a4a4a;
    color: #ffffff;
}

body.theme-dark .add-btn:hover {
    background: #5a5a5a;
}

/* Animaciones */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 700px) {
    .winamp-container {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        border-radius: 10px;
        height: 100dvh;
        min-height: 0;
    }
    .main-panel {
        padding: 10px;
    }
    .playback-controls {
        gap: 6px;
    }
    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    .equalizer-section {
        padding: 8px 2px 12px 2px;
    }
    .eq-band {
        min-width: 16px;
        max-width: 22px;
        width: 18px;
    }
    .eq-slider {
        width: 100%;
        height: 48px;
    }
    .eq-gain-value {
        font-size: 0.7em;
        width: 28px;
    }
    .playlist-section {
        padding-top: 10px;
    }
    .playlist-header h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .winamp-container {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        margin: 0;
        border-radius: 0;
        height: 100dvh;
        min-height: 0;
    }
    .main-panel {
        padding: 6px;
    }
    .song-title {
        font-size: 13px;
    }
    .song-artist {
        font-size: 10px;
    }
    .equalizer-section {
        padding: 4px 1px 8px 1px;
    }
    .eq-band {
        min-width: 12px;
        max-width: 16px;
        width: 14px;
    }
    .eq-slider {
        width: 100%;
        height: 32px;
    }
    .eq-gain-value {
        font-size: 0.6em;
        width: 20px;
    }
    .playlist-header h3 {
        font-size: 11px;
    }
    .add-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    .playlist-container {
        max-height: 80px;
    }
} 

.winamp-container .equalizer-section {
    margin: 18px 0 0 0;
    background: #222;
    border-radius: 6px;
    padding: 10px 12px 24px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    color: #f3e97a;
    max-width: 100%;
    width: 100%;
}

.winamp-container .equalizer-header {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 1px;
    color: #f3e97a;
    text-align: left;
}

.winamp-container .equalizer-bands {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    padding: 0 2px;
    width: 100%;
}

.winamp-container .eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    box-sizing: border-box;
}

.winamp-container .eq-gain-value {
    font-size: 0.8em;
    color: #f3e97a;
    margin-bottom: 2px;
    min-height: 18px;
    width: 54px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    text-shadow: 1px 1px 2px #000;
    font-family: monospace;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    box-sizing: border-box;
}

.winamp-container .eq-slider {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 90%;
    min-width: 18px;
    max-width: 32px;
    height: 90px;
    margin-bottom: 4px;
    background: linear-gradient(to top, #444 0%, #888 100%);
    border-radius: 6px;
    outline: none;
}

.winamp-container .eq-band label {
    font-size: 0.75em;
    color: #f3e97a;
    margin-top: 2px;
    text-shadow: 1px 1px 2px #000;
}

/* Slider thumb y track personalizados */
.winamp-container .eq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 8px;
    background: #f3e97a;
    border: 1px solid #bfae2e;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 1px 2px #000;
}

.winamp-container .eq-slider::-webkit-slider-runnable-track {
    height: 90px;
    background: #333;
    border-radius: 6px;
}

.winamp-container .eq-slider:focus {
    outline: 2px solid #f3e97a;
}

/* Para Firefox */
.winamp-container .eq-slider::-moz-range-thumb {
    width: 18px;
    height: 8px;
    background: #f3e97a;
    border: 1px solid #bfae2e;
    border-radius: 3px;
    cursor: pointer;
}
.winamp-container .eq-slider::-moz-range-track {
    background: #333;
    height: 90px;
    border-radius: 6px;
}

/* Para Edge/IE */
.winamp-container .eq-slider::-ms-thumb {
    width: 18px;
    height: 8px;
    background: #f3e97a;
    border: 1px solid #bfae2e;
    border-radius: 3px;
    cursor: pointer;
}
.winamp-container .eq-slider::-ms-fill-lower {
    background: #333;
    border-radius: 6px;
}
.winamp-container .eq-slider::-ms-fill-upper {
    background: #333;
    border-radius: 6px;
}

/* Ajustes generales para que solo afecte al reproductor */
.winamp-container .eq-slider {
    box-shadow: 0 1px 2px #000;
}

@media (max-width: 700px) {
    .winamp-container .equalizer-bands {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        gap: 10px;
        width: 100%;
    }
    .winamp-container .eq-band {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        background: rgba(0,0,0,0.12);
        border-radius: 6px;
        padding: 4px 6px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    .winamp-container .eq-gain-value {
        font-size: 1em;
        width: 44px;
        margin-bottom: 0;
        margin-right: 8px;
        text-align: right;
    }
    .winamp-container .eq-slider {
        width: 100%;
        min-width: 60px;
        max-width: 120px;
        height: 18px;
        margin: 0 8px;
        writing-mode: horizontal-tb;
        direction: ltr;
    }
    .winamp-container .eq-band label {
        font-size: 1em;
        margin-top: 0;
        margin-left: 8px;
        min-width: 48px;
        text-align: left;
    }
} 

@media (max-width: 480px) {
    .winamp-container .equalizer-bands {
        max-height: 220px;
        gap: 8px;
    }
    .winamp-container .eq-band {
        padding: 2px 2px;
    }
    .winamp-container .eq-gain-value {
        font-size: 0.95em;
        width: 36px;
        margin-right: 4px;
    }
    .winamp-container .eq-slider {
        min-width: 40px;
        max-width: 80px;
        margin: 0 4px;
    }
    .winamp-container .eq-band label {
        font-size: 0.95em;
        min-width: 32px;
        margin-left: 4px;
    }
} 

/* MODERNO */
.winamp-container.theme-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
.winamp-container.theme-modern .winamp-header {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
}
.winamp-container.theme-modern .title-text {
    color: #ffffff;
    text-shadow: none;
}
.winamp-container.theme-modern .main-panel {
    background: #ffffff;
    color: #333;
}
.winamp-container.theme-modern .song-title {
    color: #667eea;
}
.winamp-container.theme-modern .song-artist {
    color: #666;
}
.winamp-container.theme-modern .play-btn {
    background: linear-gradient(145deg, #667eea, #764ba2) !important;
}
.winamp-container.theme-modern .play-btn:hover {
    background: linear-gradient(145deg, #5a6fd8, #6a4190) !important;
}
.winamp-container.theme-modern .progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
}
.winamp-container.theme-modern .volume-controls i {
    color: #667eea;
}
.winamp-container.theme-modern #volumeSlider::-webkit-slider-thumb {
    background: #667eea;
}
.winamp-container.theme-modern .playlist-header h3 {
    color: #667eea;
}
.winamp-container.theme-modern .add-btn {
    background: linear-gradient(145deg, #667eea, #764ba2);
}
.winamp-container.theme-modern .add-btn:hover {
    background: linear-gradient(145deg, #5a6fd8, #6a4190);
}
/* RETRO */
.winamp-container.theme-retro {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #e74c3c;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}
.winamp-container.theme-retro .winamp-header {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    border-bottom: 2px solid #c0392b;
}
.winamp-container.theme-retro .title-text {
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.winamp-container.theme-retro .song-title {
    color: #f1c40f;
}
.winamp-container.theme-retro .play-btn {
    background: linear-gradient(145deg, #e74c3c, #c0392b) !important;
}
.winamp-container.theme-retro .play-btn:hover {
    background: linear-gradient(145deg, #ff6b6b, #e74c3c) !important;
}
.winamp-container.theme-retro .progress-fill {
    background: linear-gradient(90deg, #f1c40f, #f39c12);
}
.winamp-container.theme-retro .volume-controls i {
    color: #f1c40f;
}
.winamp-container.theme-retro #volumeSlider::-webkit-slider-thumb {
    background: #f1c40f;
}
.winamp-container.theme-retro .playlist-header h3 {
    color: #f1c40f;
}
.winamp-container.theme-retro .add-btn {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
}
/* NEON CYBER */
.winamp-container.theme-neon {
    background: #000000;
    border: 2px solid #00ffff;
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}
.winamp-container.theme-neon .winamp-header {
    background: #000000;
    border-bottom: 1px solid #00ffff;
}
.winamp-container.theme-neon .title-text {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}
.winamp-container.theme-neon .main-panel {
    background: #000000;
}
.winamp-container.theme-neon .song-title {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}
.winamp-container.theme-neon .play-btn {
    background: linear-gradient(145deg, #ff00ff, #00ffff) !important;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}
.winamp-container.theme-neon .play-btn:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}
.winamp-container.theme-neon .progress-fill {
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.winamp-container.theme-neon .volume-controls i {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}
.winamp-container.theme-neon #volumeSlider::-webkit-slider-thumb {
    background: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.winamp-container.theme-neon .playlist-header h3 {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}
.winamp-container.theme-neon .add-btn {
    background: linear-gradient(145deg, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}
/* MINIMALISTA */
.winamp-container.theme-minimal {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.winamp-container.theme-minimal .winamp-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}
.winamp-container.theme-minimal .title-text {
    color: #333333;
    text-shadow: none;
}
.winamp-container.theme-minimal .main-panel {
    background: #ffffff;
    color: #333;
}
.winamp-container.theme-minimal .song-title {
    color: #333333;
}
.winamp-container.theme-minimal .song-artist {
    color: #666666;
}
.winamp-container.theme-minimal .control-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}
.winamp-container.theme-minimal .play-btn {
    background: #007bff !important;
    color: white;
}
.winamp-container.theme-minimal .play-btn:hover {
    background: #0056b3 !important;
}
.winamp-container.theme-minimal .progress-fill {
    background: #007bff;
}
.winamp-container.theme-minimal .volume-controls i {
    color: #007bff;
}
.winamp-container.theme-minimal #volumeSlider::-webkit-slider-thumb {
    background: #007bff;
}
.winamp-container.theme-minimal .playlist-header h3 {
    color: #333333;
}
.winamp-container.theme-minimal .add-btn {
    background: #007bff;
}
.winamp-container.theme-minimal .playlist-item {
    background: #f8f9fa;
    color: #333;
}
.winamp-container.theme-minimal .playlist-item:hover {
    background: #e9ecef;
}
/* DARK MODE */
.winamp-container.theme-dark {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}
.winamp-container.theme-dark .winamp-header {
    background: #2d2d2d;
    border-bottom: 1px solid #444;
}
.winamp-container.theme-dark .title-text {
    color: #ffffff;
    text-shadow: none;
}
.winamp-container.theme-dark .main-panel {
    background: #1a1a1a;
}
.winamp-container.theme-dark .song-title {
    color: #ffffff;
}
.winamp-container.theme-dark .song-artist {
    color: #cccccc;
}
.winamp-container.theme-dark .play-btn {
    background: linear-gradient(145deg, #4a4a4a, #2a2a2a) !important;
    color: #ffffff;
}
.winamp-container.theme-dark .play-btn:hover {
    background: linear-gradient(145deg, #5a5a5a, #3a3a3a) !important;
}
.winamp-container.theme-dark .progress-fill {
    background: #ffffff;
}
.winamp-container.theme-dark .volume-controls i {
    color: #ffffff;
}
.winamp-container.theme-dark #volumeSlider::-webkit-slider-thumb {
    background: #ffffff;
}
.winamp-container.theme-dark .playlist-header h3 {
    color: #ffffff;
}
.winamp-container.theme-dark .add-btn {
    background: #4a4a4a;
    color: #ffffff;
}
.winamp-container.theme-dark .add-btn:hover {
    background: #5a5a5a;
} 

/* Ecualizador */
.equalizer-section {
    margin: 20px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    border: 1px solid #333;
}
.equalizer-header {
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.eq-reset-btn {
    background: linear-gradient(90deg, #00ff00, #00cc00);
    color: #222;
    border: none;
    border-radius: 4px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,255,0,0.08);
    transition: background 0.2s, color 0.2s;
}
.eq-reset-btn:hover {
    background: linear-gradient(90deg, #00cc00, #00ff00);
    color: #000;
}
.equalizer-bands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 12px;
    width: 100%;
    align-items: end;
    justify-items: center;
}
.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 36px;
    max-width: 80px;
    position: relative;
    width: 100%;
}
.eq-gain-value {
    font-size: 12px;
    color: #00ff00;
    margin-bottom: 4px;
    min-height: 18px;
    text-align: center;
    width: 100%;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
    padding: 1px 4px;
    font-weight: bold;
    margin-top: 0;
}
.eq-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    margin: 0 0 4px 0;
    display: block;
    background: transparent;
}
.eq-band label {
    font-size: 11px;
    color: #ccc;
    margin-top: 4px;
    text-align: center;
    width: 100%;
    display: block;
}
@media (min-width: 700px) {
    .equalizer-bands {
        grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
        gap: 18px;
    }
    .eq-slider {
        writing-mode: vertical-lr;
        direction: rtl;
        width: 20px;
        height: 120px;
        margin: 0 0 4px 0;
    }
    .eq-band {
        max-width: 44px;
    }
}
@media (max-width: 699px) {
    .equalizer-bands {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        gap: 10px;
    }
    .eq-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
    }
    .eq-gain-value {
        font-size: 11px;
        width: 48px;
        margin: 0 8px 0 0;
        background: rgba(0,0,0,0.7);
        border-radius: 4px;
        padding: 1px 4px;
        min-width: 40px;
        text-align: right;
    }
    .eq-slider {
        writing-mode: initial;
        direction: ltr;
        width: 100%;
        height: 24px;
        margin: 0 8px 0 0;
    }
    .eq-band label {
        font-size: 10px;
        margin: 0;
        width: 40px;
        text-align: left;
    }
} 

/* --- Mejoras para integración y horizontalidad en móvil --- */
.equalizer-section {
    margin: 24px 0 16px 0;
    padding: 16px 12px 12px 12px;
    background: var(--eq-section-bg, rgba(0, 0, 0, 0.18));
    border-radius: 8px;
    border: 1.5px solid #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.3s;
}
.equalizer-header {
    color: var(--eq-header-color, #00ff00);
    font-weight: bold;
    margin-bottom: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--eq-header-bg, transparent);
    border-radius: 6px 6px 0 0;
    padding: 4px 8px;
    transition: background 0.3s;
}
.eq-reset-btn {
    background: var(--eq-reset-bg, linear-gradient(90deg, #00ff00, #00cc00));
    color: var(--eq-reset-color, #222);
    border: none;
    border-radius: 4px;
    padding: 3px 16px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,255,0,0.08);
    transition: background 0.2s, color 0.2s;
    outline: none;
}
.eq-reset-btn:hover {
    background: var(--eq-reset-bg-hover, linear-gradient(90deg, #00cc00, #00ff00));
    color: #000;
}
.equalizer-bands {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    width: 100%;
    margin: 0 auto;
    max-width: 98%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}
.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 36px;
    max-width: 48px;
    width: 100%;
    position: relative;
    background: var(--eq-band-bg, transparent);
    border-radius: 6px;
    padding: 0 2px;
    transition: background 0.3s;
}
.eq-gain-value {
    font-size: 13px;
    color: var(--eq-gain-color, #00ff00);
    margin-bottom: 4px;
    min-height: 18px;
    text-align: center;
    width: 100%;
    background: transparent;
    font-weight: bold;
    margin-top: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.eq-slider {
    -webkit-appearance: none;
    appearance: none;
    writing-mode: vertical-lr;
    direction: rtl;
    width: 22px;
    height: 120px;
    margin: 0 0 4px 0;
    display: block;
    background: transparent;
}
.eq-band label {
    font-size: 11px;
    color: var(--eq-label-color, #ccc);
    margin-top: 4px;
    text-align: center;
    width: 100%;
    display: block;
    letter-spacing: 0.2px;
}
@media (max-width: 900px) {
    .winamp-container {
        width: 98vw;
        min-width: 0;
        max-width: 100vw;
    }
}
@media (max-width: 700px) {
    .winamp-container {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        border-radius: 10px;
        height: 100dvh;
        min-height: 0;
    }
    .main-panel {
        padding: 10px 4px 8px 4px;
    }
    .equalizer-section {
        margin: 16px 0 10px 0;
        padding: 10px 4px 8px 4px;
        border-radius: 7px;
    }
    .equalizer-header {
        font-size: 15px;
        margin-bottom: 8px;
        background: var(--eq-header-bg, transparent);
        border-radius: 6px 6px 0 0;
        padding: 4px 8px;
    }
    .equalizer-bands {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        align-items: stretch;
        max-width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .eq-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        margin-bottom: 0;
        padding: 0 2px;
        background: var(--eq-band-bg, transparent);
        border-radius: 6px;
    }
    .eq-gain-value {
        font-size: 12px;
        width: 44px;
        margin: 0 8px 0 0;
        background: transparent;
        min-width: 36px;
        text-align: right;
    }
    .eq-slider {
        writing-mode: initial;
        direction: ltr;
        width: 100%;
        height: 24px;
        margin: 0 8px 0 0;
    }
    .eq-band label {
        font-size: 10px;
        margin: 0;
        width: 38px;
        text-align: left;
    }
}
/* Temas visuales para ecualizador y reset */
body.theme-classic .equalizer-section,
.winamp-container.theme-classic .equalizer-section {
    --eq-section-bg: linear-gradient(135deg, #232323 0%, #1a1a1a 100%);
    --eq-header-bg: rgba(0,255,0,0.08);
    --eq-band-bg: rgba(0,255,0,0.03);
}
body.theme-modern .equalizer-section,
.winamp-container.theme-modern .equalizer-section {
    --eq-section-bg: linear-gradient(135deg, #e3eafe 0%, #f8f9fa 100%);
    --eq-header-bg: #e3eafe;
    --eq-band-bg: #f8f9fa;
}
body.theme-retro .equalizer-section,
.winamp-container.theme-retro .equalizer-section {
    --eq-section-bg: linear-gradient(135deg, #ffefb0 0%, #ff6b6b 100%);
    --eq-header-bg: #f1c40f;
    --eq-band-bg: #ffefb0;
}
body.theme-neon .equalizer-section,
.winamp-container.theme-neon .equalizer-section {
    --eq-section-bg: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    --eq-header-bg: #0ff;
    --eq-band-bg: #111;
}
body.theme-minimal .equalizer-section,
.winamp-container.theme-minimal .equalizer-section {
    --eq-section-bg: linear-gradient(135deg, #f8f9fa 0%, #e3eafe 100%);
    --eq-header-bg: #f8f9fa;
    --eq-band-bg: #e3eafe;
}
body.theme-dark .equalizer-section,
.winamp-container.theme-dark .equalizer-section {
    --eq-section-bg: linear-gradient(135deg, #232323 0%, #1a1a1a 100%);
    --eq-header-bg: #333;
    --eq-band-bg: #232323;
} 

/* --- Cambios para ancho en desktop/tablet --- */
@media (min-width: 700px) {
  .winamp-container {
    width: 600px;
    min-width: 520px;
    max-width: 98vw;
  }
  .equalizer-bands {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    width: 100%;
    margin: 0 auto;
    max-width: 98%;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }
  .eq-band {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 36px;
    max-width: 48px;
    width: 100%;
    margin-bottom: 0;
    padding: 0 2px;
  }
}

/* --- Cambios para móvil: bandas apiladas verticalmente --- */
@media (max-width: 699px) {
  .equalizer-bands {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100%;
    align-items: stretch;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }
  .eq-band {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0;
    padding: 4px 2px;
    background: var(--eq-band-bg, transparent);
    border-radius: 6px;
  }
  .eq-gain-value {
    font-size: 12px;
    width: 44px;
    margin: 0 8px 0 0;
    background: transparent;
    min-width: 36px;
    text-align: right;
  }
  .eq-slider {
    writing-mode: initial;
    direction: ltr;
    width: 100%;
    height: 24px;
    margin: 0 8px 0 0;
  }
  .eq-band label {
    font-size: 10px;
    margin: 0;
    width: 38px;
    text-align: left;
  }
} 