.world-body {
  overflow: hidden;
  background: #03080c;
}

.world-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(3, 8, 12, .88);
  border-bottom-color: rgba(97, 170, 252, .18);
}

.world-experience {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 48%, rgba(58, 106, 154, .16), transparent 36%),
    #03080c;
}

.world-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(97, 170, 252, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 170, 252, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 3%, #000 34%, transparent 96%);
}

.globe-stage {
  position: absolute;
  inset: 0;
}

.globe-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.globe-stage canvas:active {
  cursor: grabbing;
}

.world-intro {
  position: absolute;
  z-index: 4;
  top: 126px;
  left: clamp(20px, 5vw, 78px);
  width: min(390px, calc(100vw - 40px));
  pointer-events: none;
}

.world-intro h1 {
  margin: 12px 0 16px;
  max-width: 360px;
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  line-height: .94;
  letter-spacing: 0;
}

.world-intro > p:last-of-type {
  max-width: 370px;
  color: #a9c2cd;
  line-height: 1.65;
}

.world-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-block: 1px solid rgba(97, 170, 252, .2);
}

.world-kpis div {
  padding: 15px 10px 15px 0;
}

.world-kpis strong,
.world-kpis span {
  display: block;
}

.world-kpis strong {
  color: #f7fbff;
  font: 800 1.2rem/1.1 var(--mono);
}

.world-kpis span {
  margin-top: 5px;
  color: #7595a3;
  font-size: .72rem;
  text-transform: uppercase;
}

.world-panel {
  position: absolute;
  z-index: 5;
  top: 122px;
  right: clamp(20px, 4vw, 68px);
  width: min(330px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid rgba(97, 170, 252, .24);
  border-radius: 8px;
  background: rgba(5, 14, 19, .88);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
}

.world-panel-head,
.selected-city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.world-panel h2 {
  margin-top: 5px;
  font-size: 1.28rem;
}

.selected-city {
  justify-content: flex-start;
  margin: 18px -20px;
  padding: 17px 20px;
  border-block: 1px solid rgba(97, 170, 252, .14);
  background: rgba(97, 170, 252, .045);
}

.city-signal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #61e8b2;
  border: 1px solid rgba(97, 232, 178, .25);
  border-radius: 6px;
  background: rgba(97, 232, 178, .08);
}

.city-signal svg {
  width: 20px;
}

.selected-city strong,
.selected-city span {
  display: block;
}

.selected-city span {
  margin-top: 4px;
  color: #7898a4;
  font-size: .76rem;
}

.world-select {
  display: grid;
  gap: 7px;
  color: #8eacb7;
  font-size: .76rem;
  font-weight: 700;
}

.world-select select {
  width: 100%;
}

.country-ranking {
  display: grid;
  gap: 4px;
  margin: 15px 0 18px;
}

.country-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: #b6cad2;
  font-size: .76rem;
}

.country-row b {
  color: #61e8b2;
  font-family: var(--mono);
}

.country-rank {
  color: #55737f;
  font-family: var(--mono);
}

.globe-controls {
  position: absolute;
  z-index: 6;
  right: clamp(20px, 4vw, 68px);
  bottom: 30px;
  display: flex;
  gap: 8px;
}

.globe-tooltip {
  position: fixed;
  z-index: 40;
  display: none;
  min-width: 150px;
  padding: 10px 12px;
  color: #d9e8ed;
  border: 1px solid rgba(97, 232, 178, .25);
  border-radius: 6px;
  background: rgba(3, 10, 13, .94);
  pointer-events: none;
  font-size: .76rem;
}

.globe-tooltip.visible {
  display: block;
}

.globe-tooltip strong,
.globe-tooltip span {
  display: block;
}

.globe-tooltip span {
  margin-top: 4px;
  color: #61e8b2;
  font-family: var(--mono);
}

.world-status {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 5vw, 78px);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7997a2;
  font-size: .75rem;
}

@media (max-width: 980px) {
  .world-panel {
    top: auto;
    right: 16px;
    bottom: 76px;
    width: 290px;
  }

  .world-intro {
    top: 108px;
    left: 22px;
  }

  .world-intro h1 {
    font-size: 3.2rem;
  }

  .globe-controls {
    right: 16px;
    bottom: 22px;
  }
}

@media (max-width: 700px) {
  .world-body {
    overflow: auto;
  }

  .world-experience {
    min-height: 930px;
  }

  .globe-stage {
    top: 210px;
    height: 510px;
  }

  .world-intro {
    top: 100px;
    width: calc(100% - 40px);
  }

  .world-intro h1 {
    max-width: none;
    font-size: 2.55rem;
  }

  .world-intro > p:last-of-type {
    display: none;
  }

  .world-kpis {
    margin-top: 18px;
  }

  .world-panel {
    top: 650px;
    right: 14px;
    bottom: auto;
    left: 14px;
    width: auto;
  }

  .country-ranking {
    grid-template-columns: 1fr 1fr;
  }

  .globe-controls {
    right: 14px;
    bottom: auto;
    top: 580px;
  }

  .world-status {
    display: none;
  }
}
