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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1e2128 100%);
    min-height: 100vh;
    color: white;
    padding: 20px;
}

.title-wave {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(
        90deg,
        #667eea,
        #764ba2,
        #f093fb,
        #4facfe,
        #00f2fe,
        #667eea
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-wave 3s linear infinite;
    position: relative;
    text-align: center;
    margin: 10px 10px;
    letter-spacing: 2px;
}

@keyframes gradient-wave {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.title-wave::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(102, 126, 234, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(40px);
}

.title-wave:hover::before {
    opacity: 1;
}

.title-wave:hover {
    animation-duration: 1s;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Barra de búsqueda */
.search-section {
    margin-bottom: 40px;
    text-align: center;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.3s ease;
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-bar:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

/* Sección de álbumes */
.albums-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.show-favorites-btn, .show-all-btn {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-favorites-btn:hover, .show-all-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.album-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.album-info {
    padding: 15px;
}

.album-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.album-artist {
    font-size: 14px;
    opacity: 0.8;
}

/* Lista de canciones */
.songs-section, .favorites-section {
    margin-bottom: 120px;
    padding-bottom: 100px;
}

.song-list {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #353232;
    position: relative;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.song-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.song-number {
    width: 30px;
    font-size: 14px;
    opacity: 0.7;
}

.song-info {
    flex: 1;
    margin-left: 15px;
}

.song-title {
    font-size: 16px;
    margin-bottom: 3px;
}

.song-artist {
    font-size: 14px;
    opacity: 0.7;
}

.song-duration {
    font-size: 14px;
    opacity: 0.7;
    margin-right: 15px;
}

/* Botón de like */
.like-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.like-btn:hover {
    transform: scale(1.2);
}

.like-btn.liked {
    color: #ff1493;
}

.like-btn.liked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.3) 0%, transparent 70%);
    animation: pulse-like 0.6s ease-out;
}

@keyframes pulse-like {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.6;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-state-text {
    font-size: 18px;
}

/* Reproductor */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #111;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.6);
}

.player-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.mini-cover {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 20px;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.control-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.1);
}

.play-btn {
    font-size: 20px;
    background: linear-gradient(135deg, #7814ff 0%, #ff1493 100%);
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(120, 20, 255, 0.4);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(120, 20, 255, 0.6);
}

.progress-container {
    flex: 1;
    margin: 0 20px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #7814ff 0%, #ff1493 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(120, 20, 255, 0.5);
}

.time-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px;
    }

    .title-wave {
        font-size: 2.5rem;
        margin: 5px 5px;
    }

    .container {
        padding: 0 10px;
    }

    .search-bar {
        width: 100%;
        font-size: 16px;
    }

    .section-title {
        flex-direction: column;
        gap: 10px;
    }

    .show-favorites-btn, .show-all-btn {
        width: 100%;
    }

    .albums-section, .songs-section, .favorites-section {
        padding: 10px 0;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .song-item {
        padding: 10px;
        margin: 5px;
    }

    .song-info {
        margin-left: 10px;
    }

    .like-btn {
        font-size: 18px;
        padding: 6px;
    }

    .player {
        padding: 10px 15px;
    }

    .player-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    .mini-cover {
        width: 50px;
        height: 50px;
    }

    .control-btn {
        font-size: 18px;
        padding: 10px;
    }

    .play-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .progress-container {
        width: 100%;
        margin: 10px 0 0 0;
    }
}