/* Globe styles — Dark Mode */
.globe {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  opacity: 1;
  left: -50px;
  pointer-events: none;
}

.globe .globe-list {
  z-index: 10;
  position: absolute;
  left: 0;
  top: 0;
  list-style: none;
  display: none;
}

.globe .globe-list {
  opacity: 0;
  transition: opacity 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.globe .globe-list.active { opacity: 1; }

.globe .globe-list > li {
  opacity: 0.5;
  position: absolute;
  margin-left: -8px;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff5244;
  transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 8px rgba(255,82,68,0.5);
}

.globe .globe-list > li.active {
  opacity: 1;
  margin-left: -12px;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  box-shadow: 0 0 16px rgba(255,82,68,0.8);
}

.globe .globe-list > li:before {
  content: "";
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -8px;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff5244;
  -webkit-animation: 2s pulse-dark infinite linear;
  animation: 2s pulse-dark infinite linear;
}

@-webkit-keyframes pulse-dark {
  0% { -webkit-transform: scale(1); opacity: 0.7; }
  50% { opacity: 0.4; }
  100% { opacity: 0; -webkit-transform: scale(2.2); }
}
@keyframes pulse-dark {
  0% { transform: scale(1); opacity: 0.7; }
  50% { opacity: 0.4; }
  100% { opacity: 0; transform: scale(2.2); }
}

.globe .globe-list > li.active:before {
  margin-left: -12px;
  margin-top: -12px;
  width: 24px;
  height: 24px;
}

.globe .globe-list > li.active,
.globe .globe-list > li.active:before {
  background: #ff5244;
}

.globe .globe-list .text {
  position: absolute;
  opacity: 0.85;
  right: 21px;
  top: 50%;
  display: block;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  text-align: right;
  text-shadow: -1px -1px 0 rgba(0,0,0,0.8), 1px -1px 0 rgba(0,0,0,0.8), -1px 1px 0 rgba(0,0,0,0.8), 1px 1px 0 rgba(0,0,0,0.8);
  color: #eff0f5;
  white-space: nowrap;
  transform: translateY(-50%);
}

.globe .globe-list > li.active .text {
  opacity: 1;
  right: 29px;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
}

.globe .globe-canvas {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  filter: brightness(1.8) contrast(1.1);
  opacity: 0.9;
}

.globe svg {
  height: 100%;
  width: 100%;
  opacity: 0.1;
  -webkit-animation: rotation-dark 10s linear infinite;
  animation: rotation-dark 10s linear infinite;
}

.globe svg .st0 { fill: rgba(180,180,220,0.25); }

.svg-wrapper {
  opacity: 0;
  display: inline-block;
  position: absolute;
  width: 80vh;
  height: 80%;
  left: 0;
  right: 0;
  top: 10%;
  margin: auto;
  transform: scale(0.5);
  transition: opacity 1s ease-out 1.6s, transform 1s ease-out 1.6s;
}

.svg-wrapper.active {
  opacity: 1;
  transform: none;
}

@-webkit-keyframes rotation-dark {
  0%   { transform: scaleX(-1) rotate(360deg); }
  100% { transform: scaleX(-1) rotate(0deg); }
}
@keyframes rotation-dark {
  0%   { transform: scaleX(-1) rotate(360deg); }
  100% { transform: scaleX(-1) rotate(0deg); }
}
