.gradient-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: white;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 180px;
    height: 180px;
    opacity: 0.6;
    filter: blur(40px);
    animation: moveX 15s ease-in-out infinite alternate;
}

.blob::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.6),
        rgba(168, 85, 247, 0.6),
        rgba(239, 68, 68, 0.5)
    );
}

/* Posisi acak background utama */
.blob:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-duration: 12s;
}

.blob:nth-child(2) {
    top: 40%;
    left: 10%;
    animation-duration: 18s;
}

.blob:nth-child(3) {
    top: 70%;
    left: 30%;
    animation-duration: 20s;
}

.blob:nth-child(4) {
    top: 25%;
    left: 70%;
    animation-duration: 16s;
}

.blob:nth-child(5) {
    top: 55%;
    left: 80%;
    animation-duration: 22s;
}

.blob:nth-child(6) {
    top: 80%;
    left: 60%;
    animation-duration: 19s;
}

/* Abstrak tambahan di tengah */
.gradient-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.gradient-center .blob {
    width: 200px;
    height: 200px;
    opacity: 0.5;
    filter: blur(45px);
}

.gradient-center .blob:nth-child(1) {
    top: 0;
    left: 0;
    animation-duration: 14s;
}

.gradient-center .blob:nth-child(2) {
    top: 30%;
    left: 40%;
    animation-duration: 20s;
}

.gradient-center .blob:nth-child(3) {
    top: 60%;
    left: 10%;
    animation-duration: 18s;
}

/* Animasi geser kanan-kiri */
@keyframes moveX {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(80px);
    }
}
