/* Estilos específicos para el carrusel de canciones */

.songs-carousel {
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem 0;
    margin: 2rem 0;
    min-height: 200px;
}

.songs-track {
    display: flex;
    animation: scrollSongs 30s linear infinite;
    gap: 2rem;
    padding: 0 2rem;
    position: relative;
    width: max-content;
}

.songs-carousel::before,
.songs-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.songs-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
}

.songs-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

@keyframes scrollSongs {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.songs-track:hover {
    animation-play-state: paused;
}

.song-item {
    flex: 0 0 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.song-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 77, 77, 0.2);
    box-shadow: 0 20px 40px rgba(255, 77, 77, 0.3);
}

.song-image {
    margin-bottom: 0.8rem;
}

.song-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.song-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.song-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.song-info p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.song-duration {
    color: #ff6b6b !important;
    font-weight: 600;
}

.featured-artist {
    color: #ff6b6b !important;
    font-style: italic;
    font-size: 0.8rem !important;
}

.play-button {
    background: linear-gradient(135deg, #1db954, #1ed760);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.5rem;
}

.play-button:hover {
    background: linear-gradient(135deg, #1ed760, #1db954);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.4);
}

.play-button i {
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .songs-carousel {
        padding: 1rem 0;
    }
    
    .song-item {
        flex: 0 0 150px;
    }
    
    .song-item img {
        width: 100px;
        height: 100px;
    }
    
    .song-info h4 {
        font-size: 1rem;
    }
}
