/* Branded boot splash shown once per session on any full-document load (Polaris behaviour):
   static pages fade it out at DOM-ready, the interactive app when Blazor has started.
   Managed by the inline scripts in App.razor. */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    background: hsl(220 25% 8%);
}

#splash-screen.is-hiding {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

#splash-screen .splash-brand {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, hsl(187 72% 60%), hsl(210 90% 66%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: splash-fade-down 0.8s ease-out;
}

#splash-screen .splash-tagline {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: hsl(215 15% 55%);
    animation: splash-fade 1s ease-out 0.2s both;
}

#splash-screen .splash-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid hsl(220 18% 20%);
    border-top-color: hsl(187 72% 55%);
    border-radius: 50%;
    animation: splash-spin 0.9s linear infinite;
}

@keyframes splash-spin {
    to { transform: rotate(360deg); }
}

@keyframes splash-fade-down {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
