/* SPLASH SCREEN MINIMALISTA - CORES DO SISTEMA */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Container principal */
.splash-container {
    position: relative;
    text-align: center;
    z-index: 10;
}

/* Logo com cores do sistema */
.splash-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    opacity: 0;
    transform: scale(0.8);
    animation: logoAppear 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.splash-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(255, 106, 0, 0.2));
    transition: transform 0.3s ease;
}

.splash-logo:hover svg {
    transform: scale(1.05);
}

/* Texto com cores do sistema */
.splash-text {
    opacity: 0;
    transform: translateY(20px);
    animation: textSlideUp 1s ease-out 0.8s forwards;
}

.splash-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6a00 0%, #ff3d00 50%, #ff9d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.splash-subtitle {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

/* Loader com gradiente do sistema */
.splash-loader {
    width: 120px;
    height: 2px;
    background: rgba(255, 106, 0, 0.1);
    margin: 40px auto 0;
    overflow: hidden;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease-out 1.2s forwards;
}

.splash-loader-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ff3d00, #ff9d00);
    background-size: 200% 100%;
    width: 0%;
    animation: 
        loaderFill 2s ease-in-out 1.5s forwards,
        loaderShimmer 2s ease-in-out infinite;
}

/* Linha com cor do sistema */
.splash-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6a00, transparent);
    animation: lineExtend 1s ease-out 1.4s forwards;
}

/* Partículas com cores do sistema */
.splash-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0;
    animation: particleDrift 8s ease-in-out infinite;
}

/* Efeito de brilho sutil com cor do sistema */
.splash-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.splash-screen:not(.fade-out):hover .splash-container::before {
    opacity: 1;
}

/* Animações */
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes loaderFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes loaderShimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 200% center;
    }
}

@keyframes lineExtend {
    0% {
        width: 0;
    }
    100% {
        width: 60px;
    }
}

@keyframes particleDrift {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(20px);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .splash-logo {
        width: 70px;
        height: 70px;
    }
    
    .splash-title {
        font-size: 1.8rem;
    }
    
    .splash-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .splash-loader {
        width: 100px;
    }
}