/* Splash Screen & Animation */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e1e1e1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

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

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.splash-logo {
    width: 240px;
    height: 240px;
    background-image: url('../logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 32px;
    animation: logo-pulse 2s ease-in-out infinite;
    will-change: transform, opacity;
    /* Premium shadow for that fintech feel */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@keyframes logo-pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.02); 
        opacity: 0.9;
    }
}

/* Loading Spinner - Superfly Gold Colors */
.splash-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.spinner-dots {
    display: flex;
    gap: 8px;
}

.spinner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #CFB56A 0%, #E5C578 100%);
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.spinner-dots span:nth-child(1) {
    animation-delay: 0s;
}

.spinner-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.splash-status {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
}

/* Main App Container */
#app-container {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    height: 100%;
    width: 100%;
}

#app-container.visible {
    opacity: 1;
}

