/* Diese Datei wird nach dem Hauptdesign geladen und ersetzt die gezeichnete Erde. */
.earth-sphere {
  overflow: hidden;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  animation: realistic-earth-float 12s ease-in-out infinite;
}

.earth-sphere::before,
.earth-sphere::after {
  content: none;
}

.earth-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  display: block;
  filter: saturate(1.04) contrast(1.08) brightness(1.12) drop-shadow(0 0 22px rgba(82, 175, 255, .28));
  user-select: none;
}

.earth-atmosphere {
  position: absolute;
  inset: 1.8%;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 16px 8px 24px rgba(170,220,255,.08), 0 0 18px rgba(56,157,230,.16);
  animation: atmosphere-breathe 7s ease-in-out infinite;
}

@keyframes realistic-earth-float {
  0%, 100% { transform: translateY(0) rotate(-.35deg); }
  50% { transform: translateY(-8px) rotate(.35deg); }
}

@keyframes atmosphere-breathe {
  50% { opacity: .72; box-shadow: inset 16px 8px 26px rgba(170,220,255,.11), 0 0 24px rgba(56,157,230,.22); }
}

@media (prefers-reduced-motion: reduce) {
  .earth-sphere,
  .earth-atmosphere { animation: none; }
}

@media (max-width: 820px) {
  .earth-photo { filter: saturate(1.03) contrast(1.08) brightness(1.16) drop-shadow(0 0 16px rgba(82, 175, 255, .25)); }
}
