:root {
  --bg-deep: #0D0B2E;
  --bg-card: #13112E;
  --orange: #FF6B35;
  --orange-dark: #E84D1A;
  --amber: #FFB347;
  --yellow-blob: #F4C542;
  --green-blob: #7EC8A0;
  --grad-warm: linear-gradient(135deg, #FF6B35 0%, #E84D1A 50%, #8B1A1A 100%);
  --grad-sunset: linear-gradient(180deg, #FF6B35 0%, #C0392B 40%, #4A1942 100%);
  --text-white: #FFFFFF;
  --text-muted: #7B7BA0;
  --font: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-deep); 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. EXPERT SPLASH — Blob Photo Grid
   ═══════════════════════════════════════ */
.v17-splash {
  min-height: 100vh;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Blob organic grid */
.v17-blob-grid {
  flex: 1;
  position: relative;
  padding: 60px 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.2fr 0.8fr;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.v17-blob-cell {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 120px;
}

/* Organic blob shapes behind photos */
.v17-blob-cell::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: 0;
}

.v17-blob-cell:nth-child(1) { background-color: var(--green-blob); grid-row: 1; grid-column: 1; border-radius: 30px 30px 60px 30px; }
.v17-blob-cell:nth-child(2) { background-color: var(--yellow-blob); grid-row: 1 / 3; grid-column: 2; border-radius: 30px 30px 30px 60px; }
.v17-blob-cell:nth-child(3) { background-color: var(--amber); grid-row: 2; grid-column: 1; border-radius: 60px 30px 30px 30px; }
.v17-blob-cell:nth-child(4) { background-color: var(--orange); grid-row: 3; grid-column: 1; border-radius: 30px 60px 30px 30px; }
.v17-blob-cell:nth-child(5) { background-color: var(--green-blob); grid-row: 3; grid-column: 2; border-radius: 30px 30px 30px 60px; }

.v17-blob-cell img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Name overlay on center blob */
.v17-blob-name {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 10px 24px; border-radius: 20px;
  font-size: 14px; font-weight: 700;
  white-space: nowrap; z-index: 10;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Floating Bottom Nav on Splash */
.v17-splash-nav {
  position: relative; z-index: 20;
  display: flex; justify-content: center; gap: 6px;
  padding: 16px 0 40px;
}

.v17-snav-item {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255,255,255,0.08);
  display: flex; justify-content: center; align-items: center;
  backdrop-filter: blur(10px);
  transition: 0.2s;
}
.v17-snav-item--active { background: var(--text-white); }
.v17-snav-item--active svg { color: var(--bg-deep); }
.v17-snav-item svg { width: 22px; height: 22px; color: rgba(255,255,255,0.5); }
.v17-snav-item--avatar {
  background-size: cover; background-position: center;
  border: 2px solid rgba(255,255,255,0.3);
}


/* ═══════════════════════════════════════
   2. MAIN APP — Sunset Gradient
   ═══════════════════════════════════════ */
.v17-main { padding: 40px 0; }
.v17-wrap { max-width: 500px; margin: 0 auto; }

.v17-frame {
  border-radius: 44px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Orange Gradient Hero Section */
.v17-hero-section {
  background: var(--grad-sunset);
  padding: 32px 24px 40px;
  position: relative;
}

.v17-hero-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.v17-hero-user { display: flex; align-items: center; gap: 10px; }
.v17-hero-av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); background-size: cover; background-position: center; }
.v17-hero-uname { font-size: 14px; font-weight: 700; }
.v17-hero-uloc { font-size: 11px; opacity: 0.7; }
.v17-hero-chevron { font-size: 18px; opacity: 0.7; }

.v17-hero-typo { margin-bottom: 40px; }
.v17-hero-h1 { font-size: 36px; font-weight: 800; line-height: 1.05; letter-spacing: -1px; }
.v17-hero-h1 em { font-style: italic; color: var(--amber); }

/* Featured Profile Circle */
.v17-featured {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 30px;
}

.v17-feat-ring {
  width: 200px; height: 200px; border-radius: 50%;
  padding: 6px;
  background: conic-gradient(var(--orange), var(--amber), var(--orange));
  margin-bottom: 12px;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.v17-feat-img {
  width: 100%; height: 100%; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 4px solid var(--bg-deep);
}

.v17-feat-name {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
}

/* Waveform (Decorative) */
.v17-wave-wrap {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; margin-bottom: 20px;
}
.v17-wave-time { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.v17-wave-bars {
  flex: 1; display: flex; align-items: center; gap: 2px; height: 30px;
}
.v17-wave-bar {
  flex: 1; background: rgba(255,255,255,0.3); border-radius: 2px;
  animation: v17-pulse 1.5s ease-in-out infinite alternate;
}
.v17-wave-bar:nth-child(odd) { animation-delay: 0.2s; }
.v17-wave-bar:nth-child(3n) { animation-delay: 0.5s; }

@keyframes v17-pulse {
  0% { height: 30%; }
  100% { height: 100%; }
}

/* Engagement Row */
.v17-engage {
  display: flex; align-items: center; gap: 20px; padding: 0 20px 10px;
}

.v17-engage-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 10px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
}
.v17-engage-btn--pause { background: var(--text-white); color: var(--bg-deep); }

/* ═══════════════════════════════════════
   3. DARK CONTENT SECTION
   ═══════════════════════════════════════ */
.v17-content { background: var(--bg-card); padding: 32px 20px 40px; }

.v17-section { margin-bottom: 50px; }
.v17-h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

/* Carousel Deck */
.v17-deck-wrap { position: relative; height: 420px; margin-bottom: 40px; }
#lp-hero-sizer { width: 100%; height: 100%; position: relative; }
.v17-deck-inner { position: absolute; inset: 0; }
.v17-deck-link { position: absolute; inset: 0; z-index: 20; }
.v17-showcase { position: absolute; inset: 0; z-index: 1; }

.heart {
  position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
  background: #222; box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  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; }

.v17-card-ui { position: absolute; inset: 0; pointer-events: none; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.v17-card-glass {
  background: rgba(0,0,0,0.4); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 16px 20px;
}
.v17-card-name { font-size: 20px; font-weight: 800; }
.v17-card-loc { font-size: 12px; color: var(--amber); display: flex; align-items: center; gap: 4px; margin-top: 4px; }

/* Actions */
.v17-actions { display: flex; justify-content: center; gap: 20px; margin-bottom: 44px; }
.v17-act { width: 56px; height: 56px; 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; transition: 0.2s; }
.v17-act:hover { background: rgba(255,255,255,0.12); }
.v17-act--like { background: var(--orange); border-color: var(--orange); box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3); }
.v17-act svg { width: 24px; height: 24px; }

/* Grid */
.v17-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.pcard { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 0.75; background: #1E1E3A; }
.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(--orange); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 100px; }
.pcard__heart, .pcard__pin { display: none; }

/* Form */
.v17-form-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 32px; padding: 30px 24px; }
.v17-lbl { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.v17-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; }
.v17-select option { background: #222; }
.v17-btn-submit { width: 100%; background: var(--grad-warm); color: #fff; padding: 18px; border-radius: 100px; font-size: 16px; font-weight: 800; margin-top: 24px; box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3); transition: 0.2s; border: none; }
.v17-btn-submit:hover { transform: translateY(-2px); }
.v17-warn { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

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

@media (max-width: 600px) {
  .v17-hero-h1 { font-size: 30px; }
  .v17-deck-wrap { height: 380px; }
  .v17-feat-ring { width: 160px; height: 160px; }
}
