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

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #0d0d1a 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 2.5s forwards;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    animation: fadeInUp 0.6s ease;
}

.splash-logo {
    width: 180px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
}

.splash-loader {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(90, 79, 207, 0.2);
    border-top-color: var(--cor-primaria);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .splash-logo {
        width: 140px;
    }

    .splash-loader {
        width: 40px;
        height: 40px;
    }

    .splash-content {
        gap: 32px;
    }
}
