*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  cursor: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: 'Satoshi', sans-serif
}

#stage {
  cursor: none;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000
}

#stage img,
#stage video {
  cursor: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease
}

#stage img.active,
#stage video.active {
  opacity: 1
}

/* Loading/error states */
#loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  color: rgba(255, 255, 255, 0.5);
  gap: 16px;
  z-index: 50
}

#loading svg {
  animation: spin 1.2s linear infinite;
  width: 36px;
  height: 36px
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

#error {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.6);
  gap: 16px;
  display: none;
  text-align: center;
  padding: 24px
}

#error h2 {
  color: #fff;
  font-size: 1.25rem
}

#error a {
  color: #4f98a3;
  margin-top: 8px
}