:root {
  color-scheme: dark;
  font-family: "Courier New", "Lucida Console", monospace;
  background: #05060a;
  color: #eafcff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 246, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 163, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, #11152a 0, #080a12 45%, #05060a 75%);
  background-size: 48px 48px, 48px 48px, auto;
}

body::before {
  position: fixed;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  opacity: 0.65;
}

main {
  position: relative;
  isolation: isolate;
  width: min(80vw, 52rem);
  padding: clamp(2.5rem, 9vw, 6rem) clamp(1.5rem, 8vw, 5rem);
  border: 1px solid rgba(0, 246, 255, 0.6);
  clip-path: polygon(1.25rem 0, 100% 0, 100% calc(100% - 1.25rem), calc(100% - 1.25rem) 100%, 0 100%, 0 1.25rem);
  background: rgba(5, 6, 10, 0.78);
  box-shadow:
    0 0 1.5rem rgba(0, 246, 255, 0.13),
    inset 0 0 2.5rem rgba(255, 45, 163, 0.05);
}

main::before,
main::after {
  position: absolute;
  z-index: -1;
  content: "";
}

main::before {
  inset: 0.6rem;
  border-top: 2px solid #ff2da3;
  border-bottom: 2px solid #00f6ff;
  opacity: 0.65;
}

main::after {
  width: 0.7rem;
  height: 0.7rem;
  top: -0.35rem;
  right: 18%;
  background: #ff2da3;
  box-shadow: 0 0 1rem #ff2da3;
}

h1 {
  position: relative;
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: clamp(0.08em, 1vw, 0.18em);
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
  text-shadow:
    0.045em 0 #ff2da3,
    -0.045em 0 #00f6ff,
    0 0 0.7em rgba(0, 246, 255, 0.35);
  animation: signal-pulse 4.8s ease-in-out infinite;
}

h1::after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(46% 0 42% 0);
  content: attr(data-text);
  color: #ffffff;
  text-shadow: -0.06em 0 #ff2da3;
  transform: translateX(0.035em);
}

@keyframes signal-pulse {
  0%,
  88%,
  100% {
    opacity: 1;
  }

  90% {
    opacity: 0.72;
  }

  92% {
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1 {
    animation: none;
  }
}
