:root {
  --lw-bg: #110820;
  --lw-text: #cbb6ff;
  --lw-accent: #ffd23f;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--lw-bg);
  color: var(--lw-text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

a {
  color: var(--lw-accent);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

.launcher__container {
  padding: 1.5rem;
  max-width: 28rem;
}

.launcher__status {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  line-height: 1.35;
}

.launcher__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 12rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.14);
  border: 1px solid rgba(255, 210, 63, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.12) inset;
  font-size: 1rem;
}

.launcher__hint {
  display: block;
  margin-top: 0.75rem;
  opacity: 0.92;
  font-size: 0.88rem;
}

.launcher__version {
  opacity: 0.95;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Wordmark intro layers + cinematic one-shot timing. */
.lw-wordmark-intro {
  position: relative;
  isolation: isolate;
}

.lw-wordmark-layer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: inherit;
}

.lw-wordmark--base {
  position: relative;
  z-index: 2;
}

.lw-wordmark--glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  filter: blur(8px) saturate(1.15);
}

.lw-wordmark--sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.7) 49%, rgba(255, 255, 255, 0.95) 51%, transparent 80%);
  transform: translateX(-115%);
  mix-blend-mode: screen;
}

.lw-wordmark-intro--cinematic .lw-wordmark--base {
  animation: lw-logo-fade-in 250ms ease-out both, lw-logo-pop 520ms cubic-bezier(0.19, 1.2, 0.22, 1) 180ms both;
}

.lw-wordmark-intro--cinematic .lw-wordmark--glow {
  animation: lw-logo-glow-bloom 850ms ease-out 350ms both;
}

.lw-wordmark-intro--cinematic .lw-wordmark--sweep {
  animation: lw-logo-sweep 900ms cubic-bezier(0.27, 0.74, 0.31, 1) 500ms both;
}

.lw-menu-intro--active {
  animation: lw-logo-fade-in 280ms ease-out both;
}

@keyframes lw-logo-fade-in {
  0% { opacity: 0; transform: scale(0.975); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes lw-logo-pop {
  0% { transform: scale(0.98); }
  42% { transform: scale(1.045); }
  100% { transform: scale(1); }
}
@keyframes lw-logo-glow-bloom {
  0% { opacity: 0; filter: blur(4px) brightness(1); }
  42% { opacity: 0.85; filter: blur(11px) brightness(1.25); }
  100% { opacity: 0.42; filter: blur(7px) brightness(1.05); }
}
@keyframes lw-logo-sweep {
  0% { opacity: 0; transform: translateX(-115%); }
  15% { opacity: 0.9; }
  78% { opacity: 0.75; }
  100% { opacity: 0; transform: translateX(115%); }
}

@media (prefers-reduced-motion: reduce) {
  .lw-wordmark-intro--cinematic .lw-wordmark--base,
  .lw-wordmark-intro--cinematic .lw-wordmark--glow,
  .lw-wordmark-intro--cinematic .lw-wordmark--sweep,
  .lw-menu-intro--active {
    animation: none !important;
    transform: none !important;
  }
  .lw-wordmark-intro--cinematic .lw-wordmark--base,
  .lw-wordmark-intro--cinematic .lw-wordmark--glow {
    opacity: 1;
    transition: opacity 140ms ease-out;
  }
  .lw-wordmark-intro--cinematic .lw-wordmark--sweep {
    display: none;
  }
}
