:root {
  --ink: #171117;
  --cream: #fff0c7;
  --pink: #ff5dbe;
  --lime: #d5ff42;
  --orange: #ff7b35;
  --blue: #5d73ff;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: "DM Mono", monospace;
}

.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 123, 53, .28), transparent 28rem),
    linear-gradient(130deg, #16101d 0%, #351b52 48%, #122c45 100%);
  transition: filter 1s ease, background 1s ease;
}

.scene::before, .scene::after {
  position: absolute;
  content: "";
  inset: -20%;
  z-index: -2;
  background: conic-gradient(from 20deg, transparent, rgba(255, 93, 190, .22), transparent 22%, rgba(213, 255, 66, .18), transparent 45%);
  filter: blur(30px);
  animation: spin 26s linear infinite;
}

.scene::after {
  z-index: -3;
  opacity: .7;
  animation-direction: reverse;
  animation-duration: 19s;
  transform: scale(1.4);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.sun {
  position: absolute;
  width: min(66vw, 62rem);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  z-index: -1;
  border-radius: 47% 53% 58% 42% / 51% 43% 57% 49%;
  background: radial-gradient(circle at 35% 30%, var(--lime), var(--orange) 33%, var(--pink) 68%, transparent 70%);
  filter: blur(2px) saturate(1.5);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: blob 9s ease-in-out infinite alternate, hue 13s linear infinite;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 240, 199, .45);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  pointer-events: none;
}

.orbit-one { width: 76vw; height: 22vw; animation: orbit 11s ease-in-out infinite alternate; }
.orbit-two { width: 58vw; height: 45vw; animation: orbit 15s ease-in-out infinite alternate-reverse; }
.orbit-three { width: 33vw; height: 64vw; animation: orbit 8s ease-in-out infinite alternate; }

.weird-button {
  position: absolute;
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: clamp(1.25rem, 5vw, 4rem);
  z-index: 6;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  padding: 0;
  align-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: .35rem .35rem 0 var(--pink);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.weird-button b { display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 1rem; }
.weird-button:hover { transform: translate(-.15rem, -.15rem) rotate(2deg); box-shadow: .55rem .55rem 0 var(--pink); }
.weird-button:active { transform: translate(.2rem, .2rem); box-shadow: .15rem .15rem 0 var(--pink); }

.weirder { filter: saturate(1.5) contrast(1.12) hue-rotate(35deg); }
.weirder .sun { animation-duration: 2.7s, 4s; }
.weirder .orbit { border-color: rgba(213, 255, 66, .7); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blob { 0% { transform: translate(-50%, -50%) rotate(0) scale(.85, 1.05); border-radius: 47% 53% 58% 42% / 51% 43% 57% 49%; } 100% { transform: translate(-50%, -50%) rotate(180deg) scale(1.12, .86); border-radius: 62% 38% 35% 65% / 42% 58% 44% 56%; } }
@keyframes hue { to { filter: blur(2px) saturate(1.5) hue-rotate(360deg); } }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(25deg) scale(1.15, .75); opacity: .35; } }
@media (max-width: 600px) {
  .sun { width: 120vw; }
  .orbit-one { width: 125vw; height: 43vw; }
  .orbit-two { width: 95vw; height: 74vw; }
  .orbit-three { width: 55vw; height: 120vw; }
}