body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Centrado vertical en pantallas grandes */
}

/* ANIMACIÓN DE FADE IN */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Empieza un poco más abajo */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-layout {
    display: flex; /* Esto pone los elementos lado a lado */
    max-width: 900px;
    width: 90%;
    gap: 50px; /* Espacio entre la foto y la lista */
    padding: 40px;
}

/* COLUMNA IZQUIERDA (COVER) */
.left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Animación del cover */
    animation: fadeInUp 0.8s ease-out; 
}

.album-art {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.project-title h1 { margin: 0; font-size: 1.8rem; }
.project-title p { color: #b3b3b3; margin-top: 5px; }

/* COLUMNA DERECHA (LISTA) */
.right-col {
    flex: 1.5; /* La lista ocupa un poco más de espacio */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-card {
    background-color: #181818;
    border: 1px solid #282828;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    
    /* Configuración inicial de la animación */
    opacity: 0; 
    animation: fadeInUp 0.6s ease-out forwards;
}

/* RETRASO EN CASCADA (STAGGER) */
/* Esto hace que aparezcan una tras otra */
.track-card:nth-child(1) { animation-delay: 0.1s; }
.track-card:nth-child(2) { animation-delay: 0.2s; }
.track-card:nth-child(3) { animation-delay: 0.3s; }
.track-card:nth-child(4) { animation-delay: 0.4s; }
.track-card:nth-child(5) { animation-delay: 0.5s; }

.track-card:hover {
    background-color: #2a2a2a;
    transform: translateX(5px); /* Pequeño movimiento a la derecha */
    border-color: #444;
}

.track-info h3 { margin: 0 0 4px 0; font-size: 1rem; font-weight: 500;}
.track-info span { font-size: 0.75rem; color: #aaa; background: #333; padding: 2px 6px; border-radius: 4px; }

.btn-download {
    background-color: #1db954; /* Verde Spotify */
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: transform 0.1s;
}
.btn-download:hover { transform: scale(1.05); background-color: #1ed760; }

footer {
    margin-top: 30px;
    color: #444;
    font-size: 0.8rem;
    text-align: center;
}

/* MÓVIL (RESPONSIVE) */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column; /* Cambia a columna en celular */
        align-items: center;
        padding: 20px;
    }
    .left-col { margin-bottom: 30px; }
    .album-art { max-width: 250px; }
    .main-layout { gap: 20px; }
}

.btn-disabled {
    background-color: #333333 !important; /* Gris oscuro */
    color: #777777 !important; /* Texto gris claro */
    cursor: not-allowed; /* Muestra el símbolo de prohibido */
    pointer-events: none; /* Bloquea cualquier clic real */
    transform: none !important; /* Quita el efecto de zoom al pasar mouse */
    border: 1px solid #444;
}

/* OPCIONAL: Hacer que toda la tarjeta se vea un poco más apagada */
.card-locked {
    opacity: 0.6; /* Se ve un poco transparente */
}