.neon-stage {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 430px;
}

.neon-logo {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
}

.neon-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.neon-base {
  opacity: 0.88;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.58));
}

.neon-layer {
  pointer-events: none;
}

.logo-terminal {
  position: absolute;
  z-index: 4;
  left: 14.5%;
  top: 61.5%;
  width: 30%;
  height: 13.5%;
  overflow: hidden;
  padding-inline: 2%;
  color: #67ff9a;
  background: transparent;
  text-shadow: 0 0 4px rgba(103, 255, 154, 0.82);
}

.logo-terminal code {
  display: block;
  overflow: hidden;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(4px, 0.5vw, 7px);
  line-height: 1.35;
  text-overflow: clip;
  white-space: pre;
  animation: terminal-activity 6.4s linear infinite;
}

@property --aperture {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 43%;
}

.camera-shutter {
  --aperture: 43%;
  position: absolute;
  z-index: 5;
  left: 52%;
  top: 13%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg, #020204 0deg 49deg, transparent 49deg 60deg);
  -webkit-mask: radial-gradient(circle, transparent 0 var(--aperture), #000 calc(var(--aperture) + 1%));
  mask: radial-gradient(circle, transparent 0 var(--aperture), #000 calc(var(--aperture) + 1%));
  pointer-events: none;
  opacity: 0;
  transform: rotate(0deg);
  animation: camera-capture 7.2s infinite;
}

.neon-blue {
  animation: neon-blue-pulse 4.4s infinite;
}

.neon-red {
  animation: neon-red-pulse 4.4s infinite;
}

.neon-stage > strong {
  color: #eaf1fb;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(55, 199, 255, 0.32);
}

@keyframes neon-blue-pulse {
  0%, 8%, 42%, 100% { opacity: 0.34; filter: drop-shadow(0 0 4px rgba(18, 18, 255, 0.42)); }
  12%, 17%, 22%, 36% { opacity: 1; filter: drop-shadow(0 0 10px #37c7ff) drop-shadow(0 0 30px rgba(18, 18, 255, 0.95)); }
  14%, 20% { opacity: 0.48; }
}

@keyframes neon-red-pulse {
  0%, 46%, 54%, 90%, 100% { opacity: 0.3; filter: drop-shadow(0 0 4px rgba(255, 12, 18, 0.38)); }
  58%, 63%, 68%, 84% { opacity: 1; filter: drop-shadow(0 0 10px #ff3c55) drop-shadow(0 0 30px rgba(255, 12, 18, 0.95)); }
  60%, 66% { opacity: 0.46; }
}

@keyframes terminal-activity {
  0% { opacity: 0; transform: translateY(-105%); }
  8% { opacity: 1; }
  86% { opacity: 1; }
  100% { opacity: 0; transform: translateY(90%); }
}

@keyframes camera-capture {
  0%, 76%, 100% {
    opacity: 0;
    --aperture: 43%;
    transform: rotate(0deg);
  }
  80% {
    opacity: 1;
    --aperture: 40%;
    transform: rotate(4deg);
  }
  84% {
    opacity: 1;
    --aperture: 5%;
    transform: rotate(25deg);
  }
  87% {
    opacity: 1;
    --aperture: 43%;
    transform: rotate(48deg);
  }
  91% {
    opacity: 0;
    --aperture: 43%;
    transform: rotate(58deg);
  }
}


.neon-stage{min-height:0;min-width:0;padding:20px}.neon-stage > strong{font-family:Manrope, sans-serif;color:#354a65;text-shadow:none;font-size:1rem;letter-spacing:.12em}.neon-base{filter:drop-shadow(0 14px 24px #33557722)}.logo-terminal code{font-size:clamp(4px, .5vw, 7px)}
@media(max-width:900px){.neon-logo{width:min(290px,72vw)}.neon-stage{min-height:0;padding:8px}.logo-terminal code{font-size:5px}}
@media(prefers-reduced-motion:reduce){.neon-blue,.neon-red,.logo-terminal code{animation:none}.camera-shutter{display:none}}
.logo-terminal{background:#15283b;border-radius:2px;color:#86efac;text-shadow:none}
