* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* BACKGROUND COM ZOOM LENTO */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("background-complexo-xp.png") center center / cover no-repeat;
    filter: blur(6px) brightness(0.8);
    transform: scale(1);
    animation: zoomBg 20s infinite alternate ease-in-out;
    z-index: -3;
    will-change: transform;
}

@keyframes zoomBg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* ESCURECIMENTO */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -2;
}

/* PARTICULAS */
.particles {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    animation: moveParticles 60s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes moveParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-1000px);
    }
}


.logo {
    width: 180px;
    margin-bottom: 20px;
}

/* TITULO COM GLOW ANIMADO */
h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #ff9900;
    animation: glowTitle 2s ease-in-out infinite alternate;
}

@keyframes glowTitle {
    from {
        text-shadow: 0 0 10px rgba(255, 153, 0, 0.5),
            0 0 20px rgba(255, 153, 0, 0.4);
    }

    to {
        text-shadow: 0 0 20px rgba(255, 153, 0, 0.9),
            0 0 40px rgba(255, 153, 0, 0.8);
    }
}

p {
    font-size: 18px;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.widget-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

footer {
    margin-top: 30px;
    font-family: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #aaa;
}

.link-footer {
    text-decoration: none;
    color: #ff9900;
    transition: 0.3s;
}

.link-footer:hover {
    color: #ffffff;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
    animation: fadeOut 1s ease forwards;
    animation-delay: 3s;
}

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

.loading-title {
    color: #ff9900;
    text-shadow: 0 0 20px #ff9900;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        text-shadow: 0 0 10px #ff9900;
    }

    to {
        text-shadow: 0 0 30px #ff9900;
    }
}

.loading-bar {
    width: 250px;
    height: 6px;
    background: #222;
    margin: 15px 0;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff9900, rgba(255, 153, 0, 0.5));
    animation: loading 3s linear forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

/* BOTÃO ULTRA */
.btn-ultra {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    border: 2px solid #ff9900;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    backdrop-filter: blur(10px);
    z-index: 1;
    letter-spacing: 1px;
}

.btn-ultra::before {
    content: "";
    position: absolute;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, #ff9900, rgba(255, 153, 0, 0.5), #ff9900);
    top: -100%;
    left: -100%;
    animation: rotate 6s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.btn-ultra:hover {
    box-shadow: 0 0 20px #ff9900, 0 0 40px rgba(255, 153, 0, 0.5);
    transform: scale(1.08);
}
