/* ===== BACKGROUND DEGRADÊ ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(15,28,46,0.25) 0%,
            rgba(15,28,46,0.85) 50%,
            #0f1c2e 100%
    );
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ===== CÍRCULO GIRANDO ===== */
.circle-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,114,255,0.3), transparent 70%);
    animation: rotateCircle 10s linear infinite;
}

@keyframes rotateCircle {
    to { transform: rotate(360deg); }
}

/* ===== CONTEÚDO CENTRAL ===== */
.loader-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ===== LOGO COM PULSO ===== */
.logo-preloader {
    width: 360px;
    margin-bottom: 30px;
    animation: pulseLogo 2.4s ease-in-out infinite;
}

.hero-content{
    opacity:0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.hero-content.show{
    opacity:1;
    transform: translateY(0);
}

@keyframes pulseLogo {
    0%,100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ===== BARRA ===== */
.progress-bar {
    width: 360px;
    height: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#0072ff,#00c6ff);
    border-radius: 50px;
    transition: width 0.9s ease;
}