/* Vesper gradient from movin.design: https://movin.design/gradients/vesper/ */
@property --gradient-phase {
syntax: '<angle>';
inherits: false;
initial-value: 0deg;
}
@keyframes gradient-phase {
to { --gradient-phase: 360deg; }
}
.gradient {
background-color: #05060c;
background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='2.6 0 0 0 -0.8 2.6 0 0 0 -0.8 2.6 0 0 0 -0.8 0 0 0 0 0.105'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E"),
radial-gradient(66.69% 29.03% at calc(70% + 6% * cos(8deg - var(--gradient-phase))) calc(80% + 6% * sin(8deg - var(--gradient-phase))), #24125e 0%, #24125e 10.4%, #24125ec8 37.3%, #24125e5a 64.2%, #24125e00 100%),
radial-gradient(22% 22% at calc(92% + 6% * cos(var(--gradient-phase) + 230deg)) calc(100% + 6% * sin(var(--gradient-phase) + 230deg)), #b48cff 0%, #b48cff 10.4%, #b48cffc8 37.3%, #b48cff5a 64.2%, #b48cff00 100%),
radial-gradient(66% 66% at calc(100% + 6% * cos(93deg - var(--gradient-phase))) calc(108% + 6% * sin(93deg - var(--gradient-phase))), #6a2dff 0%, #6a2dff 10.4%, #6a2dffc8 37.3%, #6a2dff5a 64.2%, #6a2dff00 100%),
radial-gradient(72.75% 31.67% at calc(34% + 6% * cos(var(--gradient-phase) + 315deg)) calc(26% + 6% * sin(var(--gradient-phase) + 315deg)), #0f2272 0%, #0f2272 10.4%, #0f2272c8 37.3%, #0f22725a 64.2%, #0f227200 100%),
radial-gradient(26% 26% at calc(12% + 6% * cos(178deg - var(--gradient-phase))) calc(4% + 6% * sin(178deg - var(--gradient-phase))), #6f8dff 0%, #6f8dff 10.4%, #6f8dffc8 37.3%, #6f8dff5a 64.2%, #6f8dff00 100%),
radial-gradient(70% 70% at calc(2% + 6% * cos(var(--gradient-phase) + 40deg)) calc(-8% + 6% * sin(var(--gradient-phase) + 40deg)), #1e3cff 0%, #1e3cff 10.4%, #1e3cffc8 37.3%, #1e3cff5a 64.2%, #1e3cff00 100%);
background-blend-mode: overlay, normal, normal, normal, normal, normal, normal;
animation: gradient-phase 26s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
.gradient { animation: none; }
}
Pure CSS: one registered property turns once per loop. Browsers without it show the first frame, and visitors who ask for less motion get the same still.