.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: var(--z-under);
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.global-background::after {
    content: '';
    position: absolute;
    top: 100vh;
    left: 0;
    width: 100%;
    height: 200vh;
    background: inherit;
    will-change: transform;
}

/* Grid de pontos contínuo */
.continuous-dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 300vh;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    will-change: transform;
    transform: translateZ(0);
    animation: gridMove 20s linear infinite;
}

/* Formas geométricas animadas */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    will-change: transform;
    transform: translateZ(0);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Shapes */
.shape-1, .shape-7 {
    width: 500px;
    height: 500px;
    background: var(--shape-1-color);
    animation: float1 12s infinite;
    animation-delay: 0s;
}

.shape-2, .shape-8 {
    width: 600px;
    height: 600px;
    background: var(--shape-2-color);
    animation: float2 15s infinite;
    animation-delay: -2s;
}

.shape-3, .shape-9 {
    width: 400px;
    height: 400px;
    background: var(--shape-3-color);
    animation: float3 10s infinite;
    animation-delay: -4s;
}

.shape-4, .shape-10 {
    width: 450px;
    height: 450px;
    background: var(--shape-4-color);
    animation: float4 18s infinite;
    animation-delay: -6s;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: var(--shape-5-color);
    animation: float5 11s infinite;
    animation-delay: -8s;
}

.shape-6 {
    width: 380px;
    height: 380px;
    background: var(--shape-6-color);
    animation: float6 14s infinite;
    animation-delay: -10s;
}

/* Delay */
.shape-7 { animation-delay: -3s; }
.shape-8 { animation-delay: -5s; }
.shape-9 { animation-delay: -7s; }
.shape-10 { animation-delay: -9s; }

/* Float animation 1 - suave e orgânico */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -30px) scale(1.2);
    }
    50% {
        transform: translate(-20px, -50px) scale(0.8);
    }
    75% {
        transform: translate(-30px, 20px) scale(1.1);
    }
}

/* Float animation 2 - amplo e expansivo */
@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-60px, -40px) scale(0.7);
    }
    66% {
        transform: translate(30px, -25px) scale(1.3);
    }
}

/* Float animation 3 - rápido e dinâmico */
@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-35px, 45px) scale(1.4);
    }
}

/* Float animation 4 - complexo e multidirecional */
@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(25px, -35px) scale(1.2);
    }
    40% {
        transform: translate(-30px, -20px) scale(0.8);
    }
    60% {
        transform: translate(35px, 25px) scale(1.3);
    }
    80% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

/* Float animation 5 - centrado e expansivo */
@keyframes float5 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translate(50px, -40px) scale(1.5);
    }
}

/* Float animation 6 - balanceado e suave */
@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-40px, 30px) scale(1.3);
    }
    75% {
        transform: translate(45px, -35px) scale(0.7);
    }
}

/* Formas geométricas */
.geometric-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
    will-change: transform;
    transform: translateZ(0);
}

/* Triângulos */
.triangle-1, .triangle-3, .triangle-5 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(39, 159, 245, 0.2);
    will-change: transform;
    animation: triangleRotate 15s linear infinite;
    filter: blur(1px);
}

.triangle-2, .triangle-4 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(0, 217, 255, 0.3);
    will-change: transform;
    animation: triangleRotate 12s linear infinite reverse;
    filter: blur(1px);
}

/* Delay */
.triangle-3 { animation-delay: 5s; }
.triangle-4 { animation-delay: 8s; }
.triangle-5 { animation-delay: 11s; }

/* Hexágonos */
.hexagon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.15;
    will-change: transform;
    animation: hexFloat 10s ease-in-out infinite;
}

/* Hexágonos com delays variados */
.hexagon-1 { 
    animation-delay: 2s;
    width: 60px;
    height: 60px;
}

.hexagon-2 { 
    animation-delay: 4s;
    width: 90px;
    height: 90px;
}

.hexagon-3 { 
    animation-delay: 6s;
    width: 70px;
    height: 70px;
}

.hexagon-4 { 
    animation-delay: 8s;
    width: 85px;
    height: 85px;
}

.hexagon-5 { 
    animation-delay: 10s;
    width: 75px;
    height: 75px;
}

/* Animação de flutuação de hexágono */
@keyframes hexFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Animação do grid */
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Formas geométricas  */
.geometric-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
}

/* Triângulos com variações */
.triangle-1, .triangle-3, .triangle-5 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(39, 159, 245, 0.2);
    animation: triangleRotate 15s linear infinite;
    filter: blur(1px);
}

.triangle-2, .triangle-4 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(0, 217, 255, 0.3);
    animation: triangleRotate 12s linear infinite reverse;
    filter: blur(1px);
}

.triangle-3 { animation-delay: 5s; }
.triangle-4 { animation-delay: 8s; }
.triangle-5 { animation-delay: 11s; }

@keyframes triangleRotate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Hexágonos */
.hexagon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.15;
    animation: hexFloat 10s ease-in-out infinite;
}

/* Hexágonos com delays variados */
.hexagon-1 { animation-delay: 2s; }
.hexagon-2 { animation-delay: 4s; }
.hexagon-3 { animation-delay: 6s; }
.hexagon-4 { animation-delay: 8s; }
.hexagon-5 { animation-delay: 10s; }

@keyframes hexFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* Animação do grid */
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}