.storefront-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  background: var(--lc-black, #010101);
  transition:
    opacity 640ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 640ms cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0s linear 640ms;
}

.storefront-intro.leaving {
  opacity: 0;
  transform: scale(1.055);
  visibility: hidden;
  pointer-events: none;
}

.intro-hive {
  width: 9.5rem;
  height: 9.5rem;
}

.intro-hive polygon {
  fill: none;
  stroke: var(--lc-amber, #ffc107);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.35);
  animation: intro-cell-in 620ms cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.intro-hive polygon.core {
  fill: var(--lc-amber, #ffc107);
  opacity: 0;
  animation: intro-core-in 520ms ease-out 560ms forwards;
}

@keyframes intro-cell-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-core-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.intro-word {
  opacity: 0;
  transform: translateY(0.6rem);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: intro-rise 560ms cubic-bezier(0.2, 0.9, 0.25, 1) 720ms forwards;
}

.intro-word span {
  color: var(--lc-amber, #ffc107);
}

@keyframes intro-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-progress {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  animation: intro-rise 560ms ease 900ms forwards;
}

.intro-progress .track {
  position: relative;
  overflow: hidden;
  width: 8rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.intro-progress .track i {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--lc-amber, #ffc107);
}

.intro-progress .pct {
  min-width: 2.4em;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}


#app-startup-loader { z-index: 10000; font-family: system-ui, sans-serif; font-size: 16px; }
#app-startup-loader .intro-progress .track i { width: 45%; animation: startup-progress 1.4s ease-in-out infinite alternate; }
#app-startup-loader .pct { min-width: auto; }
#app-startup-loader.startup-exiting { will-change: clip-path; }
#app-startup-loader.startup-exiting > * { will-change: transform, opacity; }
@keyframes startup-progress { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
@media (prefers-reduced-motion: reduce) {
  .storefront-intro, .storefront-intro * { animation: none !important; transition: none !important; }
  .intro-hive polygon, .intro-word, .intro-progress { opacity: 1; transform: none; }
}
