* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

@keyframes flicker {
  0%,
  19.999%,
  22%,
  62.999%,
  64%,
  64.999%,
  70%,
  100% {
    opacity: 0.99;
  }
  20%,
  21.999%,
  63%,
  63.999%,
  65%,
  69.999% {
    opacity: 0.4;
  }
}

body {
  background: #000000;
  background: radial-gradient(circle, rgba(61, 56, 56, 1) 0%, rgba(0, 0, 0, 1) 50%);
  height: 100vh;
  width: 100vw;
  font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

h1 {
  font-size: 1.5rem;
  letter-spacing: clamp(0.5rem, 2vw, 2rem);
}

h1 .c1 {
  animation: flicker 2s linear infinite;
}

h1 .c2 {
  animation: flicker 4s linear infinite;
}

h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
}

h2 .c1 {
  animation: flicker 1s linear infinite;
}

h2 .c2 {
  animation: flicker 3s linear infinite;
}

h3 {
  font-size: 1.5rem;
  rotate: 180deg;
  text-transform: uppercase;
}

h3 .c1 {
  animation: flicker 1.75s linear infinite;
}

.scanlines {
  overflow: hidden;
  position: absolute;
  z-index: 1;
  height: 100vh;
  width: 100vw;
}

.scanlines:before,
.scanlines:after {
  display: block;
  content: "";
  position: absolute;
}

.scanlines:before {
  width: 100%;
  height: 2px;
  z-index: 2147483649;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.75;
  animation: scanline 6s linear infinite;
}

.scanlines:after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483648;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 51%);
  background-size: 100% 4px;
  animation: scanlines 1s steps(60) infinite;
}

@keyframes scanline {
  0% {
    transform: translate3d(0, 200000%, 0);
  }
}

@keyframes scanlines {
  0% {
    background-position: 0 50%;
  }
}

a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: 4rem;
  transition: transform 0.3s ease-in-out;
  position: fixed;
  z-index: 10;
  bottom: 2rem;
  border-radius: 2px;
}

a:hover {
  transform: scale(1.1) rotate(-10deg);
}

a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}
