.launcher {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.10), transparent 60%),
    #0b0d12;
  padding: 24px;
  overflow: auto;
}

/* Ad slots — dashed placeholders during dev. When real ad code is dropped
   into the slot (replacing the .ad-slot-label span), the :has() selector
   drops the dashed border so the ad renders cleanly. */
.ad-slot {
  width: min(728px, calc(100% - 32px));
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-family: "Consolas", "Cascadia Mono", monospace;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.ad-slot:has(:not(.ad-slot-label)) {
  border: 0;
}

/* Production: hide the dev placeholder text, and collapse any slot that's
   still empty so visitors never see a dashed "Ad slot" box. The moment real
   ad markup is dropped into a slot (a child that isn't .ad-slot-label), that
   slot reappears and renders the ad. */
.is-prod .ad-slot-label { display: none; }
.is-prod .ad-slot:not(:has(:not(.ad-slot-label))) { display: none; }

.launcher[hidden] { display: none; }

.launcher-card {
  width: 100%;
  max-width: 460px;
  background: rgba(20, 22, 32, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.launcher-card h1 {
  margin: 0 0 4px;
  font-size: 28px;
  letter-spacing: -0.5px;
}

.tagline {
  margin: 0 0 24px;
  color: #9aa0b4;
  font-size: 14px;
}

#launch-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  color: #c8ccdb;
}

#launch-form label span em {
  color: #6b7080;
  font-style: normal;
  font-size: 12px;
}

#launch-form input,
#launch-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  background: #0f1119;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: #e8eaf0;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

#launch-form input:focus,
#launch-form select:focus {
  border-color: #6366f1;
}

.launch-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s;
  font-family: inherit;
}

.launch-btn:hover { filter: brightness(1.1); }
.launch-btn:active { transform: scale(0.98); }

.hint {
  margin: 16px 0 0;
  color: #6b7080;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Secondary CTA — deliberately quieter than the gradient Launch button so it
   reads as "just browsing?" not a primary action. One click = random demo. */
.demo-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: transparent;
  border: 0;
  color: #8b90a4;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s;
}
.demo-btn:hover { color: #c8ccdb; }

.launcher-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}
.launcher-footer a {
  color: #9aa0b4;
  text-decoration: none;
  transition: color 0.15s;
}
.launcher-footer a:hover { color: #c8ccdb; }
.launcher-footer .sep { color: #4a4f60; }
