* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: linear-gradient(135deg, #fde2ff, #ffffff 40%, #efe3ff);
  color: #111;
  display: flex;
  justify-content: center;
}

#app {
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  text-align: center;
  padding: 12px 0 6px;
}

.brand {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.tagline {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.35;
  color: #444;
  font-weight: 500;
}

/* Stage */
.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

/* Card as a stage, not a box */
.card {
  width: 100%;
  background: rgba(255,255,255,.94);
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.05);
  text-align: center;
  touch-action: pan-x;
}

/* Swipe hint */
.swipeHint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(109,40,217,.10);
  color: #4b2ca4;
  font-weight: 700;
  font-size: 13px;
  margin: 0 auto 18px;
}

/* Question prominence */
.questionWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh; /* THIS is the key change */
}

.question {
  font-size: clamp(26px, 5.5vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  max-width: 92%;
}

/* Controls */
.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  padding: 16px;
  border-radius: 16px;
  border: none;
  background: #6d28d9;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.btn-outline {
  background: #f3e8ff;
  color: #4b2ca4;
}

/* Shuffle */
.shuffle {
  margin-top: 12px;
  padding: 14px;
  background: transparent;
  border: 2px dashed #e9d5ff;
  border-radius: 14px;
  font-weight: 800;
  color: #6d28d9;
}

/* Footer */
.footer {
  text-align: center;
  color: #6b7280;
  font-size: 12px;
  padding: 12px 0 4px;
}

/* Desktop tuning */
@media (min-width: 768px) {
  .questionWrap { min-height: 32vh; }
  .question { font-size: 36px; }
}
