html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: black;
  color: white;
  font-family: "scatterplot-vf", sans-serif;
  font-style: normal;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: "scatterplot-vf", sans-serif;
  font-weight: 400;
}

.tv-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Three subtle RGB shift layers */
.tv-overlay::before,
.tv-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 1px,
    rgba(0,0,0,0.05) 2px
  );
  mix-blend-mode: screen;
  animation: rgbShift 0.8s infinite alternate ease-in-out;
}

.tv-overlay::before {
  background-color: rgba(255,0,0,0.05);
  animation-delay: 0.2s;
}

.tv-overlay::after {
  background-color: rgba(0,255,255,0.05);
  animation-delay: 0.5s;
}

@keyframes rgbShift {
  0%, 100% {
    transform: translate(0);
    opacity: 0.08;
  }
  50% {
    transform: translate(1px, -1px);
    opacity: 0.15;
  }
}

/* Add gentle horizontal scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    rgba(0,0,0,0.02) 2px
  );
  z-index: 0;
  animation: flicker 0.2s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 0.04;
  }
  20%, 24%, 55% {
    opacity: 0.1;
  }
}

/* Content styling */
.content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}
