/* ======================== SPLASH SCREEN STYLES ======================== */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: fadeInScale 0.6s ease-out;
}

.splash-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .splash-logo {
        max-width: 280px;
        width: 85%;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        max-width: 260px;
        width: 90%;
    }
}

/* For tablets */
@media (min-width: 641px) and (max-width: 1024px) {
    .splash-logo {
        max-width: 320px;
        width: 70%;
    }
}

/* Prevent scrolling while splash is visible */
body.splash-active {
    overflow: hidden;
}

