/* =========================================================
   UMBRELLA WIDGET — "We are the Blue Umbrella"
   Flotante · esquina inferior izquierda
   ========================================================= */

.bgt-umbrella {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    text-decoration: none;
    width: 200px;
}

/* ---- Sombrilla ---- */
.bgt-umbrella__img {
    width: 130px;
    height: auto;
    display: block;
    transform-origin: center center;
    animation: bgt-umbrella-swing 3.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(41, 121, 255, 0.45));
}

@keyframes bgt-umbrella-swing {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(18deg); }
    50%  { transform: rotate(-20deg); }
    75%  { transform: rotate(12deg); }
    90%  { transform: rotate(-8deg); }
    100% { transform: rotate(0deg); }
}

/* ---- Texto ---- */
.bgt-umbrella__label {
    font-family: var(--bgt-font-accent);
    font-size: 0.9rem;
    line-height: 0.7;
    text-align: center;
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(41, 121, 255, 0.9),
        0 0 16px rgba(41, 121, 255, 0.6),
        0 0 30px rgba(41, 121, 255, 0.3);
    animation: bgt-umbrella-glow 2.4s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes bgt-umbrella-glow {
    0%, 100% {
        text-shadow:
            0 0 6px rgba(41, 121, 255, 0.8),
            0 0 14px rgba(41, 121, 255, 0.5),
            0 0 28px rgba(41, 121, 255, 0.25);
        opacity: 1;
    }
    50% {
        text-shadow:
            0 0 10px rgba(41, 121, 255, 1),
            0 0 24px rgba(41, 121, 255, 0.8),
            0 0 48px rgba(41, 121, 255, 0.5),
            0 0 70px rgba(41, 121, 255, 0.2);
        opacity: 0.92;
    }
}

/* ---- Hover: pausa la sombrilla y resalta ---- */
.bgt-umbrella:hover .bgt-umbrella__img {
    animation-play-state: paused;
    filter: drop-shadow(0 6px 18px rgba(41, 121, 255, 0.75));
    transform: rotate(0deg);
    transition: filter 0.3s ease, transform 0.4s ease;
}

.bgt-umbrella:hover .bgt-umbrella__label {
    animation-play-state: paused;
    text-shadow:
        0 0 12px rgba(41, 121, 255, 1),
        0 0 28px rgba(41, 121, 255, 0.9),
        0 0 55px rgba(41, 121, 255, 0.6);
}

/* ---- Responsive: más pequeño en móvil ---- */
@media ( max-width: 640px ) {
    .bgt-umbrella {
        bottom: 1.25rem;
        left: 1rem;
        width: 100px;
    }
    .bgt-umbrella__img {
        width: 68px;
    }
    .bgt-umbrella__label {
        font-size: 0.72rem;
    }
}
