html, body {
  height: 100%;
  background: #0a0a0a;
  overflow: hidden;
}

.glow {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(34, 211, 238, .07) 0%, rgba(34, 211, 238, .02) 40%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #101214 0%, #0a0a0a 70%);
}

.vig {
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, .65) 100%);
}

.halo {
  text-shadow: 0 0 24px rgba(10, 10, 10, .9), 0 0 48px rgba(10, 10, 10, .8);
}

#boot {
  transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1), visibility 1.1s;
}
#boot.off {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#boot-bar {
  width: 0;
  box-shadow: 0 0 12px rgba(34, 211, 238, .7);
}

.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}
.glitch.on::before {
  opacity: .8;
  color: #22d3ee;
  transform: translate(-2px, 0);
  clip-path: inset(10% 0 55% 0);
  animation: gl-a .28s steps(2) infinite;
}
.glitch.on::after {
  opacity: .8;
  color: #f43f5e;
  transform: translate(2px, 0);
  clip-path: inset(55% 0 8% 0);
  animation: gl-b .28s steps(2) infinite;
}
@keyframes gl-a {
  0%   { clip-path: inset(8% 0 62% 0); }
  50%  { clip-path: inset(40% 0 30% 0); }
  100% { clip-path: inset(70% 0 5% 0); }
}
@keyframes gl-b {
  0%   { clip-path: inset(60% 0 10% 0); }
  50%  { clip-path: inset(15% 0 55% 0); }
  100% { clip-path: inset(35% 0 40% 0); }
}

#bg {
  opacity: 0;
  transition: opacity 2.4s ease;
}
body.ready #bg {
  opacity: 1;
}

.rv {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
  transition:
    opacity 1.6s cubic-bezier(.2, .7, .2, 1),
    transform 1.6s cubic-bezier(.2, .7, .2, 1),
    filter 1.6s cubic-bezier(.2, .7, .2, 1);
}
body.ready .rv {
  opacity: 1;
  transform: none;
  filter: none;
}
body.ready .rv-1 { transition-delay: .25s; }
body.ready .rv-2 { transition-delay: .7s; }

.caret {
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    transition: opacity .6s;
    transform: none;
    filter: none;
  }
}
