:root {
  --bg: #000000;
  --card: rgba(8, 8, 14, 0.78);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --muted: #8e8e98;
  --red: #e11d48;
  --red-glow: rgba(225, 29, 72, 0.38);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.38);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.ready { opacity: 1; }
body.leaving { opacity: 0; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.28;
  will-change: transform;
}
.orb-red {
  background: radial-gradient(circle, rgba(225, 29, 72, 0.85), transparent 70%);
  top: -120px;
  left: -100px;
  animation: driftA 14s ease-in-out infinite alternate;
}
.orb-blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.85), transparent 70%);
  bottom: -140px;
  right: -100px;
  animation: driftB 16s ease-in-out infinite alternate;
}

@keyframes driftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(18vw, 14vh, 0) scale(1.18); }
}
@keyframes driftB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-18vw, -12vh, 0) scale(1.15); }
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.14) 0%, rgba(59, 130, 246, 0.10) 45%, transparent 72%);
  filter: blur(24px);
  z-index: 0;
  will-change: transform;
}

.stage {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 34px 34px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.8),
    0 0 48px rgba(225, 29, 72, 0.10),
    0 0 48px rgba(59, 130, 246, 0.10);
  text-align: center;
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.step-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.buds {
  display: flex;
  gap: 8px;
  align-items: center;
}
.bud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.85);
  background: rgba(255, 255, 255, 0.14);
}
.bud-dot.done {
  transform: rotate(-45deg) scale(1);
  background: var(--red);
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.55);
}
.bud-dot.active {
  transform: rotate(-45deg) scale(1.18);
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.75);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fb7185, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  font-weight: 600;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.28;
  margin-bottom: 12px;
}

.sub {
  font-size: 14px;
  color: var(--muted);
  min-height: 22px;
  margin-bottom: 28px;
  transition: color 0.25s ease;
}
.sub.warn { color: #fb7185; }

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  position: relative;
}
.actions.col { flex-direction: column; }

button {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
button:active { transform: scale(0.97); }

.btn-yes {
  flex: 1;
  border-color: rgba(225, 29, 72, 0.48);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.22), rgba(59, 130, 246, 0.12));
}
.btn-yes:hover {
  border-color: var(--red);
  box-shadow: 0 0 26px var(--red-glow);
  transform: translateY(-1px);
}

.btn-no {
  flex: 1;
  border-color: rgba(59, 130, 246, 0.32);
  color: var(--muted);
}
.btn-no:hover {
  border-color: var(--blue);
  color: var(--text);
  box-shadow: 0 0 22px var(--blue-glow);
}
