/* ===================== SESSION: BIBLIOTECA / ESTILOS PRINCIPALES ===================== */

/* Estilos básicos del contenedor */
.contenido-pagina {
    padding: 40px 20px;
    background: #ffffff;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sección principal de la biblioteca */
.cb-bib-block {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 32px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Tarjeta acordeón */
.cb-bib-card {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,248,255,0.92));
    box-shadow: 0 28px 80px rgba(10,75,184,0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(10,75,184,0.12);
}

.cb-bib-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 38px 100px rgba(10,75,184,0.22);
}

/* Header del acordeón */
.cb-bib-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}

.cb-bib-header::-webkit-details-marker {
    display: none;
}

/* Icono */
.cb-bib-icon {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    flex-shrink: 0;
    box-shadow: 0 16px 34px rgba(10,75,184,0.18);
    object-fit: contain;
    display: block;
}

/* Contenido del acordeón */
.cb-bib-content {
    padding: 0 22px 22px;
    animation: fadeIn 0.34s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Descripción */
.cb-bib-desc {
    margin: 6px 0 16px;
    font-size: 0.94rem;
    color: rgba(68,80,102,0.92);
    line-height: 1.6;
}

/* Lista de categorías */
.cb-bib-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.cb-bib-list li {
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.78);
    box-shadow: inset 0 0 0 1px rgba(10,75,184,0.10);
    color: rgba(11,27,51,0.86);
    line-height: 1.35;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Barra azul a la izquierda */
.cb-bib-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(10,75,184,0.70);
    opacity: 0.80;
}

.cb-bib-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(10,75,184,0.10);
}

/* Enlaces activos */
.cb-bib-list li a {
    text-decoration: none;
    color: #0a4bb8;
    font-weight: 500;
    display: block;
}

.cb-bib-list li a:hover {
    opacity: 0.75;
}

/* Elementos deshabilitados */
.cb-bib-disabled {
    color: rgba(126, 140, 141, 0.7) !important;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sección de patrocinador */
.cb-sponsor-zone {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cb-sponsor-premium {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 20px 60px rgba(10,75,184,0.15);
    padding: 24px;
    border: 1px solid rgba(10,75,184,0.08);
}

.cb-sponsor-top {
    margin-bottom: 16px;
}

.cb-sponsor-tag {
    background: linear-gradient(135deg, #0a4bb8, #156ab6);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cb-sponsor-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cb-sponsor-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
}

.cb-sponsor-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a4bb8;
    margin-bottom: 4px;
}

.cb-sponsor-slogan {
    font-size: 0.95rem;
    color: rgba(68,80,102,0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .cb-bib-block {
        max-width: 900px;
        padding: 0 30px;
    }
    
    .cb-sponsor-zone {
        max-width: 900px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .contenido-pagina {
        padding: 20px 15px;
    }
    
    .contenedor {
        padding: 0 15px;
    }
    
    .cb-bib-block {
        max-width: 100%;
        padding: 0 25px;
        margin-bottom: 25px;
    }
    
    .cb-sponsor-zone {
        max-width: 100%;
        padding: 0 25px;
        margin: 30px auto;
    }
    
    .cb-bib-header {
        padding: 16px 18px;
    }
    
    .cb-bib-content {
        padding: 0 18px 18px;
    }
    
    .cb-sponsor-main {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contenido-pagina {
        padding: 20px 10px;
    }
    
    .cb-bib-block {
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    .cb-sponsor-zone {
        padding: 0 20px;
        margin: 25px auto;
    }
    
    .cb-bib-header {
        padding: 14px 16px;
    }
    
    .cb-bib-content {
        padding: 0 16px 16px;
    }
}

/* ===================== FAQ CTA SECTION ===================== */
.nft-faq-cta {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 75, 184, 0.03), rgba(21, 106, 182, 0.06));
    border-radius: 24px;
    border: 1px solid rgba(10, 75, 184, 0.1);
}

.nft-faq-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0a4bb8;
    margin-bottom: 16px;
}

.nft-faq-cta-text {
    font-size: 1.1rem;
    color: rgba(68, 80, 102, 0.9);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .nft-faq-cta {
        margin: 40px 20px;
        padding: 30px 20px;
    }
    
    .nft-faq-cta-title {
        font-size: 1.6rem;
    }
    
    .nft-faq-cta-text {
        font-size: 1rem;
    }
}