body {
  margin: 0;
}

/* Splash — dark terminal canvas, brand-tinted spinner.
   --wt-splash-accent is injected inline in index.html from the brand env. */
#loading-bg {
  width: 100%;
  height: 100%;
  background: radial-gradient(900px 500px at 50% 30%, rgba(70, 110, 255, 0.07), transparent 60%), #07090f;
  display: block;
  position: absolute;
  z-index: 1000;
}

.loading-logo {
  position: absolute;
  left: calc(50% - 45px);
  top: 40%;
}

.loading {
  position: absolute;
  left: calc(50% - 27px);
  top: calc(50% - 27px);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 3px solid transparent;
}

.loading .effect-1,
.loading .effect-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-left: 3px solid var(--wt-splash-accent, #3d7bff);
  border-radius: 50%;
  box-sizing: border-box;
}

.loading .effect-1 {
  animation: rotate 1s ease infinite;
}

.loading .effect-2 {
  animation: rotateOpacity 1s ease infinite 0.1s;
}

.loading .effect-3 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-left: 3px solid var(--wt-splash-accent, #3d7bff);
  animation: rotateOpacity 1s ease infinite 0.2s;
  border-radius: 50%;
  box-sizing: border-box;
}

.loading .effects {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 6px var(--wt-splash-accent, #3d7bff));
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(1turn); }
}

@keyframes rotateOpacity {
  0% {
    transform: rotate(0deg);
    opacity: 0.1;
  }
  100% {
    transform: rotate(1turn);
    opacity: 1;
  }
}
