/* ==========================================================================
   ANIMACIÓN DE ANIVERSARIO - COOPAC SAN ROMÁN INTEGRA
   Colores: Azul Institucional, Blanco y Dorado
   Totalmente no intrusivo: pointer-events: none en todo el canvas
   ========================================================================== */

#canvasAniversario {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important; /* No interfiere con ningún botón, menú, link o slider */
    z-index: 9998 !important; /* Visible sobre la interfaz sin bloquear */
    display: block;
}

/* Control flotante sutil y minimalista para pausar/reanudar efectos si se desea */
.aniversario-toggle-btn {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 9999;
    background: linear-gradient(135deg, #0a2540 0%, #174cc2 100%);
    border: 1.5px solid #d4af37;
    color: #ffd700;
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), 0 0 10px rgba(212, 175, 55, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    opacity: 0.85;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif, system-ui;
}

.aniversario-toggle-btn:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(23, 76, 194, 0.4), 0 0 15px rgba(212, 175, 55, 0.6);
    color: #ffffff;
    border-color: #ffd700;
}

.aniversario-toggle-btn .sparkle-icon {
    display: inline-block;
    animation: goldPulse 1.8s infinite ease-in-out;
}

@keyframes goldPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 2px #ffd700);
    }
    50% {
        transform: scale(1.25) rotate(15deg);
        filter: drop-shadow(0 0 6px #ffd700);
    }
}

@media (max-width: 576px) {
    .aniversario-toggle-btn {
        bottom: 12px;
        left: 12px;
        padding: 5px 10px;
        font-size: 10px;
    }
}
