.survey-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 0;
  flex-shrink: 0;
}

.survey-back-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 18px;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--trans);
}
.survey-back-btn:active { border-color: var(--accent); }

.survey-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(173,255,47,0.1);
  border-radius: 99px;
  overflow: hidden;
}

.survey-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px rgba(173,255,47,0.6);
}

.survey-step-label {
  font-family: 'UNCAGE-Bold', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  white-space: nowrap;
}

.survey-card-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 32px;
  overflow-y: auto;
}

.survey-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInRight 0.3s cubic-bezier(0.4,0,0.2,1) both;
}

.survey-card.exit-left {
  animation: slideOutLeft 0.2s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-50px); opacity: 0; }
}

.survey-question-emoji {
  width: 60px; height: 60px;
  margin: 0 auto;
  color: var(--accent);
  filter: drop-shadow(0 0 16px rgba(173,255,47,0.5));
  animation: float 3s ease-in-out infinite;
}

.survey-question-text {
  font-family: 'UNCAGE-Bold', sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-1);
}

.survey-question-hint {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  margin-top: -12px;
}

/* ── Options ── */
.survey-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.survey-options.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.option-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-1);
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.option-btn:active { transform: scale(0.98); }

.option-btn.selected {
  border-color: var(--accent);
  background: rgba(173,255,47,0.06);
  box-shadow: 0 0 16px rgba(173,255,47,0.15);
}

.option-btn .opt-emoji { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.option-btn .opt-label { font-weight: 700; }
.option-btn .opt-desc  { font-size: 12px; color: var(--text-2); display: block; }

/* ── Number input ── */
.survey-number-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Hide native spinners */
.survey-number-input input[type="number"]::-webkit-inner-spin-button,
.survey-number-input input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.survey-number-input input[type="number"] { -moz-appearance: textfield; }

.num-spin-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.num-spin-btn {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  flex-shrink: 0;
}
.num-spin-btn svg { width: 18px; height: 18px; display: block; }
.num-spin-btn:active { background: var(--accent-dim); transform: scale(0.92); }

.survey-number-input input {
  font-family: 'UNCAGE-Bold', sans-serif;
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  max-width: 200px;
  border-radius: var(--radius);
  padding: 16px;
  background: var(--bg-card);
  border-color: var(--border-bright);
  color: var(--accent);
  letter-spacing: 1px;
}

/* ── Text input step ── */
.survey-text-step { display: flex; flex-direction: column; gap: 12px; }

.survey-skip-row { display: flex; justify-content: center; }

.btn-skip {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
