@font-face {
  font-family: 'VHS Gothic';
  src: url('https://headberries.neocities.org/fonts/vhs-gothic.woff');
}

body {
  background: black;
  margin: 0;
  padding: 0;
  color: white;
}

.header {
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
  text-align: center;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
  animation: crtVideoBoot 1.3s cubic-bezier(0.25, 1, 0.3, 1) forwards;
  transform-origin: center;
  filter: brightness(1.4) contrast(1.2);
}

.content {
  position: relative;
  z-index: 1;
  background: none;
}

.nbp-log {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 14px 16px 16px 14px;
  border: 2px solid white;
  box-shadow:
    0 0 12px #00ffff,
    0 0 24px rgba(29, 208, 120, 0.6);
  font-family: 'VHS Gothic', monospace;
  color: #89fdf6;
  animation: bootIn 1.2s steps(18, end) forwards;
  opacity: 0;
  transform: scaleY(0.05);
  transform-origin: bottom;
  filter:
    drop-shadow(5px 0 rgba(137,253,246,0.25))
    drop-shadow(-5px 0 rgba(29,208,120,0.25));
}

.nbp-log-title {
  font-size: 1.05em;
  margin-bottom: 6px;
  text-align: left;
  transform: translateX(-4px);
}

.nbp-log-list {
  list-style-type: disc;
  padding-left: 18px;
  margin: 0;
}

.nbp-log-list li {
  margin: 2px 0;
  position: relative;
}

.nbp-log-list li::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(137,253,246,0.2),
    rgba(29,208,120,0.2),
    transparent
  );
}

.nbp-log-list li:hover::after {
  opacity: 1;
  animation: lineCorrupt 0.18s steps(2);
}

.nbp-log-list a {
  color: #89fdf6;
  text-decoration: none;
}

.nbp-log-list a:hover {
  color: #ffffff;
  text-shadow:
    0 0 4px #1dd078,
    0 0 8px rgba(29, 208, 120, 0.7);
}

.crt-clock {
  position: fixed;
  bottom: 50px;
  right: 300px;
  z-index: 2;
  font-family: 'VHS Gothic', monospace;
  font-size: 2em;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 4px #89fdf6,
    0 0 8px #1dd078,
    0 0 14px rgba(29, 208, 120, 0.6);
  filter:
    drop-shadow(5px 0 rgba(137,253,246,0.25))
    drop-shadow(-5px 0 rgba(29,208,120,0.25));
}

.crt-clock-link {
  text-decoration: none;
  color: inherit;
}

.crt-clock-link:hover .crt-clock {
  color: #eb4200;
  text-shadow:
    0 0 4px #eb4200,
    0 0 8px rgba(235, 66, 0, 0.8),
    0 0 14px rgba(235, 66, 0, 0.6);
  filter:
    drop-shadow(5px 0 rgba(235, 66, 0, 0.35))
    drop-shadow(-5px 0 rgba(235, 66, 0, 0.35));
}

    
.clock-glitch {
  opacity: 0.85;
  transform: translateX(-1px);
}

.clock-jump {
  text-shadow:
    0 0 6px #ffffff,
    2px 0 #89fdf6,
    -2px 0 #1dd078;
}

@keyframes bootIn {
  0% {
    opacity: 0;
    transform: scaleY(0.05);
    filter: brightness(2);
  }
  60% {
    opacity: 1;
    transform: scaleY(1.05);
    filter: brightness(1.5);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
    filter: brightness(1);
  }
}

@keyframes crtVideoBoot {
  0% {
    transform: translate(-50%, -50%) scaleY(0.02);
    opacity: 0;
    filter: brightness(2.5) contrast(1.5);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(0.08);
  }
  100% {
    transform: translate(-50%, -50%) scaleY(1);
    filter: brightness(1.1) contrast(1.1);
  }
}

@keyframes lineCorrupt {
  0% { transform: translateX(0); }
  50% { transform: translateX(-3px); }
  100% { transform: translateX(2px); }
}
