/* ==========================================================
   AI-CRIMS LIVING BACKGROUND
   Blue / purple identity — subtle, interactive, non-gaming.
   Decorative only: no impact on forms, routes, or content.
========================================================== */

.ai-life-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: .9;
}

.ai-life-aura {
    position: fixed;
    width: 420px;
    height: 420px;
    left: 0;
    top: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(86,126,255,.17) 0%, rgba(139,92,246,.08) 34%, transparent 70%);
    filter: blur(10px);
    transition: opacity .25s ease;
    mix-blend-mode: screen;
}

.ai-life-aura.active { opacity: 1; }

.ai-life-ripple {
    position: fixed;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%) scale(.25);
    border: 1px solid rgba(100,170,255,.75);
    box-shadow: 0 0 22px rgba(84,124,255,.42), inset 0 0 14px rgba(139,92,246,.2);
    animation: ai-life-ripple 900ms cubic-bezier(.16,.8,.24,1) forwards;
}

@keyframes ai-life-ripple {
    0% { opacity: .9; transform: translate(-50%,-50%) scale(.25); }
    55% { opacity: .55; }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(13); }
}

.ai-life-flare {
    position: fixed;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: rgba(132,196,255,.95);
    box-shadow: 0 0 12px rgba(78,145,255,.9), 0 0 28px rgba(139,92,246,.55);
    transform: translate(-50%,-50%);
    animation: ai-life-flare 700ms ease-out forwards;
}

@keyframes ai-life-flare {
    from { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    to { opacity: 0; transform: translate(-50%,-50%) scale(.15); }
}

/* Give existing sections a little ambient depth without changing their layout. */
.ai-life-host {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    .ai-life-ripple, .ai-life-flare { animation: none; opacity: 0; }
    .ai-life-aura { display: none; }
}
