/* ==========================================================
   ESTILOS Y ANIMACIONES - CENTRO DE AYUDA (EL ARBOLADO)
   ========================================================== */

/* Animación de flotación suave para iconos y emblemas */
@keyframes flotarSuave {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

.anim-flotar {
    animation: flotarSuave 4s ease-in-out infinite;
}

/* Destello dorado alrededor del faro o elementos destacados */
@keyframes pulsoDorado {
    0%, 100% { box-shadow: 0 0 15px rgba(234, 159, 59, 0.25); }
    50% { box-shadow: 0 0 28px rgba(234, 159, 59, 0.6); }
}

.brillo-faro {
    animation: pulsoDorado 3.5s infinite ease-in-out;
}

/* Aparición gradual de los bloques al cargar */
@keyframes aparecerSubiendo {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bloque-animado {
    opacity: 0;
    animation: aparecerSubiendo 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.retraso-1 { animation-delay: 0.1s; }
.retraso-2 { animation-delay: 0.25s; }
.retraso-3 { animation-delay: 0.4s; }
.retraso-4 { animation-delay: 0.55s; }

/* Partículas de luciérnagas en el fondo */
.luciernaga {
    position: fixed;
    width: 5px;
    height: 5px;
    background: #efbd6e;
    border-radius: 50%;
    box-shadow: 0 0 10px #ea9f3b, 0 0 20px #ea9f3b;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: volarLuciernaga var(--duracion, 12s) infinite ease-in-out var(--retraso, 0s);
}

@keyframes volarLuciernaga {
    0% {
        transform: translate(0, 0) scale(0.6);
        opacity: 0;
    }
    25% {
        opacity: 0.85;
    }
    50% {
        transform: translate(var(--dx, 40px), var(--dy, -80px)) scale(1.1);
        opacity: 0.4;
    }
    75% {
        opacity: 0.9;
    }
    100% {
        transform: translate(calc(var(--dx, 40px) * -0.5), calc(var(--dy, -80px) * 1.8)) scale(0.6);
        opacity: 0;
    }
}

/* Efecto cristal esmerilado para tarjetas */
.tarjeta-cristal {
    background: rgba(27, 56, 37, 0.72);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-cristal:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 159, 59, 0.45);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}