/* ============================================================
   RECOPILACIONES DE MÚSICA — MÓDULO COMPLETO DEL LUCAMVERSO
   Controla el INDEX y las PÁGINAS INDIVIDUALES
   ============================================================ */

/* ===========================
   CONTENEDOR GENERAL (INDEX)
   =========================== */

#recopilaciones {
    background: #ffffff;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#recopilaciones h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #000000;
    text-align: center;
}

#recopilaciones .intro-recopilaciones {
    font-size: 1.2rem;
    margin: 0 auto 40px auto;
    max-width: 760px;
    color: #000000;
    text-align: center;
    line-height: 1.6;
}

/* Grid del index */
#recopilaciones .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

/* Tarjetas del index */
#recopilaciones .item {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#recopilaciones .item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#recopilaciones .item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #000; /* opcional, queda elegante detrás de portadas verticales */
    filter: brightness(1.03) contrast(1.02);
}


#recopilaciones .item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
}

/* Botón del index */
#recopilaciones .btn-recopilacion {
    display: inline-block;
    padding: 10px 18px;
    background: #003366;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.25s ease;
}

#recopilaciones .btn-recopilacion:hover {
    background: #004080;
    color: #ffffff !important;
}


/* ============================================================
   PÁGINAS INDIVIDUALES DE RECOPILACIONES
   ============================================================ */

#recopilacion {
    background: #ffffff;
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Portada grande */
#recopilacion .imagen-articulo {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px auto;
    display: block;
    border-radius: 12px;
}

/* Título de la recopilación */
#recopilacion .article-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    color: #000000;
}

/* Código de la recopilación */
#recopilacion .fecha-articulo {
    font-size: 1rem;
    text-align: center;
    color: #444444;
    margin-bottom: 35px;
    font-weight: 700; /* en negrita */
}

/* Texto descriptivo */
#recopilacion .article-content {
    max-width: 760px;
    margin: 0 auto 40px auto;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #000000;
}


/* ============================================================
   PLAYLIST DE CADA RECOPILACIÓN
   ============================================================ */

#recopilacion .playlist {
    max-width: 760px;
    margin: 40px auto;
    padding: 25px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

#recopilacion .playlist h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
    font-weight: 700;
}

#recopilacion .playlist ol {
    margin: 0;
    padding-left: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #000000;
}

#recopilacion .playlist li {
    margin-bottom: 8px;
}


/* ============================================================
   BOTONES FINALES
   ============================================================ */

#recopilacion .article-buttons {
    text-align: center;
    margin-top: 40px;
}

#recopilacion .article-buttons .btn-periodico {
    display: inline-block;
    margin: 10px;
    padding: 10px 18px;
    background: #003366;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.25s ease;
}

#recopilacion .article-buttons .btn-periodico:hover {
    background: #004080;
    color: #ffffff !important;
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 768px) {

    #recopilaciones,
    #recopilacion {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    #recopilaciones h2,
    #recopilacion .article-title {
        font-size: 1.8rem;
    }

    #recopilaciones .intro-recopilaciones,
    #recopilacion .article-content {
        font-size: 1.05rem;
    }
}

/* ============================================================
   MODAL PARA AMPLIAR PORTADAS
   ============================================================ */

#modal-imagen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#modal-imagen img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,255,255,0.25);
    animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
