:root {
  --black: #000;
  --white: #f6f7f7;
  --line: #3b3f40;
  --cyan: #69e9ef;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

#background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.025) 4px);
}

.hero {
  min-height: 0;
  display: grid;
  place-items: center;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--white);
  text-decoration: none;
  font-family: "Russo One", "Arial Black", sans-serif;
  font-size: clamp(2.35rem, 5.8vw, 4.8rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.055em;
  line-height: 1;
  transform: skewX(-10deg) scaleX(1.12);
  text-shadow: 4px 2px 0 rgba(105, 233, 239, .18);
  transition: color .25s ease, text-shadow .25s ease, filter .25s ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--cyan);
  text-shadow:
    0 0 7px rgba(105, 233, 239, .9),
    0 0 18px rgba(105, 233, 239, .65),
    0 0 38px rgba(105, 233, 239, .4);
  filter: brightness(1.18);
  outline: none;
}

.loading-dots {
  display: inline-flex;
  width: 1.05em;
  margin-left: .08em;
  color: var(--cyan);
}

.loading-dots i {
  font: inherit;
  opacity: .12;
  animation: loading-dot 1.5s steps(1, end) infinite;
}

.loading-dots i:nth-child(2) { animation-delay: .3s; }
.loading-dots i:nth-child(3) { animation-delay: .6s; }

@keyframes loading-dot {
  0%, 20% {
    opacity: .12;
    text-shadow: none;
  }
  21%, 68% {
    opacity: 1;
    text-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(105, 233, 239, .65);
  }
  69%, 100% {
    opacity: .12;
    text-shadow: none;
  }
}

.site-footer {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  border-bottom: 2px solid #174249;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  font: 600 .82rem Arial, sans-serif;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}

.site-footer a:hover { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
.separator { color: #668185; }

@media (max-width: 600px) {
  .brand { font-size: clamp(1.8rem, 10vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .loading-dots i { animation-duration: 2.4s; }
}
