:root {
  color: #00ff00;
  background: transparent;
  font-family: "Courier New", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ascii-logo-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

.ascii-stage {
  position: relative;
  width: min(100vw, 56.25vh);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: transparent;
}

.ascii-stage .ascii-effect {
  inset: auto;
  top: 50%;
  left: 50%;
  width: min(100vw, 56.25vh);
  height: min(180vw, 101.25vh);
  transform: translate(-50%, -50%);
}

.ascii-stage::before,
.ascii-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ascii-stage::before {
  z-index: 1;
  background:
    repeating-linear-gradient(180deg, rgba(0, 255, 0, 0.28) 0 1px, rgba(0, 0, 0, 0.42) 1px 4px, rgba(0, 255, 0, 0.08) 4px 7px),
    repeating-linear-gradient(90deg, rgba(0, 255, 0, 0.06) 0 1px, transparent 1px 4px),
    #000000;
  filter: blur(0.7px);
  opacity: 0.92;
  mask-image: radial-gradient(ellipse at center, #000 0 54%, rgba(0, 0, 0, 0.82) 68%, transparent 92%);
}

.ascii-stage::after {
  z-index: 3;
  background:
    radial-gradient(ellipse at center, transparent 0 58%, rgba(0, 0, 0, 0.35) 76%, transparent 95%),
    repeating-radial-gradient(circle at center, rgba(0, 255, 0, 0.09) 0 1px, transparent 1px 5px);
  opacity: 0.72;
  mask-image: radial-gradient(ellipse at center, #000 0 62%, rgba(0, 0, 0, 0.72) 78%, transparent 96%);
}

.ascii-effect {
  position: absolute;
  z-index: 2;
  display: block;
  color: #00ff00;
  background: transparent;
  font-family: "Courier New", Consolas, monospace;
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: 0;
  text-shadow:
    0 0 5.5px rgba(0, 255, 0, 1),
    0 0 19.8px rgba(0, 255, 0, 0.825),
    0 0 46.2px rgba(0, 255, 0, 0.506),
    0 0 79.2px rgba(0, 255, 0, 0.264);
}

.ascii-effect canvas {
  display: none;
}
