/* ===== Bootscreen ===== */
#bootScreen {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 65%, #1c0e07 0%, #060608 65%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity .8s ease;
}

#bootScreen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.boot-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: bootRise 1.2s ease both;
}

.boot-flame {
    font-size: 72px;
    filter: drop-shadow(0 0 25px rgba(255, 122, 60, .65));
    animation: flamePulse 1.6s ease-in-out infinite;
}

@keyframes flamePulse {
    0%, 100% { transform: scale(1) rotate(-2deg); filter: drop-shadow(0 0 18px rgba(255, 122, 60, .5)); }
    50%      { transform: scale(1.12) rotate(2deg); filter: drop-shadow(0 0 40px rgba(255, 160, 60, .9)); }
}

@keyframes bootRise {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.boot-logo h1 {
    font-size: 54px;
    font-weight: 300;
    letter-spacing: 6px;
    color: #f5efe8;
}

.boot-logo h1 span {
    font-weight: 700;
    background: linear-gradient(90deg, #ff7a3c, #ffc24c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#bootLog {
    margin-top: 45px;
    height: 130px;
    width: min(460px, 85vw);
    font-family: var(--font-mono);
    font-size: 13px;
    color: #8a8578;
    overflow: hidden;
}

#bootLog .ok { color: #7dff8a; }

#bootLog div {
    animation: bootRise .3s ease both;
}

.boot-progress {
    width: min(320px, 70vw);
    height: 4px;
    background: rgba(255, 255, 255, .08);
    border-radius: 2px;
    overflow: hidden;
}

#bootBar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff7a3c, #ffc24c);
    transition: width .4s ease;
}

.boot-skip {
    position: absolute;
    bottom: 28px;
    font-size: 12px;
    color: #55524b;
}

/* ===== Shutdown ===== */
#shutdownScreen {
    position: fixed;
    inset: 0;
    background: #060608;
    z-index: 9998;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: #8a8578;
}

#shutdownScreen.visible { display: flex; }

#shutdownScreen button {
    background: none;
    border: 1px solid #3a372f;
    color: #cfcabd;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 14px;
}

#shutdownScreen button:hover {
    border-color: var(--accent);
    color: var(--accent);
}
