* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #dfeff3;
}

.globe-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #e0f1fd 0%, #e0f1fd 100%);
  overflow: hidden;
}

#earth-canvas {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 720px;
  overflow: visible;
}

#earth-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.globe-overlay,
.globe-svg-layer,
.globe-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-overlay,
.globe-svg-layer {
  overflow: visible;
}

.globe-svg-layer {
  width: 100%;
  height: 100%;
}

.globe-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--marker-size, 22px);
  height: var(--marker-size, 22px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  background: transparent;
  padding: 0;
  margin: 0 !important;
  will-change: transform;
  transform-origin: center center;
  transition: none !important;
  animation: none !important;
  backface-visibility: hidden;
}

.globe-marker-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--marker-color, #ff6b6b);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.85);
}

.globe-marker-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid var(--ring-color, #ff6b6b);
}

.globe-marker-ring-2 {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid var(--ring-color, #ff6b6b);
  opacity: 0.6;
}

.globe-callout {
  position: absolute;
  min-width: 180px;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  transform: translate(-50%, -50%) scale(var(--callout-scale, 1));
  transform-origin: center;
  pointer-events: auto;
  display: none;
  z-index: 8;
}

.globe-callout-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.globe-callout-text {
  font-size: 13px;
  line-height: 1.45;
}

.globe-line {
  stroke-width: 3;
}

.globe-line-dot {
  stroke: none;
}

@media (max-width: 767px) {
  .globe-section {
    min-height: 520px;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  #earth-canvas {
    width: 100%;
    max-width: 100%;
    height: 520px !important;
    min-height: 520px !important;
  }

  .globe-callout {
    min-width: 145px;
    max-width: 180px;
    padding: 10px 12px;
    border-radius: 14px;
    --callout-scale: 0.9;
  }

  .globe-callout-title {
    font-size: 13px;
  }

  .globe-callout-text {
    font-size: 11px;
  }
}


.globe-marker-core,
.globe-marker-ring,
.globe-marker-ring-2 {
  transition: none !important;
  animation: none !important;
  pointer-events: none;
}

.major-country-marker {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 7;
  transform: translateY(-50%);
  transition: none !important;
  animation: none !important;
}

.major-country-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4697f8;
  box-shadow: 0 0 0 2px rgb(255, 255, 255);
  flex-shrink: 0;
}

.major-country-label {
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  color: #12313c;
  background: rgba(255,255,255,0.88);
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

@media (max-width: 767px) {
  .major-country-marker {
    gap: 4px;
  }

  .major-country-dot {
    width: 5px;
    height: 5px;
  }

  .major-country-label {
    font-size: 9px;
    padding: 3px 6px;
  }
}