body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Inter', sans-serif;
  color: white;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ff4d4d, #6b00ff);
}

.content {
  display: flex;
  flex-direction: column; /* stack TV and text vertically */
  align-items: center;    /* center horizontally */
  z-index: 2;
}


.tv-container {
  position: relative; /* Important: canvas is relative to TV */
  display: inline-block;
  margin-bottom: 1.5rem;
  width: 200px; /* match SVG width */
  height: 150px; /* match SVG height */
}

#tvStatic {
  position: absolute;
  top: 40px; /* same as screen y in SVG */
  left: 30px; /* same as screen x in SVG */
  width: 140px;
  height: 80px;
  image-rendering: pixelated;
  z-index: 1; /* behind text */
}


h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin: 0;
}

.wave-text {
  display: inline-block;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.wave-text span {
  display: inline-block;
  animation: wave 1.5s infinite ease-in-out;
}

.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.1s; }
.wave-text span:nth-child(3) { animation-delay: 0.2s; }
.wave-text span:nth-child(4) { animation-delay: 0.3s; }
.wave-text span:nth-child(5) { animation-delay: 0.4s; }
.wave-text span:nth-child(6) { animation-delay: 0.5s; }
.wave-text span:nth-child(7) { animation-delay: 0.6s; }
.wave-text span:nth-child(8) { animation-delay: 0.7s; }
.wave-text span:nth-child(9) { animation-delay: 0.8s; }
.wave-text span:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
