.content-earth {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 45%, rgba(112, 88, 255, 0.32), transparent 34%),
    radial-gradient(circle at 34% 28%, rgba(255, 89, 155, 0.18), transparent 26%),
    radial-gradient(circle at 76% 70%, rgba(72, 205, 255, 0.14), transparent 26%),
    linear-gradient(160deg, #101326 0%, #191a34 48%, #0c1020 100%);
  perspective: 980px;
  perspective-origin: 50% 48%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.content-earth.is-dragging {
  cursor: grabbing;
}

.content-earth::before,
.content-earth::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.content-earth::before {
  left: 50%;
  top: 50%;
  width: min(68vw, 650px);
  height: min(68vw, 650px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(125, 92, 244, 0.22),
    inset 0 0 90px rgba(255, 255, 255, 0.04);
  transform: translate(-50%, -50%) rotate(-12deg);
}

.content-earth::after {
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.46), transparent 68%);
  filter: blur(18px);
}

.content-earth-topbar {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.content-earth-topbar strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.content-earth-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-earth-topbar span::before {
  content: "";
  width: 18px;
  height: 13px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 48% 50%, rgba(20, 24, 42, 0.96) 0 3px, rgba(255, 255, 255, 0.86) 3.5px 5px, transparent 5.5px),
    linear-gradient(135deg, #ffce5c, #ff6c9e);
  box-shadow:
    0 0 16px rgba(255, 206, 92, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.content-earth-topbar span::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: -5px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid rgba(255, 206, 92, 0.92);
  filter: drop-shadow(0 0 8px rgba(255, 206, 92, 0.55));
}

.content-earth-space {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.content-earth-particle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 4px);
  height: var(--size, 4px);
  border-radius: 50%;
  color: var(--color, rgba(255, 255, 255, 0.6));
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
  opacity: var(--opacity, 0.6);
  animation: contentEarthParticleFloat var(--duration, 8s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

.content-earth-scene {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}

.content-earth-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 42%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle, rgba(125, 92, 244, 0.2), transparent 62%);
  filter: blur(2px);
  transform: translateZ(-120px);
}

.content-earth-globe {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.content-earth-card {
  position: absolute;
  left: calc(var(--card-w, 116px) / -2);
  top: calc(var(--card-h, 72px) / -2);
  width: var(--card-w, 116px);
  height: var(--card-h, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform-style: preserve-3d;
  pointer-events: none;
  backface-visibility: visible;
  will-change: transform, opacity;
}

.content-earth-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.content-earth-card.is-portrait {
  --card-w: 74px;
  --card-h: 114px;
  border-radius: 18px;
}

.content-earth-card.is-wide {
  --card-w: 128px;
  --card-h: 76px;
}

.content-earth-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

@keyframes contentEarthParticleFloat {
  from {
    transform: translate3d(0, 0, 0) scale(0.86);
  }
  to {
    transform: translate3d(18px, -22px, 0) scale(1.12);
  }
}

@media (max-width: 680px) {
  .content-earth-scene {
    width: 560px;
    height: 560px;
  }

  .content-earth-topbar {
    left: 18px;
    right: 18px;
  }

  .content-earth-topbar span {
    display: none;
  }

  .content-earth-caption {
    left: 18px;
    right: 18px;
    justify-content: center;
    text-align: center;
  }

  .content-earth-card {
    --card-w: 92px;
    --card-h: 58px;
  }

  .content-earth-card.is-portrait {
    --card-w: 58px;
    --card-h: 90px;
  }

  .content-earth-card.is-wide {
    --card-w: 102px;
    --card-h: 62px;
  }
}
