.digital-globe {
  position: relative;
  width: 330px;
  height: 310px;
  margin: 4px 0 -10px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.digital-globe:focus-visible {
  outline: 2px solid #3bbcf5;
  outline-offset: 6px;
  border-radius: 50%;
}

.classic-ring {
  position: absolute;
  border: 1px solid rgba(65, 178, 232, 0.25);
  border-radius: 50%;
  pointer-events: none;
  animation: classic-ring-pulse 3.2s ease-in-out infinite;
}

.classic-ring-outer {
  width: 258px;
  height: 258px;
  opacity: 0.72;
}

.classic-ring-inner {
  width: 202px;
  height: 202px;
  animation-delay: 0.45s;
}

.classic-orb {
  position: relative;
  z-index: 2;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 32% 25%,
      #63dfff 0%,
      #33a9ea 25%,
      #1670c7 50%,
      #0c326e 70%,
      #020814 87%
    );
  box-shadow:
    inset -25px -28px 42px rgba(0, 3, 12, 0.7),
    inset 14px 12px 25px rgba(183, 241, 255, 0.18),
    0 18px 30px rgba(0, 0, 0, 0.55),
    0 0 38px rgba(42, 174, 236, 0.22);
  pointer-events: none;
  animation: classic-orb-float 3.2s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.classic-orb::after {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f4fbff;
  box-shadow:
    0 0 16px rgba(230, 248, 255, 0.7),
    inset 0 0 8px rgba(122, 207, 246, 0.18);
  content: "";
}

.digital-globe:hover .classic-orb {
  transform: scale(1.035);
  box-shadow:
    inset -25px -28px 42px rgba(0, 3, 12, 0.7),
    inset 14px 12px 25px rgba(183, 241, 255, 0.22),
    0 18px 30px rgba(0, 0, 0, 0.55),
    0 0 55px rgba(42, 174, 236, 0.38);
}

.digital-globe:active .classic-orb {
  transform: scale(0.98);
}

.digital-globe.is-speaking .classic-orb {
  animation: classic-speaking 0.6s ease-in-out infinite;
}

.digital-globe.is-speaking .classic-ring {
  border-color: rgba(73, 203, 255, 0.5);
  animation-duration: 1.2s;
}

.mini-orb {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
}

.mini-orb::before,
.mini-orb::after {
  position: absolute;
  border: 1px solid rgba(65, 178, 232, 0.25);
  border-radius: 50%;
  content: "";
}

.mini-orb::before {
  width: 205px;
  height: 205px;
}

.mini-orb::after {
  width: 160px;
  height: 160px;
}

.mini-orb i {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 32% 25%,
      #63dfff 0%,
      #33a9ea 25%,
      #1670c7 50%,
      #0c326e 70%,
      #020814 87%
    );
  box-shadow:
    inset -20px -22px 34px rgba(0, 3, 12, 0.7),
    inset 10px 8px 18px rgba(183, 241, 255, 0.16),
    0 14px 24px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(42, 174, 236, 0.22);
  animation: classic-orb-float 3.2s ease-in-out infinite;
}

.mini-orb i::after {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4fbff;
  box-shadow:
    0 0 14px rgba(230, 248, 255, 0.65),
    inset 0 0 7px rgba(122, 207, 246, 0.16);
  content: "";
}

@keyframes classic-ring-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    opacity: 0.42;
    transform: scale(1.035);
  }
}

@keyframes classic-orb-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes classic-speaking {
  0%,
  100% {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }

  50% {
    filter: brightness(1.18) saturate(1.35);
    transform: scale(1.11);
  }
}

@media (max-width: 560px) {
  .digital-globe {
    width: 270px;
    height: 260px;
    margin-bottom: 0;
  }

  .classic-ring-outer {
    width: 222px;
    height: 222px;
  }

  .classic-ring-inner {
    width: 176px;
    height: 176px;
  }

  .classic-orb {
    width: 122px;
    height: 122px;
  }

  .classic-orb::after {
    width: 50px;
    height: 50px;
  }

  .mini-orb {
    height: 205px;
  }

  .mini-orb::before {
    width: 185px;
    height: 185px;
  }

  .mini-orb::after {
    width: 145px;
    height: 145px;
  }

  .mini-orb i {
    width: 100px;
    height: 100px;
  }

  .mini-orb i::after {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .classic-ring,
  .classic-orb,
  .mini-orb i {
    animation: none !important;
  }

  .classic-orb {
    transition: none;
  }
}