#welcome {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--wl-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: wlAutoHide 0s linear 3s forwards;
}

#welcome.hide {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  visibility: hidden;
}

@keyframes wlAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.wl-logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: var(--wl-primary);
  color: var(--wl-primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 38px;
  letter-spacing: -1px;
  animation: wlPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wlPop {
  0%   { opacity: 0; transform: scale(0.6) rotate(-10deg); }
  60%  { opacity: 1; transform: scale(1.06) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.wl-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  letter-spacing: -1.2px;
  color: var(--wl-text);
  margin-top: 22px;
  opacity: 0;
  animation: wlUp 0.5s ease 0.35s both;
}

.wl-sub {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--wl-muted);
  margin-top: 10px;
  opacity: 0;
  animation: wlUp 0.5s ease 0.55s both;
}

@keyframes wlUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wl-bar {
  margin-top: 32px;
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: var(--wl-border);
  overflow: hidden;
}

.wl-bar-fill {
  width: 40%;
  height: 100%;
  background: var(--wl-accent);
  border-radius: 999px;
  animation: wlSlide 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes wlSlide {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(300%); }
}

@media (prefers-reduced-motion: reduce) {
  .wl-logo,
  .wl-title,
  .wl-sub,
  .wl-bar-fill {
    animation: none !important;
    opacity: 1 !important;
  }
}