:root {
  --bg: #05060a;
  --bg-2: #0a0d14;
  --scanline: rgba(255, 255, 255, 0.02);
  --text: #f4f6ff;
  --muted: rgba(244, 246, 255, 0.55);
  --accent: #44f5a1;
  --frame: rgba(255, 255, 255, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  color: var(--text);
  background: radial-gradient(900px 480px at 10% 10%, #0f131d 0%, transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    var(--scanline) 0,
    var(--scanline) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0.45;
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  inset: -30% 0 0 0;
  background: radial-gradient(circle, rgba(68, 245, 161, 0.18) 0%, transparent 55%);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: drift 18s linear infinite;
  pointer-events: none;
}

.binary {
  position: fixed;
  inset: 0;
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  overflow: hidden;
  transform: translate3d(-10%, 0, 0);
  animation: binary-flow 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.frame {
  width: min(980px, 100%);
  padding: clamp(28px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 820px;
  position: relative;
}

.mark {
  position: absolute;
  top: -12%;
  left: 0;
  font-size: clamp(56px, 14vw, 180px);
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.05);
  z-index: 0;
  pointer-events: none;
}

.eyebrow {
  color: var(--muted);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 22px 0;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.05;
  margin: 0 0 18px 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.prompt {
  display: block;
  font-size: clamp(14px, 2.6vw, 24px);
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.command {
  color: var(--text);
}

.caret {
  display: inline-block;
  width: clamp(14px, 2vw, 20px);
  height: clamp(30px, 5.6vw, 58px);
  margin-left: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(68, 245, 161, 0.6);
  animation: blink 1.2s steps(1) infinite;
}

.status {
  color: var(--muted);
  font-size: clamp(12px, 2vw, 18px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .prompt {
    letter-spacing: 0.08em;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12%, 6%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes binary-flow {
  0% {
    transform: translate3d(-20%, 0, 0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.45;
  }
  100% {
    transform: translate3d(20%, 0, 0);
    opacity: 0.2;
  }
}
