/* ===== BOOT SCREEN ===== */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s ease-out;
    padding-top: 8vh;
    user-select: none;
    -webkit-user-select: none;
}

#boot-screen.fade-out {
    opacity: 0;
}

.boot-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.boot-logo {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, #6d28d9, #2563eb, #16a34a, #2563eb, #6d28d9);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.boot-status-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.boot-progress-container {
    width: min(400px, 70vw);
    height: 6px;
    background: #1F2937;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #374151;
}

.boot-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6d28d9, #2563eb, #16a34a);
    background-size: 200% 100%;
    animation: progress-shimmer 1.5s ease infinite;
    border-radius: 3px;
    transition: width 0.3s ease;
}

@keyframes progress-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.boot-messages {
    height: 180px;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    color: #4B5563;
    text-align: left;
    max-width: min(500px, 80vw);
    width: 100%;
    padding: 0 15px;
    line-height: 1.6;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3B82F6 #1F2937;
}

.boot-messages .boot-msg {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.boot-messages .boot-msg.visible {
    opacity: 1;
}

.boot-messages .boot-msg.success {
    color: #22C55E;
}
