/* Ladeübergang von excon-trading.de — Website, Login und App benutzen ihn gleich.
   Die Seite wird schwarz, ein Licht geht auf, in der Mitte das „B“ mit drehendem Ring; das goldene Pixel blinkt.
   Klassen: run (Ablauf startet), leave (schnell abblenden vor einem Seitenwechsel), done (ausgeblendet). */
.boot {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020308;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}
.boot.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.6s;
}
.boot.leave { transition: opacity 0.22s ease-in, visibility 0s linear 0s; }

.boot-light {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150vmax;
  height: 150vmax;
  margin: -75vmax 0 0 -75vmax;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(214, 232, 255, 0.34) 0, rgba(115, 192, 255, 0.17) 11%,
    rgba(65, 120, 246, 0.07) 27%, rgba(2, 3, 8, 0) 48%);
  opacity: 0;
  transform: scale(0.04);
}
.boot.run .boot-light { animation: boot-light 1.2s cubic-bezier(0.16, 0.84, 0.3, 1) 0.08s forwards; }
@keyframes boot-light {
  0% { opacity: 0; transform: scale(0.04); }
  30% { opacity: 1; }
  100% { opacity: 0.85; transform: scale(1); }
}

.boot-core {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.9);
}
.boot.run .boot-core { animation: boot-core 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; }
@keyframes boot-core { to { opacity: 1; transform: none; } }

.boot-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: boot-spin 1s linear infinite; }
.boot-ring .track { fill: none; stroke: rgba(160, 190, 255, 0.12); stroke-width: 2; }
.boot-ring .arc { fill: none; stroke: url(#boot-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 104 300; }
@keyframes boot-spin { to { transform: rotate(360deg); } }

.boot-mark { width: 58px; height: 58px; filter: drop-shadow(0 0 22px rgba(115, 192, 255, 0.55)); }
.boot-mark .px { animation: boot-px 1.1s steps(1) infinite; }
@keyframes boot-px { 50% { opacity: 0.2; } }

@media (prefers-reduced-motion: reduce) {
  .boot.run .boot-light, .boot.run .boot-core { animation: none; opacity: 1; transform: none; }
  .boot-ring, .boot-mark .px { animation: none; }
}
