/* The supplied artwork is the logo texture; only the clean background is generated. */
.opening-loader.space-opening {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 0; gap: 0; overflow: hidden; color: #eef8ff; background: #020b1c;
  opacity: 1; transition: opacity .22s ease, visibility .22s ease;
}
.opening-loader.space-opening[hidden] { display: none; }
.opening-loader.space-opening.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.opening-loader.space-opening::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 38%, #0c3761 0%, #031329 52%, #020815 90%);
}
.space-opening .space-scene {
  position: relative; isolation: isolate; aspect-ratio: 941 / 1672;
  width: min(100vw, 56.28vh, 620px); width: min(100vw, 56.28svh, 620px);
  font-family: Arial, Helvetica, sans-serif; overflow: hidden;
  container-type: inline-size;
}
.space-opening .space-backdrop, .space-opening .space-logo {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: fill; pointer-events: none; margin: 0; border: 0; border-radius: 0;
}
.space-opening .space-backdrop { z-index: -2; }
.space-opening .space-ambient {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 52% 29%, #16acff25 0%, transparent 45%);
  animation: space-breathe 4.8s ease-in-out infinite;
}
.space-opening .space-logo {
  clip-path: polygon(51.3% 10.72%, 52.1% 10.77%, 53.1% 11.45%, 81.9% 45.1%, 82.8% 46.65%, 82.6% 47.5%, 81.9% 48.12%, 80.2% 48.78%, 77.7% 49.0%, 22.0% 48.7%, 19.1% 48.13%, 17.3% 47.25%, 16.2% 46.2%, 15.8% 44.72%, 16.45% 43.7%, 49.4% 11.53%);
  transform-origin: 51% 31%; will-change: transform;
  animation: space-logo-turn 6s ease-in-out infinite;
}
.space-opening .space-orbit {
  position: absolute; left: 17.5%; top: 17.7%; width: 67%; height: 14.4%;
  transform: rotate(19deg); border: 1px solid #78c4ff7d; border-radius: 50%;
  box-shadow: inset 0 0 5px #14b8ff20, 0 0 5px #14b8ff30;
  pointer-events: none;
}
.space-opening .space-orbit-spark {
  position: absolute; width: 2.2%; aspect-ratio: 1; border-radius: 50%;
  background: #efffff; box-shadow: 0 0 6px 2px #b6faff, 0 0 17px 5px #18b3ff;
  animation: space-orbit-travel 4.2s linear infinite;
}
.space-opening .space-orbit-spark::before, .space-opening .space-orbit-spark::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: #cef9ff;
  transform: translate(-50%, -50%); opacity: .65;
}
.space-opening .space-orbit-spark::before { width: 420%; height: 1px; }
.space-opening .space-orbit-spark::after { height: 420%; width: 1px; }
.space-opening .space-stars { position: absolute; inset: 0; pointer-events: none; }
.space-opening .space-star {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #a3e5ff;
  box-shadow: 0 0 7px #76dcff; animation: space-twinkle 3.6s ease-in-out infinite alternate;
}
.space-opening .space-star:nth-child(1) { top: 12%; left: 20%; }
.space-opening .space-star:nth-child(2) { top: 24%; left: 85%; animation-delay: -.9s; }
.space-opening .space-star:nth-child(3) { top: 9%; left: 73%; animation-delay: -2s; }
.space-opening .space-star:nth-child(4) { top: 70%; left: 17%; animation-delay: -1.6s; }
.space-opening .space-star:nth-child(5) { top: 76%; left: 83%; animation-delay: -2.6s; }
.space-opening .space-title {
  position: absolute; top: 59.0%; left: 5%; width: 90%; margin: 0;
  text-align: center; font-weight: 700; font-size: clamp(22px, 7.5vw, 42px);
  font-size: 7.7cqw; line-height: 1.15; letter-spacing: .07em; color: #f4faff;
  text-shadow: 0 2px 15px #0075b54d;
}
.space-opening .space-subtitle {
  position: absolute; top: 64.45%; left: 5%; width: 90%; margin: 0;
  font-size: clamp(11px, 3.1vw, 18px); font-size: 3.25cqw;
  line-height: 1.3; letter-spacing: .23em; text-align: center; color: #b9d4ef;
}
.space-opening .space-divider {
  position: absolute; top: 68.05%; left: 44.3%; width: 11.4%; height: 1px;
  background: linear-gradient(90deg, transparent, #31c6ff, transparent);
}
.space-opening .space-spinner {
  position: absolute; left: 40.5%; top: 70.7%; width: 19%; aspect-ratio: 1;
  border-radius: 50%; box-shadow: 0 0 22px #0795ff33;
}
.space-opening .space-spinner-track {
  position: absolute; inset: 0; border: 5px solid #386b994d; border-radius: 50%;
  box-shadow: inset 0 0 0 1px #80cfff33, 0 0 0 1px #80cfff33;
}
.space-opening .space-spinner-arc {
  position: absolute; inset: 0; border: 5px solid transparent; border-top-color: #74edff;
  border-right-color: #ccffff; border-radius: 50%; filter: drop-shadow(0 0 5px #23ceff);
  animation: space-spin 1.35s linear infinite; will-change: transform;
}
.space-opening #opening-text, .space-opening .space-loading-label {
  position: absolute; top: 82.5%; left: 5%; width: 90%; max-width: none; margin: 0;
  font-size: clamp(13px, 4.3vw, 24px); font-size: 4.45cqw;
  line-height: 1.35; text-align: center; color: #f0f6ff;
}
.space-opening .space-guarantee {
  position: absolute; top: 87.7%; left: 25.5%; width: 49%; min-height: 4.8%;
  box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: .5em;
  padding: .4em .55em; border: 1px solid #f4d585; border-radius: 50px;
  color: #ffdc85; background: linear-gradient(120deg, #c1a55812, #070b1790);
  font-size: clamp(12px, 3.25vw, 20px); font-size: 3.5cqw; line-height: 1.1;
  white-space: nowrap; box-shadow: 0 0 12px #ebbe6430, inset 0 0 6px #e6ca7320;
}
.space-opening .space-guarantee span { font-size: 1.3em; font-weight: 700; }
.space-opening.artwork-error .space-logo { opacity: 0; }
.space-opening.is-hidden *, .space-opening[hidden] *, .space-opening.motion-paused * { animation-play-state: paused !important; }
@keyframes space-logo-turn {
  0%, 100% { transform: perspective(800px) rotateY(-17deg) rotateZ(-.6deg) translateY(.2%); }
  50% { transform: perspective(800px) rotateY(17deg) rotateZ(.6deg) translateY(-.8%); }
}
@keyframes space-orbit-travel {
  0%, 100% { left: 0%; top: 49%; opacity: .65; }
  12.5% { left: 14.6%; top: 14.6%; opacity: .7; }
  25% { left: 49%; top: 0%; opacity: .7; }
  37.5% { left: 84.4%; top: 14.6%; opacity: .85; }
  50% { left: 98%; top: 49%; opacity: 1; }
  62.5% { left: 84.4%; top: 84.4%; opacity: 1; }
  75% { left: 49%; top: 98%; opacity: 1; }
  87.5% { left: 14.6%; top: 84.4%; opacity: .8; }
}
@keyframes space-breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes space-twinkle { from { opacity: .15; transform: scale(.7); } to { opacity: .85; transform: scale(1.2); } }
@keyframes space-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .space-opening *, .space-opening *::before, .space-opening *::after { animation: none !important; transition: none !important; }
  .space-opening .space-logo { transform: none; }
  .space-opening .space-orbit-spark { left: 98%; top: 49%; }
}
