:root {
  --bg: #030303;
  --panel: rgba(10, 10, 10, 0.72);
  --panel-soft: rgba(18, 18, 18, 0.56);
  --line: rgba(255,255,255,0.09);
  --orange: #f7931a;
  --text: rgba(255,255,255,0.94);
  --muted: rgba(255,255,255,0.62);
  --sidebar: 250px;
  --right-panel: 340px;
  --bottom-space: 230px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

#atlas-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.atlas-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), transparent 26%, transparent 70%, rgba(0,0,0,.76)),
    radial-gradient(circle at 52% 42%, transparent 0%, rgba(0,0,0,.22) 48%, rgba(0,0,0,.82) 100%);
  z-index: 2;
}

.atlas-noise {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .045;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
}

.atlas-sidebar {
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar);
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,.86), rgba(0,0,0,.58));
  backdrop-filter: blur(20px);
  padding: 26px 18px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.brand-orb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(247,147,26,.45);
  color: var(--orange);
  box-shadow: 0 0 28px rgba(247,147,26,.18);
}

.brand-title {
  font-size: 24px;
  letter-spacing: .16em;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: .24em;
  font-weight: 800;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.side-nav button {
  text-align: left;
  border: 0;
  border-radius: 14px;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
}

.side-nav button.active {
  background: linear-gradient(90deg, rgba(247,147,26,.18), transparent);
  color: #ffd1a0;
}

.network-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.card-label,
.journey-label {
  color: rgba(255,255,255,.72);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 850;
}

.big-number {
  margin-top: 8px;
  font-size: 30px;
}

.tiny-line {
  color: #ffb45c;
  font-size: 12px;
}

.mini-chart {
  height: 44px;
  margin: 16px 0;
  border-bottom: 1px solid rgba(247,147,26,.34);
  background:
    linear-gradient(135deg, transparent 10%, rgba(247,147,26,.1) 11%, transparent 12%),
    radial-gradient(circle at 76% 40%, rgba(247,147,26,.4), transparent 18%);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-grid span,
.atlas-stats span {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.metric-grid strong,
.atlas-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.atlas-topbar {
  position: fixed;
  z-index: 22;
  top: 22px;
  left: 280px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.atlas-search {
  width: 340px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(18px);
}

.atlas-search input {
  flex: 1;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
}

.atlas-search kbd {
  color: rgba(255,255,255,.5);
  font-size: 11px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.top-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.top-links button {
  border: 1px solid rgba(247,147,26,.38);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(0,0,0,.36);
  color: white;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.atlas-main {
  position: relative;
  z-index: 8;
  height: 100vh;
  margin-left: var(--sidebar);
}

.hero-copy {
  position: absolute;
  left: 64px;
  top: 102px;
  width: 390px;
  z-index: 16;
}

.hero-copy h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.05em;
}

.hero-copy h1 span {
  color: var(--orange);
}

.hero-copy p {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions button {
  border-radius: 999px;
  padding: 12px 17px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  color: white;
  background: rgba(0,0,0,.42);
}

.hero-actions .primary {
  color: #ffd6a4;
  border-color: rgba(247,147,26,.48);
  background: rgba(247,147,26,.2);
  box-shadow: 0 0 34px rgba(247,147,26,.18);
}

.detail-panel {
  position: absolute;
  right: 34px;
  top: 104px;
  width: var(--right-panel);
  max-height: calc(100vh - 330px);
  overflow: hidden;
  padding: 22px;
  z-index: 24;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8,8,8,.72);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 100px rgba(0,0,0,.48);
}

.detail-top {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em;
}

.detail-top span {
  color: rgba(247,147,26,.85);
}

.detail-top button {
  border: 0;
  color: white;
  background: transparent;
  font-size: 22px;
}

.detail-panel h2 {
  margin: 24px 0 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.05em;
}

.detail-panel h3 {
  margin: 10px 0 0;
  color: var(--orange);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}

.tabs {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  border: 0;
  padding: 0 0 10px;
  background: transparent;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}

.tabs button.active {
  color: #ffc071;
  border-bottom: 2px solid var(--orange);
}

.panel-visual {
  height: 110px;
  margin: 18px 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(247,147,26,.34), transparent 18%),
    radial-gradient(circle at 30% 30%, rgba(247,147,26,.18), transparent 10%),
    radial-gradient(circle at 72% 72%, rgba(247,147,26,.18), transparent 10%),
    rgba(255,255,255,.025);
}

.detail-panel p {
  color: rgba(255,255,255,.64);
  line-height: 1.5;
  font-size: 13px;
}

.key-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.key-list div {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

.explore-layer {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 12px;
  background: rgba(255,255,255,.035);
  color: white;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.journey-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 72px;
  height: 138px;
  z-index: 18;
  display: grid;
  grid-template-columns: 1fr 170px 250px;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(22px);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.journey-steps button {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  text-align: left;
}

.journey-steps span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 8px;
}

.journey-steps button.active span {
  color: #ffd19a;
  border-color: rgba(247,147,26,.8);
  box-shadow: 0 0 28px rgba(247,147,26,.3);
}

.journey-steps strong,
.journey-steps em {
  display: block;
}

.journey-steps strong {
  font-size: 13px;
}

.journey-steps em {
  margin-top: 4px;
  color: rgba(255,255,255,.42);
  font-style: normal;
  font-size: 11px;
}

.journey-controls {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0 18px;
}

.journey-controls p {
  color: rgba(255,255,255,.55);
}

.journey-controls button {
  width: 42px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: white;
}

.mini-map {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(247,147,26,.25), transparent 18%),
    radial-gradient(circle at 30% 62%, rgba(247,147,26,.18), transparent 8%),
    radial-gradient(circle at 74% 28%, rgba(247,147,26,.18), transparent 8%),
    rgba(255,255,255,.025);
}

.mini-map-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--orange);
  box-shadow: 0 0 22px rgba(247,147,26,.6);
}

.atlas-stats {
  position: fixed;
  z-index: 21;
  left: var(--sidebar);
  right: 0;
  bottom: 0;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(18px);
}

.atlas-stats div {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}

.atlas-marker-layer {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}

.atlas-marker {
  position: absolute;
  width: 178px;
  padding: 11px 13px;
  border: 1px solid rgba(247,147,26,.44);
  border-radius: 16px;
  background: rgba(9,9,9,.68);
  backdrop-filter: blur(18px);
  color: white;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 28px rgba(247,147,26,.14);
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}

.atlas-marker:hover {
  transform: translate(-50%, -50%) scale(1.04);
  border-color: rgba(247,147,26,.85);
}

.atlas-marker-kicker {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 900;
}

.atlas-marker-title {
  margin-top: 4px;
  font-weight: 850;
}

.atlas-marker-dot {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(247,147,26,.9);
}

@media (max-width: 1100px) {
  .atlas-sidebar,
  .atlas-topbar,
  .detail-panel,
  .atlas-stats {
    display: none;
  }

  .atlas-main {
    margin-left: 0;
  }

  .journey-panel {
    display: none;
  }

  .hero-copy {
    left: 36px;
    top: 80px;
  }
}