html, body {
  margin: 0;
  min-height: 100%;
  background: #f2f1ee;
  color: #14110f;
  font-family: system-ui, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 0;
}

.pixel-text {
  margin: 0;
  width: min(760px, 92vw);
  padding: 28px 0;
  text-align: left;
  font-size: clamp(48px, 11vw, 140px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}


.pixel-text span {
  display: inline-block;
  transition: opacity 0.35s, transform 0.35s;
}

.pixel-text:hover span {
  opacity: 0.35;
  transform: translateX(24px);
}


.preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 540px;
  pointer-events: none;
}

.preview canvas {
  width: 100%;
  height: 100%;
  display: block;
}
