:root {
  --jbs-navy: #06172d;
  --jbs-surface: rgba(9, 24, 46, 0.9);
  --jbs-blue: #28a4ff;
  --jbs-gold: #f5bf4f;
  --jbs-ink: #091221;
  --jbs-line: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(40, 164, 255, 0.14), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(245, 191, 79, 0.13), transparent 22%),
    linear-gradient(180deg, #040b16 0%, #08172b 55%, #0a1931 100%);
  color: #edf2ff;
}

.grid-shell {
  position: relative;
  overflow: hidden;
}

.grid-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

.glass-panel {
  background: rgba(9, 24, 46, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.section-card {
  background: rgba(8, 22, 43, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.route-glow {
  position: relative;
}

.route-glow::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 180px;
  background: radial-gradient(circle, rgba(40, 164, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-map {
  position: relative;
  min-height: 520px;
}

.hero-map::before,
.hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-map::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(40, 164, 255, 0.35), transparent 0 18%),
    radial-gradient(circle at 70% 18%, rgba(245, 191, 79, 0.25), transparent 0 15%),
    radial-gradient(circle at 82% 70%, rgba(40, 164, 255, 0.2), transparent 0 18%);
  filter: blur(18px);
}

.hero-map::after {
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(40, 164, 255, 0.34) 22.5%, transparent 24%),
    linear-gradient(140deg, transparent 0 60%, rgba(245, 191, 79, 0.26) 60.5%, transparent 62%),
    linear-gradient(162deg, transparent 0 72%, rgba(40, 164, 255, 0.24) 72.5%, transparent 74%);
  animation: drift 11s ease-in-out infinite alternate;
  opacity: 0.85;
}

.route-chip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card {
  background: linear-gradient(180deg, rgba(10, 30, 56, 0.95), rgba(5, 14, 29, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-soft {
  border: 1px solid rgba(40, 164, 255, 0.24);
  background: rgba(40, 164, 255, 0.12);
  color: #8bcfff;
}

.gold-badge {
  border: 1px solid rgba(245, 191, 79, 0.35);
  background: rgba(245, 191, 79, 0.1);
  color: #ffd976;
}

.portal-sidebar-link {
  transition: 180ms ease;
}

.portal-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.portal-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-table tr:last-child {
  border-bottom: none;
}

.portal-stat-bar {
  background: linear-gradient(90deg, rgba(40, 164, 255, 0.8), rgba(245, 191, 79, 0.75));
}

.content-copy h2,
.content-copy h3 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-copy p,
.content-copy li {
  color: rgba(235, 242, 255, 0.88);
  line-height: 1.75;
}

.content-copy ul {
  list-style: disc;
  padding-left: 1.2rem;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, 0, 0);
  }
  to {
    transform: translate3d(2%, 3%, 0);
  }
}
