/* css/splash.css — ZS.Mark 开屏动画 & 系统升级弹窗样式 */

/* ── 背景光球 ────────────────────────────────────────────────── */
.bg-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; }
.orb-1  { width: 200px; height: 200px; background: #ffecd2; top: -50px; left: -50px; opacity: 0.8; }
.orb-2  { width: 300px; height: 300px; background: #fcb69f; bottom: -80px; right: -80px; opacity: 0.6; }

/* ── 开屏动画 ────────────────────────────────────────────────── */
.splash-screen {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: #fdfbf7; z-index: 99999999;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 20px;
}
.splash-screen img { width: 250px; object-fit: contain; }

.splash-header {
    position: absolute; top: 15%; width: 100%;
    text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.splash-title    { font-size: 32px; font-weight: 900; color: #ff9a8b; letter-spacing: 6px; margin-left: 6px; }
.splash-subtitle { font-size: 10px; color: #fce0c5; letter-spacing: 3px; text-transform: uppercase; }
.splash-logo     { width: 120px; height: auto; object-fit: contain; }
.splash-text {
    font-family: monospace; font-size: 12px; color: #fcb69f;
    font-weight: bold; letter-spacing: 2px;
    opacity: 0; animation: textBreath 1.5s infinite ease-in-out;
}

@keyframes textBreath {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50%       { opacity: 1;   transform: translateY(-2px); }
}

/* Vue transition */
.fade-enter-active, .fade-leave-active { transition: opacity 0.8s ease; }
.fade-enter-from,   .fade-leave-to     { opacity: 0; }

/* ── 系统升级弹窗 ─────────────────────────────────────────────── */
.system-update-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    animation: fadeIn 0.4s ease-out;
}
.system-update-card {
    background: #fff; width: 280px; padding: 30px 20px; border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.update-icon-ring {
    width: 60px; height: 60px; border-radius: 50%; background: #ffecd2;
    display: flex; justify-content: center; align-items: center;
    font-size: 30px; color: #ff9a8b;
}
.update-title { font-size: 18px; font-weight: bold; color: #333; }
.update-text  { font-size: 12px; color: #666; line-height: 1.6; }
.btn-do-update {
    margin-top: 10px; width: 100%; padding: 14px; border-radius: 16px; border: none;
    background: #ff9a8b; color: white; font-weight: bold; font-size: 15px; cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 154, 139, 0.3); transition: transform 0.1s;
}
.btn-do-update:active { transform: scale(0.95); }

/* ── 公用动画 ─────────────────────────────────────────────────── */
.spinning { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin    { 100% { transform: rotate(360deg); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
