/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --black: #0a0a0a;
  --white: #f5f0eb;
  --cream: #e8e0d6;
  --rose: #e84d6d;
  --rose-dark: #c2344f;
  --rose-glow: rgba(232, 77, 109, 0.15);
  --rose-glow-strong: rgba(232, 77, 109, 0.3);
  --pass-color: #ff4757;
  --like-color: #2ed573;
  --dim: #8a857f;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(232, 77, 109, 0.3);
  --radius: 24px;
  --radius-sm: 14px;
  --transition: 0.25s ease;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── Screen System ──────────────────────────────────────────────────────────── */
.screen {
  display: none;
  min-height: 100vh;
  width: 100%;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

/* ─── Landing Screen ─────────────────────────────────────────────────────────── */
#screen-landing {
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  top: 10%; right: -10%;
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--cream);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--rose);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 0 var(--rose-glow);
}

.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--rose-glow-strong);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--rose-glow);
}

/* iMessage mockup */
.imessage-section {
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.imessage-phone {
  background: #1a1a1a;
  border-radius: 32px;
  padding: 20px;
  max-width: 380px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.imessage-header {
  text-align: center;
  padding: 12px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}

.imessage-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #c24a8b);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.imessage-name { font-weight: 600; font-size: 0.95rem; }

.bubble {
  padding: 10px 16px;
  border-radius: 18px;
  max-width: 80%;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: fadeUp 0.6s ease both;
}

.bubble-them {
  background: #2a2a2e;
  color: var(--white);
  border-bottom-left-radius: 6px;
  margin-right: auto;
}

.bubble-me {
  background: #0b84fe;
  color: white;
  border-bottom-right-radius: 6px;
  margin-left: auto;
}

.bubble:nth-child(2) { animation-delay: 0.1s; }
.bubble:nth-child(3) { animation-delay: 0.2s; }
.bubble:nth-child(4) { animation-delay: 0.3s; }
.bubble:nth-child(5) { animation-delay: 0.4s; }
.bubble:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #2a2a2e;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  width: fit-content;
  margin-top: 4px;
}

.typing-dot {
  width: 7px; height: 7px;
  background: #666;
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* How it works */
.how-section {
  padding: 8rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.how-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 5rem;
  letter-spacing: -0.02em;
}

.step-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--rose);
  opacity: 0.5;
  line-height: 1;
}

.step h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.step p { color: var(--dim); font-size: 1.05rem; font-weight: 300; max-width: 500px; }

/* Characters strip */
.characters-section { padding: 6rem 2rem; overflow: hidden; }

.characters-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.characters-sub {
  text-align: center;
  color: var(--dim);
  margin-bottom: 3rem;
  font-weight: 300;
  font-size: 1.1rem;
}

.character-scroll {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.character-scroll::-webkit-scrollbar { display: none; }

.character-card {
  min-width: 200px;
  max-width: 220px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.character-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.char-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.char-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.char-vibe { color: var(--rose); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.char-bio { color: var(--dim); font-size: 0.85rem; font-weight: 300; line-height: 1.5; }

/* Differentiators */
.diff-section { padding: 8rem 2rem; max-width: 900px; margin: 0 auto; }

.diff-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.diff-item { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.diff-item:last-child { border-bottom: none; }
.diff-label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.5rem; }
.diff-desc { color: var(--dim); font-weight: 300; font-size: 1.05rem; max-width: 600px; }

/* Closing */
.closing { padding: 10rem 2rem; text-align: center; position: relative; }

.closing-glow {
  position: absolute;
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--rose-glow) 0%, transparent 70%);
  bottom: 20%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.closing h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.closing p { color: var(--dim); font-size: 1.15rem; font-weight: 300; position: relative; z-index: 2; }

.closing-cta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.footer-sub { color: var(--dim); font-size: 0.8rem; margin-top: 0.5rem; font-weight: 300; }

/* ─── Swipe Screen ───────────────────────────────────────────────────────────── */
#screen-swipe {
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
}

.swipe-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
  position: relative;
  z-index: 10;
}

.swipe-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--rose);
}

.swipe-progress-text {
  font-size: 0.85rem;
  color: var(--dim);
  font-weight: 400;
}

.swipe-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dim);
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  padding: 0.5rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.swipe-back-btn:hover { color: var(--white); }

/* Card Stack Area */
.card-area {
  flex: 1;
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem 1.5rem 0;
  min-height: 0;
}

/* Card Stack */
.card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 0.72;
  max-height: 540px;
}

/* Individual swipe card */
.swipe-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: grab;
  will-change: transform;
  touch-action: none;
  user-select: none;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.swipe-card:active { cursor: grabbing; }

/* Card layers — back cards slightly scaled/offset */
.swipe-card:nth-child(3) {
  transform: scale(0.94) translateY(18px);
  z-index: 1;
  filter: brightness(0.6);
}

.swipe-card:nth-child(2) {
  transform: scale(0.97) translateY(9px);
  z-index: 2;
  filter: brightness(0.8);
}

.swipe-card:nth-child(1) {
  transform: scale(1) translateY(0);
  z-index: 3;
  filter: brightness(1);
}

/* Card drag state */
.swipe-card.dragging {
  transition: none !important;
  cursor: grabbing;
}

/* Card gradient bg (fallback when no image) */
.card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.card-gradient-0 { background: linear-gradient(160deg, #1a0a14, #3d1a2e); }
.card-gradient-1 { background: linear-gradient(160deg, #0a1a14, #1a3d2e); }
.card-gradient-2 { background: linear-gradient(160deg, #0a0a1a, #1a1a3d); }
.card-gradient-3 { background: linear-gradient(160deg, #1a1200, #3d2e00); }
.card-gradient-4 { background: linear-gradient(160deg, #1a0000, #3d1010); }
.card-gradient-5 { background: linear-gradient(160deg, #001a0f, #003d22); }
.card-gradient-6 { background: linear-gradient(160deg, #1a0a00, #3d2000); }
.card-gradient-7 { background: linear-gradient(160deg, #0f001a, #250038); }
.card-gradient-8 { background: linear-gradient(160deg, #001018, #00253d); }
.card-gradient-9 { background: linear-gradient(160deg, #181818, #2a2a2a); }

.card-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Card info panel */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
}

.card-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.card-age-vibe {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.card-bio {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cream);
}

/* Swipe decision overlays */
.card-like-overlay,
.card-pass-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  opacity: 0;
  border-radius: var(--radius);
  pointer-events: none;
  transition: none;
}

.card-like-overlay { background: rgba(46, 213, 115, 0.12); }
.card-pass-overlay {
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(255, 71, 87, 0.12);
}

.overlay-label {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-width: 3px;
  border-style: solid;
}

.card-like-overlay .overlay-label {
  color: var(--like-color);
  border-color: var(--like-color);
  transform: rotate(-15deg);
}

.card-pass-overlay .overlay-label {
  color: var(--pass-color);
  border-color: var(--pass-color);
  transform: rotate(15deg);
}

/* Swipe Action Buttons */
.swipe-actions {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem 2rem;
  flex-shrink: 0;
}

.swipe-btn {
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.swipe-btn:hover { transform: scale(1.08); }
.swipe-btn:active { transform: scale(0.96); }

.swipe-btn-pass {
  width: 64px; height: 64px;
  background: rgba(255, 71, 87, 0.12);
  border: 2px solid rgba(255, 71, 87, 0.3);
  color: var(--pass-color);
  font-size: 1.5rem;
}

.swipe-btn-pass:hover { box-shadow: 0 0 20px rgba(255, 71, 87, 0.3); }

.swipe-btn-like {
  width: 72px; height: 72px;
  background: rgba(46, 213, 115, 0.12);
  border: 2px solid rgba(46, 213, 115, 0.3);
  color: var(--like-color);
  font-size: 1.7rem;
}

.swipe-btn-like:hover { box-shadow: 0 0 20px rgba(46, 213, 115, 0.3); }

/* Keyboard hint */
.keyboard-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--dim);
  padding-bottom: 1.5rem;
  opacity: 0.6;
}

/* No more cards state */
.no-more-cards {
  text-align: center;
  padding: 3rem 2rem;
  display: none;
}

.no-more-cards.visible { display: block; }
.no-more-cards h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.no-more-cards p { color: var(--dim); margin-bottom: 2rem; }

/* ─── Results Screen ─────────────────────────────────────────────────────────── */
#screen-results {
  background: var(--black);
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
}

.results-content {
  width: 100%;
  max-width: 600px;
  padding: 3rem 1.5rem 4rem;
  margin: 0 auto;
}

.results-header {
  text-align: center;
  margin-bottom: 3rem;
}

.results-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.results-header p { color: var(--dim); font-weight: 300; font-size: 1.05rem; }

.match-count-badge {
  display: inline-block;
  background: var(--rose);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* No matches */
.no-matches {
  text-align: center;
  padding: 4rem 2rem;
}

.no-matches-emoji { font-size: 4rem; margin-bottom: 1rem; }
.no-matches h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.no-matches p { color: var(--dim); margin-bottom: 2rem; }

/* Match cards in results */
.match-list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.match-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.match-card.phone-submitted {
  border-color: rgba(46, 213, 115, 0.3);
  background: rgba(46, 213, 115, 0.04);
}

.match-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.match-emoji { font-size: 2.5rem; flex-shrink: 0; }

.match-card-info { flex: 1; }

.match-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.match-vibe { color: var(--rose); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

.match-bio { color: var(--dim); font-size: 0.9rem; font-weight: 300; line-height: 1.5; margin-bottom: 1.25rem; }

/* Phone form per match */
.phone-form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.phone-input-wrap {
  flex: 1;
  position: relative;
}

.phone-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.phone-input::placeholder { color: var(--dim); }
.phone-input:focus { border-color: rgba(255,255,255,0.2); }

.phone-submit {
  background: var(--rose);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.phone-submit:hover { background: var(--rose-dark); transform: scale(1.02); }
.phone-submit:active { transform: scale(0.98); }
.phone-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.phone-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--like-color);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 0;
}

.phone-error {
  margin-top: 0.5rem;
  color: var(--pass-color);
  font-size: 0.8rem;
}

/* Results footer */
.results-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.results-footer p {
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Transition animations between screens */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.screen.active {
  animation: slideInRight 0.3s ease;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 4rem 1.5rem; }
  .step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .step-num { font-size: 2.5rem; }
  .character-scroll { justify-content: flex-start; flex-wrap: nowrap; }
  .character-card { min-width: 180px; }
  .imessage-phone { border-radius: 24px; padding: 14px; }

  .card-stack { max-height: 460px; }
  .card-area { padding: 1rem 1rem 0; }
  .swipe-actions { padding: 1rem 1.5rem 1.5rem; }

  .swipe-btn-pass { width: 56px; height: 56px; font-size: 1.3rem; }
  .swipe-btn-like { width: 64px; height: 64px; font-size: 1.5rem; }
}

@media (min-height: 800px) {
  .card-stack { max-height: 580px; }
}
