/* Remover seções laterais */
/* .left-section,  .right-section { ... } */
/* Removido */

/* Novo background de loading */
.loader-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--power-black) 0%, #1a1a1a 50%, var(--power-black) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animação de saída só quando .hide */
.loader-bg.hide {
    animation: loader-bg-out 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    pointer-events: none;
}

@keyframes loader-bg-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* Esconde o scroll enquanto loader está ativo */
body:not(.loaded) {
    overflow: hidden !important;
}

body.loaded {
    overflow: auto !important;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 21;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    animation: none;
    border-radius: 50%;
    filter: none;
}

.loader::before, .loader::after {
    pointer-events: none;
}

.loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-top: 2px solid var(--theme-color);
    border-radius: 50%;
    animation: spin 2s linear infinite;
    opacity: 1;
    animation-delay: 0s;
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 1px solid transparent;
    border-bottom: 1px solid var(--theme-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
    opacity: 1;
    animation-delay: 0s;
}

/* Remover animações e regras antigas não utilizadas */
/* .loaded .left-section, .loaded .right-section, .loaded .loader-container::after, .shockwave, .glitch, .expand, .pulse */
/* Removido para simplificação */

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}

