/* Don't Push - dont-push.css
 * BRIEF-169 step 5: rebuilt on the Bench. Only the button and its two
 * popups live here. The red is derived from the skin's stop colour so
 * it stays in the palette across every register and theme; the soft
 * round shadows are bespoke to the button, which no primitive covers.
 */

.dp-stage {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
}

.dp-label {
  font-size: var(--t-body);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stop);
  user-select: none;
  margin: 0;
}

@keyframes dpPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--stop) 45%, transparent); }
  50%      { box-shadow: 0 0 0 18px color-mix(in srgb, var(--stop) 0%, transparent); }
}

.dp-btn {
  width: clamp(200px, 42vw, 280px);
  height: clamp(200px, 42vw, 280px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 35%,
    color-mix(in srgb, var(--stop) 78%, white),
    var(--stop) 55%,
    color-mix(in srgb, var(--stop) 55%, black)
  );
  border: var(--border-w-heavy) solid color-mix(in srgb, var(--stop) 70%, black);
  cursor: pointer;
  transition: transform 80ms ease, box-shadow 80ms ease;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.5),
    0 3px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: dpPulse 2.4s ease-out infinite;
  position: relative;
}

.dp-btn:hover { animation-play-state: paused; }

.dp-btn::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.dp-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.dp-btn.is-pressed {
  transform: scale(0.94);
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.45),
    0 1px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── Milestone popups ───────────────────────────────────────────────────────── */

.dp-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.dp-popup {
  background: var(--panel);
  color: var(--ink);
  border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 32px 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}

.dp-popup-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}

.dp-popup-body {
  font-size: var(--t-small);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 24px;
}
