/* Macaw gradient from movin.design: https://movin.design/gradients/macaw/ */
@property --gradient-phase {
syntax: '<angle>';
inherits: false;
initial-value: 0deg;
}
@keyframes gradient-phase {
to { --gradient-phase: 360deg; }
}
.gradient {
background-color: #0c1250;
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.075'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E"),
radial-gradient(40% 40% at calc(44% + 3% * cos(var(--gradient-phase) + 145deg)) calc(110% + 3% * sin(var(--gradient-phase) + 145deg)), #070516 0%, #070516c8 30%, #0705165a 60%, #07051600 100%),
radial-gradient(16.42% 70.4% at calc(50% + 3% * cos(8deg - var(--gradient-phase))) calc(50% + 3% * sin(8deg - var(--gradient-phase))), #070516 0%, #070516c8 30%, #0705165a 60%, #07051600 100%),
radial-gradient(34% 34% at calc(100% + 3% * cos(var(--gradient-phase) + 230deg)) calc(-6% + 3% * sin(var(--gradient-phase) + 230deg)), #ffd428 0%, #ffd428c8 30%, #ffd4285a 60%, #ffd42800 100%),
radial-gradient(40% 40% at calc(108% + 3% * cos(93deg - var(--gradient-phase))) calc(104% + 3% * sin(93deg - var(--gradient-phase))), #ff8a1e 0%, #ff8a1ec8 30%, #ff8a1e5a 60%, #ff8a1e00 100%),
radial-gradient(74% 74% at calc(104% + 3% * cos(var(--gradient-phase) + 315deg)) calc(60% + 3% * sin(var(--gradient-phase) + 315deg)), #f0282e 0%, #f0282ec8 30%, #f0282e5a 60%, #f0282e00 100%),
radial-gradient(40% 40% at calc(-8% + 3% * cos(178deg - var(--gradient-phase))) calc(100% + 3% * sin(178deg - var(--gradient-phase))), #28c4f0 0%, #28c4f0c8 30%, #28c4f05a 60%, #28c4f000 100%),
radial-gradient(76% 76% at calc(-4% + 3% * cos(var(--gradient-phase) + 40deg)) calc(40% + 3% * sin(var(--gradient-phase) + 40deg)), #1c46f0 0%, #1c46f0c8 30%, #1c46f05a 60%, #1c46f000 100%);
background-blend-mode: overlay, normal, normal, normal, normal, normal, normal, normal;
animation: gradient-phase 28s 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.