/* ── Striqr status pages (404, project locked) ── */

.st-status-page {
    min-height: 100vh;
}

.st-status-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--st-nav-h, 64px));
    padding: 48px 20px 72px;
    overflow: hidden;
}

.st-status-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, #000 20%, transparent 75%);
    pointer-events: none;
}

/* Storm background */
.st-status-storm {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-status-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% 35%, rgba(124, 58, 237, 0.22), transparent 65%);
    animation: st-status-flash 4.2s ease-out infinite;
}

@keyframes st-status-flash {
    0%, 1% { opacity: 0; }
    4% { opacity: 0.85; }
    8% { opacity: 0.08; }
    11% { opacity: 0.65; }
    16% { opacity: 0; }
    100% { opacity: 0; }
}

.st-status-bolts {
    position: absolute;
    inset: -40px 0;
    width: 100%;
    height: calc(100% + 80px);
}

.st-status-strike {
    fill: none;
    stroke: #a855f7;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    opacity: 0;
    filter: drop-shadow(0 0 6px #c084fc) drop-shadow(0 0 16px #7c3aed) drop-shadow(0 0 34px #7c3aed);
    animation: st-status-strike-draw 4.2s ease-out var(--sd, 0s) infinite;
}

.st-status-strike--gold {
    stroke: #ffcf33;
    filter: drop-shadow(0 0 6px #ffe234) drop-shadow(0 0 16px #f5a623);
}

.st-status-strike--1 { --sd: 0.1s; }
.st-status-strike--2 { --sd: 0.34s; }
.st-status-strike--3 { --sd: 0.02s; stroke-width: 9; }
.st-status-strike--4 { --sd: 0.55s; }
.st-status-strike--5 { --sd: 0.42s; }

@keyframes st-status-strike-draw {
    0% { stroke-dashoffset: 1600; opacity: 0; }
    8% { opacity: 1; }
    40% { stroke-dashoffset: 0; opacity: 0.9; }
    70% { opacity: 0.15; }
    100% { stroke-dashoffset: 0; opacity: 0.05; }
}

.st-status-lb {
    position: absolute;
    width: 110px;
    height: 110px;
    opacity: 0.18;
    animation: st-status-float 7s ease-in-out infinite;
}

.st-status-lb svg {
    width: 100%;
    height: 100%;
    fill: #7c3aed;
}

.st-status-lb--gold svg { fill: #f5a623; opacity: 0.9; }

.st-status-lb--1 { left: 8%; top: 18%; --rot: -12deg; animation-delay: 0.2s; }
.st-status-lb--2 { right: 10%; top: 22%; --rot: 18deg; animation-delay: 0.8s; }
.st-status-lb--3 { left: 42%; bottom: 12%; --rot: 6deg; animation-delay: 1.4s; }

@keyframes st-status-float {
    0%, 100% { transform: rotate(var(--rot, 0deg)) translate(0, 0); }
    50% { transform: rotate(calc(var(--rot, 0deg) + 5deg)) translate(12px, -16px); }
}

/* Card */
.st-status-card {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    padding: 40px 36px 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 16px;
    box-shadow:
        0 24px 60px rgba(124, 58, 237, 0.08),
        0 2px 8px rgba(18, 18, 18, 0.04);
    backdrop-filter: blur(12px);
}

.st-status-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 8px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.04));
    border: 1px solid rgba(124, 58, 237, 0.18);
    color: var(--st-accent-deep, #5b21b6);
}

.st-status-icon-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
    animation: st-status-pulse 3s ease-in-out infinite;
}

@keyframes st-status-pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.st-status-icon svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.35));
}

.st-status-icon--404 .st-status-code {
    position: relative;
    z-index: 1;
    font-family: var(--st-font-display, "Outfit", sans-serif);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.3));
}

.st-status-kicker {
    margin: 12px 0 0;
    font-family: var(--st-font-mono, monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--st-accent, #7c3aed);
}

.st-status-title {
    margin: 10px 0 0;
    font-family: var(--st-font-display, "Outfit", sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--st-ink, #121212);
}

.st-status-sub {
    margin: 14px auto 0;
    max-width: 420px;
    font-family: var(--st-font-ui, "DM Sans", sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--st-ink-muted, #5c5c5c);
}

.st-status-launch-line {
    margin: 24px 0 0;
    font-family: var(--st-font-mono, monospace);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
    color: var(--st-ink-faint, #8a8a8a);
}

.st-status-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 2px;
    padding: 4px 12px;
    border: 0;
    border-radius: 6px;
    background: var(--st-accent, #7c3aed);
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.st-status-launch-btn:hover {
    transform: translateY(-1px);
    background: var(--st-accent-deep, #5b21b6);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.st-status-launch-btn.is-loading {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.st-status-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .st-status-storm,
    .st-status-flash,
    .st-status-strike,
    .st-status-lb,
    .st-status-icon-glow {
        animation: none !important;
    }

    .st-status-strike {
        opacity: 0.12;
        stroke-dashoffset: 0;
    }

    .st-rise {
        opacity: 1;
        animation: none;
    }
}

@media (max-width: 540px) {
    .st-status-card {
        padding: 32px 22px 28px;
    }
}
