/* Isolated globe visual: no global selectors, fonts or palette overrides. */
.eurivo-globe {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 550 / 430;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  background: #0b0e0d;
  color: #f3f7f5;
  font-family: inherit;
  pointer-events: none;
}

/* Preserve the same footprint in browsers without aspect-ratio. */
.eurivo-globe::before {
  content: "";
  display: block;
  padding-top: 78.181818%;
}

@supports (aspect-ratio: 1 / 1) {
  .eurivo-globe::before {
    display: none;
  }
}

.eurivo-globe .globe-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.eurivo-globe .globe-point {
  /* Coordinates, depth opacity and radii come from the same 3D projection. */
  stroke: none;
}

.eurivo-globe .globe-orbit {
  fill: none;
  stroke-width: 0.9;
}

.eurivo-globe .globe-orbit-mint {
  stroke: #20d9aa;
  opacity: 0.28;
}

.eurivo-globe .globe-orbit-white {
  stroke: #f3f7f5;
  opacity: 0.16;
}

.eurivo-globe .globe-orbit-trail {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 42 958;
  animation: globe-orbit-flow 8s linear infinite;
  animation-play-state: paused;
}

.eurivo-globe .globe-orbit-trail-mint {
  stroke: #20d9aa;
  opacity: 0.9;
  stroke-dashoffset: 110;
}

.eurivo-globe .globe-orbit-trail-white {
  stroke: #f3f7f5;
  opacity: 0.72;
  stroke-dashoffset: 530;
  animation-name: globe-orbit-flow-white;
  animation-duration: 10s;
  animation-direction: reverse;
}

.eurivo-globe.globe-running .globe-orbit-trail {
  animation-play-state: running;
}

.eurivo-globe .globe-pill {
  position: absolute;
  left: 50%;
  bottom: 6.5%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  max-width: calc(100% - 24px);
  padding: 9px 12px;
  transform: translateX(-50%);
  border: 1px solid #20d9aa38;
  border-radius: 999px;
  background: #131916f2;
  box-shadow: 0 12px 32px #0b0e0d88, inset 0 1px 0 #f3f7f508;
  color: #f3f7f5;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.eurivo-globe .globe-token {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eurivo-globe .globe-token-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.eurivo-globe .globe-separator {
  color: #9baaa3;
  font-weight: 500;
}

.eurivo-globe .globe-swap-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #9baaa3;
}

.eurivo-globe .globe-destination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 62px;
  padding: 8px 10px;
  border: 1px solid #20d9aa28;
  border-radius: 999px;
  background: #20d9aa12;
  color: #20d9aa;
  font-size: 12px;
  letter-spacing: 0.035em;
  /* Fixed chip width avoids layout movement; labels change without fades. */
}

@keyframes globe-orbit-flow {
  from { stroke-dashoffset: 110; }
  to { stroke-dashoffset: -890; }
}

@keyframes globe-orbit-flow-white {
  from { stroke-dashoffset: 530; }
  to { stroke-dashoffset: -470; }
}

@media (max-width: 479px) {
  .eurivo-globe {
    border-radius: 18px;
  }

  .eurivo-globe .globe-pill {
    gap: 8px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .eurivo-globe .globe-destination {
    min-width: 59px;
    padding: 7px 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eurivo-globe .globe-orbit-trail {
    animation: none;
  }
}
