html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
}

#map {
  width: 100%;
  height: 100vh;
}
/* --- Intro overlay --- */
#introOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 800ms ease, transform 800ms ease;
}

#introOverlay.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
}

#introLogo {
  width: min(85vw, 520px);
  height: auto;
  transform: scale(1);
  transition: transform 800ms ease;
}

/* --- Big destination flash label --- */
#stopLabel {
  position: fixed;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  z-index: 9998;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 28px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.72);
  color: white;
  opacity: 0;
  pointer-events: none;
  letter-spacing: 0.2px;
}

#stopLabel.show {
  animation: fadeLabel 900ms ease;
}

@keyframes fadeLabel {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  20%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}


/* --- Logo marker --- */
.logo-marker {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  transform-origin: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  border: 3px solid rgba(46, 204, 113, 0.95);
  background: white;
}

.logo-marker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pulse animation when “stopping” */
.logo-marker.pulse {
  animation: pulseRing 950ms ease-in-out;
}

@keyframes pulseRing {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.introWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#skipBtn {
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

#skipBtn:hover {
  transform: translateY(-1px);
}
