/* Cinder gradient from movin.design: https://movin.design/gradients/cinder/ */
@property --gradient-phase {
syntax: '<angle>';
inherits: false;
initial-value: 0deg;
}
@keyframes gradient-phase {
to { --gradient-phase: 360deg; }
}
.gradient {
background-color: #14061c;
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.06'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E"),
repeating-linear-gradient(90deg, rgb(82 82 82 / 0.75) 0%, rgb(199 199 199 / 0.75) 0.4583%, rgb(140 140 140 / 0.75) 1.2917%, rgb(82 82 82 / 0.75) 2.0833%),
radial-gradient(28% 28% at calc(84% + 6% * cos(8deg - var(--gradient-phase))) calc(12% + 6% * sin(8deg - var(--gradient-phase))), #ff9e62 0%, #ff9e62 19.5%, #ff9e62c8 43.7%, #ff9e625a 67.8%, #ff9e6200 100%),
radial-gradient(40% 40% at calc(52% + 6% * cos(var(--gradient-phase) + 230deg)) calc(26% + 6% * sin(var(--gradient-phase) + 230deg)), #ff8b4a 0%, #ff8b4a 19.5%, #ff8b4ac8 43.7%, #ff8b4a5a 67.8%, #ff8b4a00 100%),
radial-gradient(48% 48% at calc(22% + 6% * cos(93deg - var(--gradient-phase))) calc(22% + 6% * sin(93deg - var(--gradient-phase))), #e2402c 0%, #e2402c 19.5%, #e2402cc8 43.7%, #e2402c5a 67.8%, #e2402c00 100%),
radial-gradient(42% 42% at calc(34% + 6% * cos(var(--gradient-phase) + 315deg)) calc(70% + 6% * sin(var(--gradient-phase) + 315deg)), #c21a5c 0%, #c21a5c 19.5%, #c21a5cc8 43.7%, #c21a5c5a 67.8%, #c21a5c00 100%),
radial-gradient(38% 38% at calc(72% + 6% * cos(178deg - var(--gradient-phase))) calc(78% + 6% * sin(178deg - var(--gradient-phase))), #7a2275 0%, #7a2275 19.5%, #7a2275c8 43.7%, #7a22755a 67.8%, #7a227500 100%),
radial-gradient(30% 30% at calc(95% + 6% * cos(var(--gradient-phase) + 40deg)) calc(86% + 6% * sin(var(--gradient-phase) + 40deg)), #1a0b2e 0%, #1a0b2e 19.5%, #1a0b2ec8 43.7%, #1a0b2e5a 67.8%, #1a0b2e00 100%);
background-blend-mode: overlay, overlay, normal, normal, normal, normal, normal, normal;
animation: gradient-phase 22s 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.