/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #05050f;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --primary: #7c6bfa;
  --primary-glow: rgba(124,107,250,0.35);
  --primary-dark: #5b4ed4;
  --accent: #fa6b6b;
  --text: #f0eff8;
  --text-muted: #8b8aa3;
  --text-dim: rgba(240,239,248,0.45);
  --radius: 18px;
  --radius-sm: 10px;
  --glass: rgba(8,8,24,0.75);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Page system ─────────────────────────────────────────────────────────── */
.page {
  display: none;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.page.active { display: block; }

/* ── Orbs ────────────────────────────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(124,107,250,0.18), transparent 70%); top: -180px; right: -120px; animation-delay: 0s; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(250,107,107,0.14), transparent 70%); bottom: 80px; left: -100px; animation-delay: -4s; }
.orb-3 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(107,170,250,0.12), transparent 70%); top: 40%; left: 40%; animation-delay: -8s; }

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: relative;
  z-index: 10;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}
.logo span { color: var(--primary); }
.logo .logo-mark {
  width: 1.5em;
  height: 1.5em;
  border-radius: 24%;
  margin-right: 9px;
  vertical-align: -0.42em;
}
.logo.small { font-size: 1.2rem; margin-bottom: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--primary-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: var(--surface-hover); border-color: rgba(255,255,255,0.15); }

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
  padding: 4px 0;
  display: block;
  text-align: center;
}
.btn-link:hover { color: #a897ff; }

.pulse-btn { animation: pulse-glow 2.5s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 24px var(--primary-glow); }
  50%       { box-shadow: 0 0 48px rgba(124,107,250,0.6); }
}

.btn-icon { font-size: 1rem; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,107,250,0.12);
  border: 1px solid rgba(124,107,250,0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--primary); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text); }
.stat-lbl { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

.scroll-hint {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 32px;
  letter-spacing: 0.08em;
  animation: bounce-hint 2s ease-in-out infinite;
  position: relative;
  z-index: 5;
}
@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 60px 48px;
  position: relative;
  z-index: 5;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 260px;
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(124,107,250,0.3); }
.feat-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }

/* ── Modal wrapper ────────────────────────────────────────────────────────── */
.modal-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  z-index: 5;
}

.modal-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(24px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  animation: card-in 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.auth-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ── Auth steps ────────────────────────────────────────────────────────────── */
.auth-step { display: none; }
.auth-step.active { display: block; }

/* ── Form fields ─────────────────────────────────────────────────────────── */
.field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,107,250,0.15); }
.field::placeholder { color: var(--text-muted); }

.field-error { color: var(--accent); font-size: 0.82rem; margin-bottom: 10px; min-height: 18px; }

.email-badge {
  background: rgba(124,107,250,0.1);
  border: 1px solid rgba(124,107,250,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 16px;
  word-break: break-all;
}

/* ── OTP boxes ────────────────────────────────────────────────────────────── */
.otp-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
.otp-box {
  width: 48px;
  height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, transform 0.15s;
  font-family: var(--font-display);
}
.otp-box:focus { border-color: var(--primary); transform: scale(1.08); box-shadow: 0 0 0 3px rgba(124,107,250,0.15); }

/* ── Terms ────────────────────────────────────────────────────────────────── */
.terms-card { max-width: 520px; }
.terms-body {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.terms-body p { margin-bottom: 12px; }
.terms-body ul { padding-left: 8px; }
.terms-body li { margin-bottom: 8px; }
.terms-body strong { color: var(--text); }
.terms-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ── Connect page ─────────────────────────────────────────────────────────── */
#page-connect { background: #030309; }

.video-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #08080f;
  overflow: hidden;
}

#remote-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a15;
}

#local-video {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 180px;
  height: 135px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(124,107,250,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  background: #0a0a15;
  z-index: 30; /* above status overlays so your camera stays visible while searching */
  cursor: grab;
  touch-action: none; /* let JS handle drag gestures */
  transition: transform 0.2s, box-shadow 0.2s;
}
#local-video:hover { transform: scale(1.03); box-shadow: 0 10px 40px rgba(124,107,250,0.35); }
#local-video.dragging { cursor: grabbing; transition: none; transform: scale(1.04); }

/* ── Status overlays ─────────────────────────────────────────────────────── */
.status-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(5,5,15,0.85);
  backdrop-filter: blur(8px);
  z-index: 20;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
}
.status-overlay.hidden { display: none; }

/* ── Remote "camera off / audio only" placeholder ────────────────────────── */
.cam-off-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 42%, #1a1230, #0a0a15 75%);
  color: var(--text-muted);
  font-family: var(--font-display);
}
.cam-off-overlay.hidden { display: none; }
.cam-off-avatar {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  border-radius: 50%;
  background: rgba(124,107,250,0.12);
  border: 1px solid rgba(124,107,250,0.3);
  animation: mm-pulse 2s ease-in-out infinite;
}

/* ── Report button + modal ───────────────────────────────────────────────── */
.report-btn { color: #ff6b8a; }
.report-btn:hover { background: rgba(216,27,96,0.18); }
.report-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(5,5,12,0.72);
  backdrop-filter: blur(6px);
}
.report-modal.hidden { display: none; }
.report-card {
  width: 100%; max-width: 380px;
  background: linear-gradient(160deg, #15101f, #0d0a18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.report-card h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.2rem; color: var(--text); }
.report-sub { margin: 0 0 16px; font-size: 0.85rem; color: var(--text-muted); }
.report-reasons { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.report-reasons label {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px; cursor: pointer;
  font-size: 0.92rem; color: var(--text);
  transition: background 0.15s ease;
}
.report-reasons label:hover { background: rgba(255,255,255,0.04); }
.report-reasons input { accent-color: #D81B60; width: 16px; height: 16px; flex: 0 0 auto; }
#report-custom { width: 100%; resize: vertical; margin-bottom: 6px; }
.report-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.report-actions .btn-primary { background: linear-gradient(135deg, #FF8A65, #D81B60); }

/* Blocked screen */
.blocked-icon { font-size: 3rem; line-height: 1; }
#overlay-blocked p { max-width: 320px; text-align: center; line-height: 1.5; }
.blocked-sub { font-size: 0.85rem; color: var(--text-muted); }

/* ── Dedicated bottom-right Skip button ──────────────────────────────────── */
.skip-corner {
  position: absolute;
  bottom: 30px;
  right: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 18px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #FF8A65, #D81B60);
  box-shadow: 0 8px 26px rgba(216,27,96,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.skip-corner:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 34px rgba(216,27,96,0.5); }
.skip-corner:active { transform: translateY(0) scale(0.97); }
.skip-corner svg { display: block; }
@media (max-width: 640px) {
  .skip-corner { bottom: 96px; right: 14px; padding: 10px 16px; font-size: 0.85rem; }
}

/* ── "Finding someone" — orbiting avatars + glowing core ─────────────────── */
.finder {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* radar pulses */
.finder-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 110px; height: 110px;
  margin: -55px 0 0 -55px;
  border: 1.5px solid rgba(124,107,250,0.35);
  border-radius: 50%;
  animation: finder-pulse 2.6s ease-out infinite;
}
.finder-ring.r2 { animation-delay: 1.3s; }
@keyframes finder-pulse {
  0%   { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(2.5); opacity: 0; }
}
/* glowing flame core */
.finder-core {
  position: relative;
  z-index: 3;
  width: 66px; height: 66px;
  animation: finder-core 2s ease-in-out infinite;
}
.finder-core img { width: 100%; height: 100%; display: block; border-radius: 24%; }
@keyframes finder-core {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 14px rgba(156,111,255,0.55)); }
  50%      { transform: scale(1.09); filter: drop-shadow(0 0 28px rgba(255,138,101,0.65)); }
}
/* orbiting avatar bubbles — each arm spins; the bubble counter-spins to stay upright */
.orbit { position: absolute; inset: 0; }
.arm { position: absolute; inset: 0; animation: orbit-spin 7s linear infinite; }
.arm .av {
  position: absolute;
  top: 6px; left: 50%;
  width: 46px; height: 46px;
  margin-left: -23px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #271842, #160a2b);
  box-shadow: 0 6px 18px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07), 0 0 18px rgba(124,107,250,0.25);
  animation: orbit-upright 7s linear infinite;
}
@keyframes orbit-spin    { to { transform: rotate(360deg); } }
@keyframes orbit-upright { to { transform: rotate(-360deg); } }
/* vary radius (top), speed (duration), direction & phase (delay) per bubble */
.arm.a1, .arm.a1 .av { animation-duration: 7s;  animation-delay: 0s;    }
.arm.a2, .arm.a2 .av { animation-duration: 9s;  animation-delay: -2.4s; }
.arm.a3, .arm.a3 .av { animation-duration: 11s; animation-delay: -5s;   animation-direction: reverse; }
.arm.a4, .arm.a4 .av { animation-duration: 8s;  animation-delay: -1.2s; }
.arm.a5, .arm.a5 .av { animation-duration: 12s; animation-delay: -7s;   animation-direction: reverse; }
.arm.a2 .av { top: 40px; width: 38px; height: 38px; margin-left: -19px; font-size: 18px; }
.arm.a3 .av { top: 74px; width: 34px; height: 34px; margin-left: -17px; font-size: 16px; }
.arm.a4 .av { top: 22px; }
.arm.a5 .av { top: 56px; width: 36px; height: 36px; margin-left: -18px; font-size: 17px; }
/* rotating status message */
.finder-msg { transition: opacity 0.3s ease; min-height: 1.4em; }
@media (prefers-reduced-motion: reduce) {
  .arm, .arm .av, .finder-core, .finder-ring { animation: none !important; }
}

.conn-pulse {
  font-size: 2.5rem;
  color: var(--primary);
  animation: pulse-text 1s ease-in-out infinite alternate;
}
@keyframes pulse-text {
  from { opacity: 0.4; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Controls bar ─────────────────────────────────────────────────────────── */
.controls-bar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 60px;
  padding: 12px 20px;
  backdrop-filter: blur(20px);
  z-index: 30;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ctrl-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.ctrl-btn:hover { background: rgba(255,255,255,0.12); transform: scale(1.08); }
.ctrl-btn.active { background: rgba(124,107,250,0.2); border-color: var(--primary); color: var(--primary); }
/* OFF state (mic muted / camera off): red tint + diagonal strike line through the icon */
.ctrl-btn.off { background: rgba(250,107,107,0.15); border-color: #ff6b6b; color: #ff6b6b; }
.ctrl-btn.off::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 34px; height: 3px;
  background: #ff5b5b;
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 0 1.6px rgba(8,8,16,0.9); /* dark outline so the strike reads over the icon */
  pointer-events: none;
}

.like-btn { color: #ff6b8a; }
.like-btn:hover { background: rgba(255,107,138,0.15); border-color: #ff6b8a; }
.like-btn.liked { background: rgba(255,107,138,0.2); border-color: #ff6b8a; color: #ff6b8a; }
.like-btn.liked svg { fill: #ff6b8a; }

.end-btn { color: var(--accent); }
.end-btn:hover { background: rgba(250,107,107,0.15); border-color: var(--accent); }

/* ── Scroll hint ─────────────────────────────────────────────────────────── */
.scroll-up-hint {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  z-index: 25;
  animation: float-hint 3s ease-in-out infinite;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
@keyframes float-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
  50%       { transform: translateX(-50%) translateY(-6px); opacity: 0.65; }
}

/* ── Call timer ───────────────────────────────────────────────────────────── */
.call-timer {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  z-index: 15;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}

/* ── Auth prompt ─────────────────────────────────────────────────────────── */
.auth-prompt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  width: 90%;
  max-width: 360px;
}
.auth-prompt.hidden { display: none; }
.auth-prompt-inner {
  background: var(--glass);
  border: 1px solid rgba(124,107,250,0.3);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(24px);
  box-shadow: 0 0 60px rgba(124,107,250,0.2);
  animation: card-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.auth-prompt-icon { font-size: 2rem; margin-bottom: 12px; color: var(--primary); }
.auth-prompt-inner h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.auth-prompt-inner p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; line-height: 1.5; }
.btn-ghost.small { padding: 8px 20px; font-size: 0.82rem; margin-top: 8px; }

/* ── Mutual like ─────────────────────────────────────────────────────────── */
.mutual-like-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 35;
  pointer-events: none;
}
.mutual-like-overlay.hidden { display: none; }
.heart-burst {
  font-size: 6rem;
  animation: heart-pop 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
  filter: drop-shadow(0 0 30px #ff6b8a);
}
@keyframes heart-pop {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.mutual-like-overlay p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b8a;
  text-shadow: 0 0 20px rgba(255,107,138,0.6);
  margin-top: 12px;
}

/* ── Like toast ──────────────────────────────────────────────────────────── */
.like-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,107,138,0.15);
  border: 1px solid rgba(255,107,138,0.4);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: #ff9bb5;
  z-index: 50;
  backdrop-filter: blur(12px);
  animation: slide-in 0.3s ease;
}
.like-toast.hidden { display: none; }
@keyframes slide-in {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 60px 20px 40px; }
  .features { padding: 40px 20px; flex-direction: column; align-items: center; }
  .modal-card { padding: 28px 22px; }
  .terms-actions { flex-direction: column; }
  #local-video { width: 120px; height: 90px; top: 16px; right: 12px; }
  .otp-box { width: 40px; height: 48px; font-size: 1.2rem; }
}
