:root {
    --bg: #000000;
    --bg-glow: rgba(18, 18, 18, 0.10);
    --panel: #181818;
    --panel-border: #262c39;
    --text-primary: #eef1f5;
    --text-secondary: #8b93a3;
    --text-tertiary: #565d6e;
    --accent: orangered;
    --accent-dim: rgba(242, 169, 59, 0.14);
    --divider: #232834;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 20px;
    position: relative;
    overflow-x: hidden;
}

    body::before {
        content: '';
        position: fixed;
        top: 50%;
        left: 50%;
        width: 900px;
        height: 900px;
        transform: translate(-50%, -50%);
        background: radial-gradient(circle, var(--bg-glow), transparent 65%);
        pointer-events: none;
    }

    body::after {
        content: '';
        position: fixed;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        background-size: 42px 42px;
        pointer-events: none;
    }

.console-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 44px 44px 38px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    animation: riseIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-dim);
    flex-shrink: 0;
    animation: pulse 2.2s ease-in-out infinite;
}

.status-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.status-meta {
    margin-left: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

.code-block {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--divider);
}

.code-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 64px;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -1px;
}

.code-reason {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--text-tertiary);
    letter-spacing: 0.3px;
}

h1 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.lede {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.paths {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.path-label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.path p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.path a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--text-tertiary);
    transition: border-color 0.2s ease, color 0.2s ease;
}

    .path a:hover {
        color: var(--accent);
        border-color: var(--accent);
    }

.console-footer {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.3px;
    text-align: center;
}

    .console-footer a {
        color: var(--text-secondary);
        text-decoration: none;
        border-bottom: 1px solid var(--divider);
        transition: color 0.2s ease, border-color 0.2s ease;
    }

        .console-footer a:hover {
            color: var(--accent);
            border-color: var(--accent);
        }

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px var(--accent-dim);
    }

    50% {
        box-shadow: 0 0 0 7px transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .console-card, .status-dot {
        animation: none;
    }
}

@media (max-width: 480px) {
    .console-card {
        padding: 34px 26px 30px;
    }

    .code-number {
        font-size: 50px;
    }

    h1 {
        font-size: 22px;
    }

    .status-meta {
        display: none;
    }
}
