
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 98000;            /* 开机动画必须盖住 Dock(90000) 与登录浮层(95000)，作为最高视觉层 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s ease-out, visibility 1.2s;
}

/* 隐藏状态 */
.boot-screen.hide-boot {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 容器 */
.boot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    animation: bootFadeIn 0.6s ease-out forwards;
}

@keyframes bootFadeIn {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

/* 苹果 Logo */
.boot-logo {
    font-size: 72px;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

/* 进度条容器 */
.boot-progress-container {
    width: 240px;
    max-width: 70vw;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

/* 进度条本身（3秒动画） */
.boot-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #8e8e93, #ffffff);
    border-radius: 2px;
    animation: bootProgress 3s cubic-bezier(0.25, 0.1, 0.25, 1.0) forwards;
}

@keyframes bootProgress {
    0% { width: 0%; }
    20% { width: 8%; }
    50% { width: 45%; }
    80% { width: 78%; }
    95% { width: 92%; }
    100% { width: 100%; }
}

.boot-hint {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 4px;
    animation: hintFade 2s ease-in-out infinite alternate;
}

@keyframes hintFade {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@media (max-width: 640px) {
    .boot-logo {
        font-size: 56px;
    }
    .boot-progress-container {
        width: 180px;
    }
}

/* @media (prefers-reduced-motion: reduce) {
    .boot-progress-bar {
        animation-duration: 0.01ms !important;
    }
    .boot-logo {
        animation: none !important;
    }
    .boot-content {
        animation: none !important;
    }
} */