:root {
  color-scheme: light;
  --ink: #1b1d1f;
  --muted: #5d656d;
  --panel: rgba(255, 255, 255, 0.9);
  --line: rgba(30, 36, 42, 0.14);
  --purple: #9e1374;
  --purple-dark: #640949;
  --orange: #fbac18;
  --orange-bright: #ffd166;
  --accent: var(--purple);
  --accent-dark: var(--purple-dark);
  --gold: var(--orange);
  --teal: #168b8f;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.map-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 520px;
  background: #eef1ed;
}

#map {
  position: absolute;
  inset: 0;
}

.map-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  width: min(320px, calc(100vw - 40px));
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(26, 36, 44, 0.16);
  backdrop-filter: blur(16px);
}

.map-panel h1,
.map-panel p {
  margin: 0;
}

.map-panel h1 {
  margin-top: 4px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.map-panel p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-base-marker {
  width: 92px;
  height: 116px;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter:
    drop-shadow(0 0 10px rgba(251, 172, 24, 0.8))
    drop-shadow(0 18px 18px rgba(25, 29, 35, 0.32));
  transform-origin: 50% 100%;
}

.home-base-marker:focus-visible {
  outline: 3px solid rgba(251, 172, 24, 0.7);
  outline-offset: 4px;
  border-radius: 8px;
}

.landmark {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 66px;
  height: 88px;
  transform: translateX(-50%) perspective(180px) rotateX(8deg);
  transform-style: preserve-3d;
}

.landmark::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 56px;
  height: 18px;
  border-radius: 50%;
  background: rgba(158, 19, 116, 0.24);
  box-shadow: 0 0 22px rgba(251, 172, 24, 0.45);
  transform: translateX(-50%);
}

.hotel {
  position: absolute;
  bottom: 13px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    inset -8px 0 0 rgba(0, 0, 0, 0.15),
    0 0 18px rgba(251, 172, 24, 0.48);
}

.hotel::before {
  content: "";
  position: absolute;
  inset: 14px 7px 8px;
  background:
    radial-gradient(circle at center, var(--orange-bright) 0 2px, transparent 2.4px)
      0 0 / 10px 11px,
    linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.18) 7px 8px, transparent 8px);
  opacity: 0.98;
}

.hotel-main {
  left: 20px;
  width: 28px;
  height: 73px;
  border-radius: 5px 5px 3px 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, var(--purple), var(--purple-dark));
  z-index: 3;
}

.hotel-main::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0;
  height: 0;
  border-right: 16px solid transparent;
  border-bottom: 15px solid var(--orange);
  border-left: 16px solid transparent;
  filter: drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.65));
  transform: translateX(-50%);
}

.hotel-wing {
  left: 1px;
  width: 24px;
  height: 54px;
  border-radius: 5px 2px 3px 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(135deg, var(--orange), #d56f00);
  transform: skewY(-4deg);
  z-index: 2;
}

.hotel-side {
  right: 1px;
  width: 23px;
  height: 60px;
  border-radius: 2px 5px 3px 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(135deg, #c21a8f, var(--purple-dark));
  transform: skewY(5deg);
  z-index: 1;
}

.hotel-base {
  position: absolute;
  left: 50%;
  bottom: 6px;
  z-index: 4;
  width: 62px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px 4px 3px 3px;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  box-shadow: 0 0 16px rgba(251, 172, 24, 0.55);
  transform: translateX(-50%);
}

.hotel-sign {
  position: absolute;
  left: 50%;
  top: 5px;
  z-index: 2;
  padding: 2px 4px;
  border-radius: 3px;
  background: var(--orange);
  color: var(--purple-dark);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
}

.marker-pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  box-shadow:
    inset -3px -3px 0 rgba(0, 0, 0, 0.12),
    0 0 16px rgba(251, 172, 24, 0.72);
  transform: translateX(-50%) rotate(-45deg);
}

.marker-label {
  position: absolute;
  left: 50%;
  bottom: 104px;
  min-width: 96px;
  padding: 7px 9px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  background: var(--purple);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(158, 19, 116, 0.32),
    0 0 22px rgba(251, 172, 24, 0.45);
  transform: translateX(-50%);
  white-space: nowrap;
}

.mapboxgl-popup-content {
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(27, 29, 31, 0.18);
  font: 14px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.mapboxgl-popup-content strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .map-shell {
    min-height: 100svh;
  }

  .map-panel {
    top: 12px;
    left: 12px;
    width: calc(100vw - 24px);
    padding: 14px;
  }

  .map-panel h1 {
    font-size: 24px;
  }
}
