:root {
  --bg-top: #060311;
  --bg-bottom: #13031e;
  --panel: rgba(12, 7, 27, 0.82);
  --panel-border: rgba(95, 251, 255, 0.24);
  --text: #fff7fb;
  --muted: #ffcfe7;
  --pink: #ff4fbf;
  --cyan: #5ffbff;
  --yellow: #ffe870;
  --lime: #8bff89;
  --red: #ff7d93;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", "DotGothic16", sans-serif;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 79, 191, 0.24), transparent 18rem),
    radial-gradient(circle at 82% 16%, rgba(95, 251, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, var(--bg-top) 0%, #09030f 50%, var(--bg-bottom) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 4px, 28px 100%;
}

body::after {
  opacity: 0.8;
  background-image:
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 26% 12%, rgba(95, 251, 255, 0.85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 16%, rgba(255, 79, 191, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px);
}

a {
  color: inherit;
  text-decoration: none;
}

.radar-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.34;
  pointer-events: none;
}

.radar-glow--pink {
  top: -8rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(255, 79, 191, 0.9) 0%, rgba(255, 79, 191, 0.08) 62%, transparent 76%);
}

.radar-glow--cyan {
  right: -8rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgba(95, 251, 255, 0.78) 0%, rgba(95, 251, 255, 0.08) 62%, transparent 76%);
}

.radar-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 32px 16px 48px;
}

.radar-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(145deg, rgba(255, 79, 191, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(8, 4, 18, 0.94), rgba(21, 6, 33, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 79, 191, 0.34),
    0 0 40px rgba(255, 79, 191, 0.16),
    0 28px 100px rgba(0, 0, 0, 0.4);
}

.radar-topbar,
.radar-hero,
.radar-grid {
  position: relative;
  z-index: 1;
}

.radar-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.nav-link,
.source-pill,
.lead-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 232, 112, 0.2);
  border-radius: 999px;
  color: #15050f;
  font-family: "Press Start 2P", monospace;
  font-size: 0.58rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #ffe39a, #ff9b5c 56%, #d93c54 100%);
  box-shadow:
    inset 0 -4px 0 rgba(89, 13, 29, 0.46),
    0 0 18px rgba(255, 179, 71, 0.14);
}

.nav-link--ghost {
  color: var(--text);
  border-color: rgba(95, 251, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    rgba(17, 11, 31, 0.88);
  box-shadow:
    inset 0 0 18px rgba(255, 79, 191, 0.08),
    0 0 22px rgba(95, 251, 255, 0.08);
}

.radar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  margin-bottom: 22px;
}

.radar-tag,
.panel__eyebrow,
.status-panel__label,
.status-panel__badge,
.timeline__time {
  font-family: "Press Start 2P", monospace;
}

.radar-tag {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.18em;
  text-shadow: 0 0 10px rgba(95, 251, 255, 0.65);
}

.radar-copy h1 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: "Monoton", cursive;
  font-size: clamp(2.4rem, 9vw, 5rem);
  letter-spacing: 0.1em;
  text-shadow:
    0 0 12px rgba(255, 232, 112, 0.65),
    0 0 28px rgba(255, 179, 71, 0.3);
}

.radar-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.status-panel,
.panel {
  padding: 18px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 18%),
    var(--panel);
  box-shadow:
    inset 0 0 18px rgba(255, 79, 191, 0.06),
    0 0 26px rgba(95, 251, 255, 0.07);
}

.status-panel {
  display: grid;
  gap: 10px;
  align-content: start;
}

.status-panel__label,
.panel__eyebrow {
  color: var(--cyan);
  font-size: 0.56rem;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-panel__label {
  margin: 0;
}

.status-panel__time {
  margin: 0;
  color: #fff4c4;
  font-size: 1.3rem;
  font-weight: 700;
}

.status-panel__badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 93, 126, 0.32);
  color: var(--red);
  background: rgba(52, 10, 25, 0.54);
  font-size: 0.5rem;
  line-height: 1.7;
}

.status-panel__badge[data-state="clear"] {
  border-color: rgba(139, 255, 137, 0.36);
  color: var(--lime);
  background: rgba(10, 52, 29, 0.36);
}

.status-panel__note {
  margin: 0;
  color: rgba(255, 247, 251, 0.9);
  line-height: 1.7;
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel--wide {
  grid-column: 1 / -1;
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px dashed rgba(255, 93, 126, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
    rgba(26, 7, 21, 0.72);
}

.empty-state__title {
  margin: 0;
  color: #fff2bb;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.86rem, 2vw, 1.1rem);
  line-height: 1.8;
}

.empty-state__body {
  margin: 0;
  color: rgba(255, 247, 251, 0.92);
  line-height: 1.8;
}

.chip-list,
.reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list__item,
.reason-list__item {
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 40%),
    rgba(17, 11, 31, 0.88);
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline__item {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(95, 251, 255, 0.16);
  border-radius: 18px;
  background: rgba(9, 4, 18, 0.76);
}

.timeline__time {
  margin: 0;
  color: #fff2bb;
  font-size: 0.52rem;
  line-height: 1.8;
  letter-spacing: 0.14em;
}

.timeline__body {
  margin: 0;
  line-height: 1.7;
}

.lead-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(95, 251, 255, 0.16);
  border-radius: 20px;
  background: rgba(9, 4, 18, 0.76);
}

.lead-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--cyan);
  font-family: "Press Start 2P", monospace;
  font-size: 0.5rem;
  line-height: 1.7;
}

.lead-card h2,
.lead-card__budget,
.lead-card__body {
  margin: 0;
}

.lead-card h2 {
  color: #fff2bb;
  font-size: 1.2rem;
}

.lead-card__budget {
  color: var(--lime);
  font-weight: 700;
}

.lead-card__body {
  line-height: 1.7;
}

@media (max-width: 820px) {
  .radar-shell {
    padding: 18px;
  }

  .radar-topbar,
  .radar-hero,
  .radar-grid {
    grid-template-columns: 1fr;
  }

  .radar-topbar {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .radar-page {
    padding: 20px 12px 32px;
  }

  .radar-copy h1 {
    font-size: 2.4rem;
  }

  .status-panel__time {
    font-size: 1.05rem;
  }

  .nav-link,
  .source-pill,
  .lead-card__link {
    width: 100%;
  }
}
