html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #090d18;
  color: #ffffff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#map {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.topnav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.nav-item {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-item.is-active {
  color: #09111a;
  background: #ffffff;
}

.hero-panel {
  position: fixed;
  top: 92px;
  left: 24px;
  z-index: 2;
  width: min(460px, calc(100vw - 48px));
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(7, 11, 20, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #89c2ff;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.hero-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.detail-panel {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: min(320px, calc(100vw - 48px));
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(7, 11, 20, 0.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.detail-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #89c2ff;
  text-transform: uppercase;
}

.detail-panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.08;
}

.detail-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-copy {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 14px;
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.detail-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.detail-button.primary {
  background: #ffffff;
  color: #09111a;
}

.detail-button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.card-rail {
  position: fixed;
  right: 24px;
  top: 340px;
  bottom: 24px;
  z-index: 2;
  width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 14px;
  align-content: end;
  pointer-events: none;
}

.place-card {
  pointer-events: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(7, 11, 20, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.place-card:hover,
.place-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 38, 0.78);
}

.place-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.place-meta,
.place-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.place-meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.place-copy {
  margin-top: 10px;
  font-size: 14px;
}

.status {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.62);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.status.is-ready {
  color: #7df0c8;
}

@media (max-width: 900px) {
  .topnav {
    left: 24px;
    right: 24px;
    transform: none;
    overflow: auto;
    justify-content: flex-start;
  }

  .hero-panel {
    top: 88px;
  }

  .detail-panel {
    left: 24px;
    right: 24px;
    top: 290px;
    width: auto;
  }

  .card-rail {
    left: 24px;
    right: 24px;
    top: auto;
    width: auto;
  }
}
