:root{
  --bg: #3F48CC;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: var(--bg);
  overflow: hidden;
  font-family: 'Poppins', system-ui, sans-serif;
  text-transform: lowercase;
}

.stage{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  user-select: none;
  opacity: 0;
}

.scene{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.character{
  position: relative;
  z-index: 5;
  width: clamp(150px, 24vw, 230px);
  height: clamp(150px, 24vw, 230px);
  border: none;
  border-radius: 50%;
  padding: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  -webkit-tap-highlight-color: transparent;
}
.character img{
  width: 80%;
  height: 80%;
  object-fit: contain;
  pointer-events: none;
}
.character:hover{ transform: scale(1.07); }
.character:active{ transform: scale(.94); }

.satellite{
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(66px, 11vw, 98px);
  height: clamp(66px, 11vw, 98px);
  margin-top: calc(clamp(66px, 11vw, 98px) / -2);
  margin-left: calc(clamp(66px, 11vw, 98px) / -2);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  will-change: transform;
}
.satellite.enabled{ pointer-events: auto; }

.satellite-inner{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.satellite-inner img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.satellite:hover .satellite-inner,
.satellite:focus-visible .satellite-inner{
  transform: scale(1.22);
}
.satellite:focus-visible{ outline: none; }

.hint{
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  letter-spacing: .03em;
  text-align: center;
  pointer-events: none;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce){
  .character, .satellite-inner, .scene{ transition: none; }
}