:root {
  --bg-dark: #0A0A0F;
  --purple: #6C5CE7;
  --purple-light: #A29BFE;
  --purple-glow: rgba(108, 92, 231, 0.4);
  --yellow: #FECA57;
  --yellow-dark: #F0932B;
  --green: #00D2A0;
  --text-white: #FFFFFF;
  --text-muted: #8E8E9A;
  --font: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-dark); font-family: var(--font); color: var(--text-white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font-family: inherit; cursor: pointer; outline: none; color: inherit; }

/* ═══════════════════════════════════════
   1. SWIPEMATES SPLASH
   ═══════════════════════════════════════ */
.v16-splash {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg-dark); position: relative; overflow: hidden;
  padding: 0 24px;
}

/* Brand */
.v16-brand { display: flex; align-items: center; gap: 8px; padding: 20px 0; position: relative; z-index: 10; }
.v16-brand-heart { width: 28px; height: 28px; background: var(--purple); border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 14px; }
.v16-brand-name { font-size: 18px; font-weight: 800; }

/* Purple Blob */
.v16-blob-wrap { position: relative; flex: 1; display: flex; justify-content: center; align-items: center; }
.v16-blob {
  position: absolute; width: 280px; height: 280px;
  background: var(--purple); border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  left: 50%; top: 45%; transform: translate(-50%, -50%);
  animation: v16-morph 8s ease-in-out infinite;
  box-shadow: 0 0 80px var(--purple-glow);
}

@keyframes v16-morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  25% { border-radius: 55% 45% 40% 60% / 40% 60% 45% 55%; }
  50% { border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%; }
  75% { border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%; }
}

/* Floating Avatars on the blob */
.v16-float-av {
  position: absolute; border-radius: 50%; background-size: cover; background-position: center;
  border: 3px solid rgba(255,255,255,0.3); z-index: 5;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.v16-float-av:nth-child(1) { width: 100px; height: 100px; top: 15%; left: 10%; }
.v16-float-av:nth-child(2) { width: 80px;  height: 80px;  top: 60%; right: 5%; }
.v16-float-av:nth-child(3) { width: 60px;  height: 60px;  top: 10%; right: 20%; }

/* Yellow Speech Bubbles / Tags */
.v16-tag {
  position: absolute; z-index: 10; padding: 8px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.v16-tag--yellow { background: var(--yellow); color: #000; }
.v16-tag--purple { background: var(--purple); color: #fff; }
.v16-tag--white  { background: #fff; color: #000; }

.v16-tag:nth-of-type(1) { top: 20%; left: 55%; }
.v16-tag:nth-of-type(2) { top: 40%; left: 5%; }
.v16-tag:nth-of-type(3) { top: 55%; right: 10%; }
.v16-tag:nth-of-type(4) { top: 70%; left: 20%; }

/* Location pin */
.v16-pin { position: absolute; top: 10%; left: 40%; z-index: 10; font-size: 22px; }

/* Bottom Content */
.v16-splash-bottom { position: relative; z-index: 10; padding-bottom: 50px; }
.v16-match-badge {
  display: inline-block; background: rgba(0, 210, 160, 0.15); border: 1px solid var(--green);
  color: var(--green); font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: 100px;
  margin-bottom: 20px;
}
.v16-h1 { font-size: 36px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.5px; }
.v16-h1 em { font-style: italic; }
.v16-splash-p { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }

.v16-btn-start {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: #000; padding: 16px 28px; border-radius: 16px;
  font-size: 16px; font-weight: 800; box-shadow: 0 10px 25px rgba(255,255,255,0.1);
  transition: 0.2s;
}
.v16-btn-start:hover { transform: translateY(-2px); }
.v16-btn-heart { width: 40px; height: 40px; background: var(--purple); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 18px; }
.v16-btn-arrows { font-size: 18px; color: var(--text-muted); letter-spacing: -2px; }

/* ═══════════════════════════════════════
   2. MAIN APP
   ═══════════════════════════════════════ */
.v16-main { padding: 40px 0; }
.v16-wrap { max-width: 500px; margin: 0 auto; }
.v16-frame { background: #111118; border-radius: 40px; padding: 24px 20px 40px; border: 1px solid rgba(255,255,255,0.04); }

/* Header */
.v16-app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.v16-user-hi { display: flex; align-items: center; gap: 10px; }
.v16-user-av { width: 44px; height: 44px; border-radius: 50%; background: var(--purple); display: flex; justify-content: center; align-items: center; font-size: 20px; }
.v16-hi-txt { font-size: 16px; font-weight: 700; }
.v16-hi-loc { font-size: 12px; color: var(--green); display: flex; align-items: center; gap: 4px; }
.v16-search-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: center; align-items: center; }

/* Stories Row */
.v16-stories { display: flex; gap: 16px; overflow-x: auto; padding: 4px; margin-bottom: 32px; scrollbar-width: none; }
.v16-stories::-webkit-scrollbar { display: none; }
.v16-story-item { flex-shrink: 0; text-align: center; }
.v16-story-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--yellow));
  padding: 3px; margin-bottom: 6px;
}
.v16-story-ring--add { background: rgba(255,255,255,0.1); border: 2px dashed rgba(255,255,255,0.2); padding: 0; display: flex; justify-content: center; align-items: center; font-size: 24px; color: var(--text-muted); }
.v16-story-img { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid var(--bg-dark); }
.v16-story-name { font-size: 11px; font-weight: 600; color: var(--text-muted); }

/* Carousel — Purple Gradient Card */
.v16-deck-wrap { position: relative; height: 440px; margin-bottom: 40px; }
#lp-hero-sizer { width: 100%; height: 100%; position: relative; }
.v16-deck-inner { position: absolute; inset: 0; }
.v16-deck-link { position: absolute; inset: 0; z-index: 20; }
.v16-showcase { position: absolute; inset: 0; z-index: 1; }

.heart {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 0%, #A29BFE 50%, var(--yellow) 100%);
  box-shadow: 0 20px 50px var(--purple-glow);
  transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.heart__img { width: 100%; height: 100%; object-fit: cover; }
.heart[data-pos="front"] { transform: scale(1); opacity: 1; z-index: 5; }
.heart[data-pos="back"]  { transform: translate(15px, 10px) scale(0.93) rotate(3deg); opacity: 0.5; z-index: 4; }

/* Card Info Overlay */
.v16-card-ui { position: absolute; inset: 0; pointer-events: none; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.v16-card-glass {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.v16-card-active { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.v16-card-active::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.v16-card-name { font-size: 22px; font-weight: 800; }
.v16-card-loc { font-size: 13px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 4px; }
.v16-card-arrow { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; }

/* Actions */
.v16-actions { display: flex; justify-content: center; gap: 20px; margin-bottom: 44px; }
.v16-act { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.v16-act:hover { background: rgba(255,255,255,0.12); transform: scale(1.05); }
.v16-act--like { background: var(--purple); border-color: var(--purple); box-shadow: 0 10px 25px var(--purple-glow); }

/* Grid */
.v16-section { margin-bottom: 50px; }
.v16-h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.v16-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.pcard { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 0.75; background: #1A1A24; }
.pcard__media { position: absolute; inset: 0; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%); color: #fff; }
.pcard__name { font-size: 14px; font-weight: 800; }
.pcard__meta { font-size: 11px; color: var(--text-muted); }
.pcard__age { position: absolute; top: 12px; right: 12px; background: var(--purple); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 100px; box-shadow: 0 4px 12px var(--purple-glow); }
.pcard__heart, .pcard__pin { display: none; }

/* Form */
.v16-form-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 32px; padding: 30px 24px; }
.v16-lbl { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.v16-select { width: 100%; appearance: none; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; background: rgba(255,255,255,0.05); padding: 16px; font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; outline: none; }
.v16-select option { background: #222; }
.v16-btn-submit { width: 100%; background: var(--purple); color: #fff; padding: 18px; border-radius: 100px; font-size: 16px; font-weight: 800; margin-top: 24px; box-shadow: 0 10px 25px var(--purple-glow); transition: 0.2s; }
.v16-btn-submit:hover { transform: translateY(-2px); }
.v16-warn { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* Bottom Nav */
.v16-bottom-nav {
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 14px 0; margin-top: 30px;
}
.v16-bnav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--text-muted); }
.v16-bnav-item--active { color: var(--purple); }
.v16-bnav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); margin-top: 2px; }
.v16-bnav-item svg { width: 22px; height: 22px; }

.v16-footer { text-align: center; padding: 30px 0; font-size: 12px; color: var(--text-muted); opacity: 0.4; }

@media (max-width: 600px) {
  .v16-h1 { font-size: 30px; }
  .v16-deck-wrap { height: 380px; }
}
