/* 启动序列样式 */
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.boot-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.boot-container {
    text-align: center;
    color: white;
}

.boot-logo {
    margin-bottom: 60px;
}

.lock-icon {
    font-size: 120px;
    margin-bottom: 20px;
    animation: lockGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

@keyframes lockGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 1));
        transform: scale(1.05);
    }
}

.boot-text {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

.boot-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007AFF, #00D4FF);
    border-radius: 2px;
    width: 0%;
    animation: progressLoad 4s ease-out forwards;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.6);
}

@keyframes progressLoad {
    0% { width: 0%; }
    20% { width: 15%; }
    40% { width: 35%; }
    60% { width: 65%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

.progress-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 启动完成后的渐出效果 */
.boot-screen.fade-out {
    animation: bootFadeOut 1s ease-out forwards;
}

@keyframes bootFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .lock-icon {
        font-size: 80px;
    }

    .boot-text {
        font-size: 24px;
    }

    .progress-bar {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .lock-icon {
        font-size: 60px;
    }

    .boot-text {
        font-size: 20px;
    }

    .progress-bar {
        width: 200px;
    }
}