:root {
  --bg: #3e513c;
  --card: #111827cc;
  --accent: #e7c69e;
  --accent2: #f3dbb9;
  --good: #10b981;
  --bad: #ef4444;
  --text: #e5e7eb
}

* {
  box-sizing: border-box
}

html, body {
  height: 100%
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% 20%, #0b214b 0%,
  transparent 60%),
  radial-gradient(1000px 800px at 80% 80%, #3e513c 0%, transparent 55%),
  linear-gradient(180deg, #0b1220 0%, #374f59 100%);
  overflow: hidden;
  touch-action: none
}


.wrap {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 24px);
  perspective: 1200px
}

.card {
  position: relative;
  width: min(92vw, 480px);
  height: min(80vh, 760px);
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px #0009, inset 0 1px 0 #fff2;
  overflow: hidden;
  user-select: none;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.25, .8, .5, 1)
}

.card.dragging {
  transition: none !important
}


.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.05) brightness(.95);
  transform: scale(1.05);
  opacity: .9
}

.scrim {
  position: absolute;
left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.q {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100px;
  padding: 38px;
  text-align: center;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 12px #000d
}


.hint {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  opacity: .8;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #0008;
  border: 1px solid #ffffff22
}


.badge {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 18%;
  opacity: 0;
  transform: scale(0);
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  border: 1px solid #ffffff30;
  box-shadow: 0 10px 30px #0008;
  transition: all .18s
}

.badge.yes {
  background: #10b98130;
  left: 0;
}

.badge.no {
  background: #ef444430;
  right:0;
}


.answer-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 5;
  gap: 20px
}

.answer-box {
  max-width: 80%;
  padding: 20px;
  border-radius: 20px;
  background: #3e513c;
  color: #fff;
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 600;
  box-shadow: 0 12px 40px #0009;
  text-align: center
}

.continue-btn {
  appearance: none;
  border: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  font-weight: 700;
  color: #0b1220;
  cursor: pointer;
  box-shadow: 0 8px 20px #0009;
    font-size: clamp(24px, 5vw, 28px);

}


.progress {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 480px);
  height: 6px;
  border-radius: 999px;
  background: #ffffff1a;
  overflow: hidden
}

.progress > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2))
}


.cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  gap: 18px;
  background: linear-gradient(180deg, #0b1220dd, #0b1220ee), radial-gradient(900px 600px at 20% 10%, #22d3ee22 0%, transparent 60%), radial-gradient(900px 600px at 80% 90%, #ec489922 0%, transparent 60%)
}

.cta h1 {
  font-size: clamp(28px, 6vw, 44px);
  margin: 0
}

.cta p {
  opacity: .9;
  margin: 0
}

.btn {
  appearance: none;
  border: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  font-weight: 800;
  color: #0b1220;
  cursor: pointer;
  box-shadow: 0 14px 30px #0009;
    font-size: clamp(24px, 5vw, 28px);

}

.btn.outline {
  background: #0000;
  color: var(--text);
  border: 1px solid #ffffff30
}

.unlock {
  display: none
}

.intro {

}


.intro h1 {
  font-size: clamp(28px, 6vw, 44px);
  margin: 0;
  padding-bottom: 16px;
}
.intro p {
  opacity: .9;
  font-size: 1.1rem;
  margin: 0;
  padding-bottom: 16px;
}
.spacer {
  height:16px
}
