:root {
  --navy: #162c52;
  --navy-deep: #071224;
  --amber: #f39200;
  --amber-soft: #f7b733;
  --teal: #0e7c86;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--navy-deep);
  color: #ffffff;
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, sans-serif;
}

html[dir="ltr"] body {
  font-family: 'Inter', 'Cairo', system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--navy-deep);
}

#map-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #071224;
}

#flight-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#ambient-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 18, 36, 0.50) 0%, rgba(7, 18, 36, 0.04) 22%, rgba(7, 18, 36, 0.04) 62%, rgba(7, 18, 36, 0.76) 100%);
}

@media (min-width: 1024px) {
  #ambient-scrim {
    background:
      linear-gradient(270deg, rgba(7, 18, 36, 0.70) 0%, rgba(7, 18, 36, 0.24) 36%, rgba(7, 18, 36, 0.0) 62%, rgba(7, 18, 36, 0.14) 100%),
      linear-gradient(180deg, rgba(7, 18, 36, 0.42) 0%, rgba(7, 18, 36, 0) 20%, rgba(7, 18, 36, 0) 82%, rgba(7, 18, 36, 0.58) 100%);
  }
  html[dir="ltr"] #ambient-scrim {
    background:
      linear-gradient(90deg, rgba(7, 18, 36, 0.70) 0%, rgba(7, 18, 36, 0.24) 36%, rgba(7, 18, 36, 0.0) 62%, rgba(7, 18, 36, 0.14) 100%),
      linear-gradient(180deg, rgba(7, 18, 36, 0.42) 0%, rgba(7, 18, 36, 0) 20%, rgba(7, 18, 36, 0) 82%, rgba(7, 18, 36, 0.58) 100%);
  }
}

#map-pins-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.sat-pin {
  position: absolute;
  transform: translate(-50%, -115%);
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(7, 18, 36, 0.80);
  color: #ffffff;
  border: 1.5px solid rgba(243, 146, 0, 0.62);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  user-select: none;
}

.sat-pin:hover {
  transform: translate(-50%, -128%) scale(1.08);
  border-color: #ffffff;
  background: #162c52;
}

.sat-pin.is-active {
  background: #0e7c86;
  border-color: #ffffff;
  transform: translate(-50%, -128%) scale(1.1);
  box-shadow: 0 8px 24px rgba(14, 124, 134, 0.55);
}

.sat-pin.is-hub {
  background: #f39200;
  color: #071224;
  border-color: #ffffff;
  transform: translate(-50%, 28%);
}

@media (max-width: 639px) {
  .sat-pin {
    font-size: 9.5px;
    padding: 3px 8px;
  }
}

.story-layer {
  position: relative;
  z-index: 5;
  pointer-events: none;
}

.story-layer .pointer-on {
  pointer-events: auto;
}

.display-title {
  font-weight: 900;
  line-height: 1.14;
}

html[dir="ltr"] .display-title {
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.glass-cinema {
  background: rgba(7, 18, 36, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.58);
  color: #ffffff;
}

.glass-hud {
  background: rgba(7, 18, 36, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.package-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.55);
}

.package-card img, .frame-card img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.package-card:hover img, .frame-card:hover img {
  transform: scale(1.06);
}

.toast-banner {
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast-banner.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
