/* ===== Boot Screen ===== */
.boot-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.boot-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.boot-content {
    text-align: center;
}

.boot-shell {
    width: min(620px, 90vw);
    padding: 24px 28px;
    text-align: left;
    background: rgba(10, 14, 19, 0.9);
    border: 1px solid rgba(120, 170, 210, 0.15);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
}

.shell-header {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.shell-host {
    color: var(--accent);
    font-weight: 600;
}

.shell-path {
    color: #9bb0c5;
}

.shell-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 140px;
}

.shell-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text);
}

.shell-prompt {
    color: #9bb0c5;
}

.shell-command {
    color: var(--text);
}

.shell-command .cursor-inline {
    display: inline-block;
    width: 8px;
    height: 16px;
    margin-left: 2px;
    background: var(--accent);
    border-radius: 2px;
    vertical-align: -2px;
    animation: cursorBlink 1.1s steps(1, end) infinite;
}

.shell-output {
    color: var(--text-secondary);
    padding-left: 16px;
}

.shell-cursor {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text);
}

.shell-cursor.hidden {
    opacity: 0;
    pointer-events: none;
}

.cursor-block {
    width: 10px;
    height: 18px;
    background: var(--accent);
    display: inline-block;
    border-radius: 2px;
    animation: cursorBlink 1.1s steps(1, end) infinite;
}

.shell-body + .shell-cursor {
    min-height: 22px;
}

.boot-progress {
    margin-top: 18px;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
}

.boot-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.4s ease;
}

.boot-status {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
