/* Welcome */
.welcome {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.08) 0%, transparent 60%);
}

.welcome.off { display: none; }

.welcome-box {
    width: 110px;
    height: 110px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    margin-bottom: 28px;
    padding: 18px;
}
.welcome-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.welcome h2 { font-size: 30px; font-weight: 600; margin-bottom: 10px; }
.welcome p { color: var(--text-secondary); font-size: 15px; margin-bottom: 30px; }

.features { display: flex; gap: 30px; }

.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.feat-icon {
    width: 32px;
    height: 32px;
    background: rgba(99,102,241,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Drop */
.dropzone {
    position: absolute;
    inset: 0;
    background: rgba(99,102,241,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.dropzone.show { opacity: 1; }

/* Loading */
.loading {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    display: none;
}

.loading.show { display: block; }

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn { from { opacity:0; transform:translateX(-50%) translateY(10px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }

