* {
  box-sizing: border-box;
}

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

body {
  color: #e8e8e8;
  background: #101010;
  font-family: Consolas, "Courier New", monospace;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.code {
  overflow: visible;
  width: min(1100px, 100%);
  padding: clamp(20px, 5vw, 56px);
  border: 1px solid #444;
  background: #161616;
  font-size: 22px;
  line-height: 1.45;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.development-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.development-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.13), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  transform: translateX(-100%);
  animation: scan 5s linear infinite;
}

.development-title {
  position: relative;
  display: block;
  max-width: 100%;
  margin: 0;
  color: #e8e8e8;
  font-size: 76px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: normal;
  white-space: nowrap;
  text-wrap: balance;
  text-shadow: 0 0 18px rgba(192, 132, 252, 0.55);
  animation: glow 2.8s ease-in-out infinite;
}

.development-title::before {
  content: attr(data-text);
  visibility: hidden;
}

.typed-text {
  position: absolute;
  inset: 0;
}

.typed-text::after {
  content: "";
  display: inline-block;
  width: 0.7ch;
  height: 0.78em;
  margin-left: 0.2ch;
  vertical-align: -0.08em;
  background: #c084fc;
  animation: blink 0.9s step-end infinite;
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 12px rgba(192, 132, 252, 0.42);
  }

  50% {
    text-shadow: 0 0 28px rgba(192, 132, 252, 0.85);
  }
}

@keyframes scan {
  to {
    transform: translateX(100%);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .code {
    font-size: 13px;
  }

  .development-title {
    font-size: 38px;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .development-title {
    font-size: 32px;
  }
}
