/* Shared HUD look (landing page + radar app). */
:root {
  --bg: #02060d; --hud: #4fd8ff; --hud-mid: #2a8fb5; --hud-dim: #0f3a52; --hud-faint: #0a2233;
  --text: #cfefff; --muted: #6f97ad; --glass: rgba(8, 28, 44, .55);
  --red: #ff4d4d; --amber: #ffb547; --yellow: #f5e15a; --green: #00ff9c;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--text); font: 16px/1.45 Rajdhani, system-ui, sans-serif; min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(40, 140, 200, .16), transparent 60%),
    linear-gradient(rgba(79, 216, 255, .035) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(79, 216, 255, .035) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--bg);
}
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; z-index: 20; }
a { color: var(--hud); }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.logo { font: 700 17px Orbitron, sans-serif; letter-spacing: .2em; color: var(--hud); text-shadow: 0 0 12px rgba(79,216,255,.6); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 26px; height: 26px; }
.btn { display: inline-block; background: transparent; color: var(--hud); border: 1px solid var(--hud-mid); padding: 9px 18px; font: 700 13px "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.btn:hover { border-color: var(--hud); box-shadow: inset 0 0 14px rgba(79,216,255,.25); }
.btn.solid { background: var(--hud); color: var(--bg); border-color: var(--hud); box-shadow: 0 0 18px rgba(79,216,255,.45); }
.btn.solid:hover { background: #8fe7ff; }
.btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.btn.small { padding: 5px 12px; font-size: 11px; }
.card { position: relative; background: var(--glass); border: 1px solid var(--hud-faint); padding: 14px 16px; margin-bottom: 14px; backdrop-filter: blur(4px); }
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--hud); }
.card::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.kicker { font: 600 11px Rajdhani; letter-spacing: .28em; color: var(--hud-mid); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.kicker .n { margin-left: auto; font-family: "JetBrains Mono"; letter-spacing: .06em; }
.tag { font: 10px "JetBrains Mono"; padding: 0 6px; border: 1px solid var(--hud-dim); color: var(--hud-mid); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.tag.ai { color: #c9a8ff; border-color: #5b3f8f; }
.pip { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.empty { color: var(--muted); font: 12px "JetBrains Mono"; }
input[type=text], input[type=password] { width: 100%; background: rgba(2,10,18,.75); color: var(--text); border: 1px solid var(--hud-dim); font: 15px "JetBrains Mono"; padding: 10px 12px; outline: none; }
input:focus { border-color: var(--hud); box-shadow: 0 0 10px rgba(79,216,255,.25); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.spin { transform-origin: 0 0; animation: spin 60s linear infinite; }
.spin.rev { animation-duration: 90s; animation-direction: reverse; }
.sweep { transform-origin: 0 0; animation: spin 7s linear infinite; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.blinkarc { animation: blink 1.6s infinite; }
/* The sweep's phosphor: an outline brightens as the beam passes, then fades over half a turn. */
@keyframes phosphor { 0% { stroke-opacity: 1; stroke-width: 3.4px; } 50%, 100% { stroke-opacity: .78; stroke-width: 1.6px; } }
.ph { stroke-opacity: .78; animation: phosphor 7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.flow { animation: flow 1.1s linear infinite; }
.flow.rev { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .spin, .sweep, .pulse, .blinkarc, .ph, .flow { animation: none; } }
[hidden] { display: none !important; }
