﻿:root {
    --fc-primary: #0b72e7;
    --fc-primary-dark: #0759bd;
    --fc-accent: #12a879;
    --fc-ink: #10233f;
    --fc-muted: #61708a;
    --fc-border: rgba(30, 63, 104, .12);
    --fc-shadow: 0 22px 60px rgba(15, 42, 77, .13);
}

.system-state-shell {
    min-height: calc(100vh - 88px);
    display: grid;
    place-items: center;
    padding: 48px 20px;
    background: radial-gradient(circle at 12% 18%, rgba(18, 168, 121, .14), transparent 28%), radial-gradient(circle at 88% 12%, rgba(11, 114, 231, .16), transparent 32%), linear-gradient(145deg, #f4f9ff, #f7fbf9);
}

.system-state-card {
    width: min(680px, 100%);
    padding: clamp(32px, 6vw, 64px);
    text-align: center;
    border: 1px solid var(--fc-border);
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--fc-shadow);
    backdrop-filter: blur(18px);
}

.system-state-orb {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 30px;
    color: #fff;
    background: linear-gradient(145deg, #ff7869, #dc3545);
    box-shadow: 0 16px 30px rgba(220, 53, 69, .25);
}

.system-state-code {
    font-size: clamp(76px, 16vw, 132px);
    line-height: .85;
    font-weight: 900;
    letter-spacing: -.08em;
    color: rgba(11, 114, 231, .12);
}

.system-state-kicker {
    display: block;
    margin: 18px 0 12px;
    color: var(--fc-primary);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.system-state-card h1 {
    margin: 0;
    color: var(--fc-ink);
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 850;
    letter-spacing: -.045em;
}

.system-state-card > p {
    max-width: 520px;
    margin: 18px auto 0;
    color: var(--fc-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.system-state-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.premium-btn {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .premium-btn:hover {
        transform: translateY(-2px);
    }

    .premium-btn.primary {
        color: #fff;
        background: linear-gradient(135deg, var(--fc-primary), var(--fc-primary-dark));
        box-shadow: 0 12px 24px rgba(11, 114, 231, .22);
    }

    .premium-btn.secondary {
        color: var(--fc-ink);
        background: #fff;
        border-color: var(--fc-border);
    }

.trace-reference {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--fc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--fc-muted);
    font-size: .82rem;
}

    .trace-reference code {
        padding: 6px 10px;
        border-radius: 8px;
        color: var(--fc-primary-dark);
        background: rgba(11, 114, 231, .08);
    }

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
