/* 
    Post-ECTRIMS 2026 - Premium Refinement Layer
    This file adds a professional, high-end feel while respecting the core brand colors.
*/

:root {
    /* Premium Tokens */
    --prm-glass-bg: rgba(15, 105, 175, 0.55); /* Color corporativo solicitado (#0f69af) con transparencia */
    --prm-glass-border: rgba(255, 255, 255, 0.1);
    --prm-glow-yellow: 0 8px 25px rgba(255, 201, 22, 0.35);
    --prm-glow-pink: 0 8px 25px rgba(235, 60, 150, 0.35);
    --prm-glow-cyan: 0 8px 25px rgba(45, 190, 205, 0.35);
    --prm-shadow-deep: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 10px 20px -12px rgba(0, 0, 0, 0.5);
}

/* 1. Glassmorphism Refinements */
.navbar-sticky.navbar-stuck {
    background-color: var(--prm-glass-bg) !important; 
    backdrop-filter: blur(15px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(160%) !important;
    border-bottom: 1px solid var(--prm-glass-border) !important;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4) !important;
    --si-navbar-stuck-bg: var(--prm-glass-bg) !important;
}

.modal-content {
    background-color: rgba(17, 33, 59, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid var(--prm-glass-border) !important;
    box-shadow: var(--prm-shadow-deep) !important;
}

/* 2. Premium Button States (Glows) */
.btn-merck-1:hover {
    box-shadow: var(--prm-glow-yellow) !important;
    transform: translateY(-1px);
}

.btn-merck-2:hover {
    box-shadow: var(--prm-glow-pink) !important;
    transform: translateY(-1px);
}

.btn-merck-1, .btn-merck-2, .btn-merck-3 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 3. Card & Element Depth */
.card, .gallery-item, #ponentes-elements .col > div {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#ponentes-elements .card:hover, .card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--prm-shadow-deep) !important;
}

/* 4. Entry Animations (Reveal) */
@keyframes prmFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prm-reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.prm-reveal.active {
    opacity: 1;
    animation: prmFadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 5. Typography Refinements */
.font-merck {
    letter-spacing: -0.01em !important;
}

h1, .h1 {
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
}

/* 6. Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b1425;
}

::-webkit-scrollbar-thumb {
    background: #2dbecd;
    border-radius: 10px;
    border: 2px solid #0b1425;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffc916;
}

/* 7. Specific Section Polishing */
#question-container, .streaming-question-box {
    border: 1px solid var(--prm-glass-border) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px;
}

#streaming-links .nav-link.active {
    position: relative;
    overflow: hidden;
}

#streaming-links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffc916;
    box-shadow: 0 0 10px rgba(255, 201, 22, 0.6);
}
