/* Fundo e Container Principal */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 1. Cascata de Moedas */
.coin-rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.coin {
    position: absolute;
    background-image: url('/uploads/moeda.png'); /* Caminho da sua imagem */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    animation: coin-fall-cascade linear infinite;
}

@keyframes coin-fall-cascade {
    0% { transform: translateY(-15vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* 2. Logo com Brilho no Contorno (Neon Dourado) */
.logo-container-splash {
    position: relative;
    z-index: 10;
    margin-bottom: 2.5rem;
}

.logo-animada {
    width: 280px;
    height: auto;
    object-fit: contain;
    /* Aplica o brilho exatamente no contorno do PNG */
    filter: drop-shadow(0 0 12px #f59e0b) drop-shadow(0 0 25px rgba(245, 158, 11, 0.4));
    animation: 
        logo-assemble 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        logo-gold-pulse 3s infinite ease-in-out 1.2s;
}

@keyframes logo-assemble {
    0% { transform: scale(2.5); opacity: 0; filter: blur(15px) brightness(2); }
    100% { transform: scale(1); opacity: 1; filter: blur(0) brightness(1); }
}

@keyframes logo-gold-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 12px #f59e0b) drop-shadow(0 0 25px rgba(245, 158, 11, 0.4));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 30px #fbbf24) drop-shadow(0 0 50px rgba(251, 191, 36, 0.8));
        transform: scale(1.04);
    }
}

/* 3. Detalhes do Usuário */
.user-details {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: info-appear 0.8s ease-out 1s forwards;
}

@keyframes info-appear {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Barra de Progresso */
.progress-bar-container {
    width: 140px;
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin: 25px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.03);
}

.progress-fill {
    height: 100%;
    background: #22d3ee;
    width: 100%;
    transform-origin: left;
    animation: progress-load 7s linear forwards;
}

@keyframes progress-load {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}