:root {
  --bg: #000000;
  --green: #2a8a55;
  --green-bright: #4fd087;
  --text: #eef1ef;
  --muted: #7c8a82;
  --grid-line: rgba(42, 138, 85, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

.lynx-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.lynx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#lynx-ghost {
  fill: none;
  stroke: rgba(150, 168, 159, 0.07);
  stroke-width: 0.55;
}

#lynx-laser {
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 0.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 1.4px rgba(79, 208, 135, 0.95)) drop-shadow(0 0 5px rgba(79, 208, 135, 0.55));
}

#laser-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

.logo-wrap {
  margin-bottom: 34px;
  filter: drop-shadow(0 0 22px rgba(42, 138, 85, 0.35));
}

.logo-img {
  max-width: min(560px, 78vw);
  height: auto;
  display: block;
}

.logo-fallback {
  display: none;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text);
}

.logo-fallback span {
  color: var(--green-bright);
}

.tagline {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright), 0 0 16px var(--green);
  animation: blink 2s ease-in-out infinite;
}

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

.status-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--text);
}

.terminal-line {
  position: absolute;
  bottom: 86px;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--green-bright);
  opacity: 0.75;
  white-space: nowrap;
}

.terminal-line .prompt {
  color: var(--muted);
  margin-right: 4px;
}

.terminal-line .cursor {
  animation: blink 1s steps(1) infinite;
}

.site-footer {
  position: fixed;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 540px) {
  .terminal-line { display: none; }
}
