/* ui/launch/launch-cover.css — THE DROP's cover (docs/launch-beat-spec.md §3).
   z 55: above the HUD and the .ob-overlay menus (30), below the comic reader (60).
   Motion is opacity only, and it stands down under prefers-reduced-motion (the fade
   becomes a short cut). */

.lc-cover {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  background: var(--void, #0a0e2a);
  color: var(--green, #33ff66);
  font-family: 'Courier New', Courier, monospace;
  opacity: 1;
}
.lc-cover .lc-card,
.lc-cover .lc-stamp { position: absolute; inset: 0; opacity: 0; }

/* 'card' — THE MISSION TITLE CARD */
.lc-cover.lc-look-card .lc-card { opacity: 1; }
.lc-card .ob-bg { position: absolute; inset: 0; opacity: 0.9; }
.lc-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  text-align: center;
}
.lc-kicker { color: var(--amber, #ffb000); letter-spacing: 4px; font-size: 12px; }
.lc-title {
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: 6px;
  color: var(--cream, #f0e6c8);
  max-width: min(900px, 92vw);
}
.lc-rule { width: min(420px, 70vw); height: 1px; background: var(--fx-green-line-dim, rgba(51,255,102,.25)); position: relative; overflow: hidden; }
.lc-rule span {
  position: absolute; inset: 0; width: 30%;
  background: linear-gradient(90deg, transparent, var(--green, #33ff66), transparent);
  animation: lc-sweep 1.6s linear infinite;
}
.lc-recap {
  max-width: min(640px, 88vw);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 1.5px;
  opacity: 0.85;
}
.lc-status { margin-top: 10px; font-size: 10px; letter-spacing: 3px; opacity: 0.7; }
.lc-dot {
  display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%;
  background: var(--green, #33ff66); animation: lc-pulse 1s ease-in-out infinite;
}

/* 'black' — behind a comic: the void only */
.lc-cover.lc-look-black .lc-card,
.lc-cover.lc-look-black .lc-stamp { opacity: 0; }

/* 'fade' — the drop: the void fades into first person under the title stamp */
.lc-cover.lc-look-fade .lc-stamp { opacity: 1; }
.lc-stamp {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 0 16px;
}
.lc-stamp-kicker { color: var(--amber, #ffb000); letter-spacing: 4px; font-size: 12px; }
.lc-stamp-title {
  font-size: clamp(24px, 5vw, 54px); letter-spacing: 8px; color: var(--cream, #f0e6c8);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}
.lc-cover.lc-fading {
  background: transparent;
  transition: none;
}
.lc-cover.lc-fading::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--void, #0a0e2a);
  animation: lc-out var(--lc-fade-ms, 1200ms) ease-in forwards;
}
.lc-cover.lc-fading .lc-stamp { animation: lc-stamp-out var(--lc-fade-ms, 1200ms) ease-in forwards; }

@keyframes lc-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lc-stamp-out { 0% { opacity: 1; } 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lc-sweep { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@keyframes lc-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .lc-rule span, .lc-dot { animation: none; }
  .lc-cover.lc-fading::before, .lc-cover.lc-fading .lc-stamp { animation-duration: 1ms; }
}
