.geometric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.2;
    transform-origin: center;
}

.square {
    width: 40px;
    height: 40px;
    background: #f72585;
    animation: rotate 20s infinite linear;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4cc9f0;
    animation: pulse-animation 15s infinite alternate;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid #7209b7;
    animation: float 12s infinite ease-in-out;
}

.rectangle {
    width: 80px;
    height: 30px;
    background: #4361ee;
    animation: slide 18s infinite linear;
}

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

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

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }

    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) translateX(20px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}

@keyframes slide {
    0% {
        transform: translateX(-100px) rotate(0deg);
    }

    50% {
        transform: translateX(100px) rotate(180deg);
    }

    100% {
        transform: translateX(-100px) rotate(360deg);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    opacity: 0.5;
    animation: sparkle 8s infinite linear;
}

@keyframes sparkle {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(circle at center, transparent 0%, #1a1a2e 80%); */
    z-index: 5;
    animation: pulse-animation-overlay 10s infinite alternate;
}

@keyframes pulse-animation-overlay {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .square {
        width: 25px;
        height: 25px;
    }

    .circle {
        width: 25px;
        height: 25px;
    }

    .rectangle {
        width: 25px;
        height: 25px;
    }

    .triangle {
        width: 25px;
        height: 25px;
    }
}