:root {
  --bg-black: #000000;
  --accent-blue: #3b82f6;
  --accent-cyan: #60a5fa;
  --hud-line: rgba(255, 255, 255, 0.08);
  --reticle-color: rgba(148, 163, 184, 0.75);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-black);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}


#rf-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.hud-axis-v {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--hud-line) 15%,
    var(--hud-line) 85%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hud-axis-h {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.04) 80%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hud-box {
  background: radial-gradient(
    ellipse at center,
    rgba(8, 15, 28, 0.82) 0%,
    rgba(2, 4, 9, 0.92) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 50px rgba(37, 99, 235, 0.14),
    inset 0 0 30px rgba(59, 130, 246, 0.06);
}

.reticle-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.reticle-tl {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid var(--reticle-color);
  border-left: 1.5px solid var(--reticle-color);
}

.reticle-tr {
  top: -1px;
  right: -1px;
  border-top: 1.5px solid var(--reticle-color);
  border-right: 1.5px solid var(--reticle-color);
}

.reticle-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1.5px solid var(--reticle-color);
  border-left: 1.5px solid var(--reticle-color);
}

.reticle-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid var(--reticle-color);
  border-right: 1.5px solid var(--reticle-color);
}

.pulse-dot {
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.9);
  animation: beaconPulse 2.4s ease-in-out infinite;
}

@keyframes beaconPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

@media (max-width: 640px) {
  .reticle-corner {
    width: 10px;
    height: 10px;
  }
}