:root {
    --color-bg1: #1a2335;
    --color-bg2: #016f7f;
    --color-bg3: #040814;
    --color1: #70e8fd;
    --color2: #4b949b;
    --color3: #1952cb;
    --color4: #554ec5;
    --color5: #996dc0;
    --color-interactive: #8c64ff; /* Color interactivo en HEX */
    --circle-size: 80%;
    --blending: hard-light;
}
.fondo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Asegura que esté por encima de todo */
    pointer-events: none; /* Para que no bloquee interacciones */

    background-image: url('https://imgur.com/-.png');
    background-repeat: repeat; /* Repite la imagen */
    background-size: 200px 200px; /* Ajusta el tamaño de repetición */
    background-position: 0 0; /* Asegura que empiece desde la esquina superior izquierda */

    /* Degradado más progresivo */
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 1) 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 1) 90%);
}



@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(50%);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }
    50% {
        transform: translateX(50%) translateY(10%);
    }
    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

.gradient-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2), var(--color-bg3));
    top: 0;
    left: 0;
    z-index: -2;
}

.gradient-bg svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.gradients-container div {
    position: absolute;
    background: radial-gradient(circle at center, var(--color) 0, transparent 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    opacity: 0.8;
}

.g1 {
    --color: var(--color1);
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    --color: var(--color2);
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    --color: var(--color3);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
}

.g4 {
    --color: var(--color4);
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

.g5 {
    --color: var(--color5);
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
}

.interactive {
    --color: var(--color-interactive);
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
}
