/* BIOS Boot Sequence - DYNAMIC THEME SUPPORT */
#boot-screen {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 40px 50px;
    z-index: 99999;
    background: #000; /* Solid black for boot */
    color: var(--main-color, #e62b2b);
    font-family: 'Terminus', monospace;
    pointer-events: all;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#boot-screen.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.bios-header {
    border-bottom: 1px solid var(--fg-muted, #1e3a5c);
    padding-bottom: 16px;
    margin-bottom: 25px;
}

.bios-title {
    font-size: 32px;
    color: var(--main-color);
    text-shadow: 0 0 12px var(--main-color);
    letter-spacing: 2px;
}

.bios-subtitle {
    font-size: 13px;
    color: var(--fg-dim, #4a8bcc);
    opacity: 0.8;
    margin-top: 4px;
}

.bios-meta {
    display: flex;
    gap: 40px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--fg-muted, #1e3a5c);
}

.bios-meta span span { color: var(--fg-dim); }

.ascii-logo {
    font-size: 42px;
    color: var(--main-color);
    margin-bottom: 25px;
    text-shadow: 0 0 20px var(--main-color);
    font-weight: bold;
    letter-spacing: 5px;
}

.hw-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--fg-dim);
    border-bottom: 1px solid rgba(var(--main-color-rgb), 0.1);
}

.hw-line .label { opacity: 0.6; }
.hw-line .val { color: var(--main-color); }

.boot-log {
    flex: 1;
    overflow: hidden;
    margin-top: 15px;
}

.log-entry {
    display: flex;
    gap: 15px;
    font-size: 13px;
    margin-bottom: 4px;
    animation: bootSlideIn 0.1s both;
}

@keyframes bootSlideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

.log-time { opacity: 0.4; min-width: 90px; }
.log-status { font-weight: bold; min-width: 70px; }
.log-status.ok { color: var(--main-color); }
.log-status.warn { color: var(--warning-color, #ffcc00); }
.log-status.err { color: var(--err, #ff3355); }

.progress-section {
    margin-top: 30px;
    border-top: 1px solid rgba(var(--main-color-rgb), 0.2);
    padding-top: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 10px;
}

.progress-bar-bg {
    width: 100%;
    height: 3px;
    background: rgba(var(--main-color-rgb), 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: var(--main-color);
    box-shadow: 0 0 15px var(--main-color);
    width: 0%;
    transition: width 0.15s ease;
}

/* CRT EFFECTS for Boot Screen */
#boot-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(var(--main-color-rgb), 0.03) 2px, rgba(var(--main-color-rgb), 0.03) 4px);
    pointer-events: none;
    z-index: 100000;
}
