:root {
  --coral-text: #FF5A79;
  --pink-light: #FF9FB1;
  --bg-white: #FFFFFF;
  --text-dark: #2D2D2D;
  --text-muted: #8E8D94;
  --font-heading: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-white);
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font-family: inherit; cursor: pointer; outline: none; }
.v10-body h1,
.v10-body h2,
.v10-body h3 {
  font-family: var(--font-heading);
  font-weight: 900;
}

.v10-wrap { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 24px; }

/* 1. FLOATING SPLASH SCREEN (Left Screen logic from user req) */
.v10-splash {
  position: relative; height: 100vh; min-height: 600px;
  background: var(--bg-white); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.v10-splash-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.v10-shape { position: absolute; border-radius: 50%; }
.v10-shape-1 {
  width: 150vw; height: 150vw; max-width: 1200px; max-height: 1200px;
  top: -40%; left: -20%; background: linear-gradient(135deg, #FF6B8B, #FFA3B4);
}
.v10-shape-2 {
  width: 60vw; height: 60vw; max-width: 500px; max-height: 500px;
  bottom: 20%; right: -20%; background: linear-gradient(135deg, #FFA3B4, #FFE0E6); opacity: 0.5;
}

.v10-floating-container { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.v10-bubble {
  position: absolute; left: var(--x); top: var(--y);
  border-radius: 50%; background-color: #fff; box-shadow: 0 10px 20px rgba(255, 107, 139, 0.4);
  display: flex; justify-content: center; align-items: center;
  animation: v10float 3s ease-in-out infinite alternate; animation-delay: var(--d);
  pointer-events: auto; background-size: cover; background-position: center;
  border: 4px solid #fff;
}
.v10-bubble--img { cursor: pointer; transition: transform 0.2s; }
.v10-bubble--img:hover { transform: scale(1.1) !important; animation-play-state: paused; }
.v10-bubble--emoji { font-size: 30px; }

@keyframes v10float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

.v10-splash-content { position: relative; z-index: 10; padding: 40px 30px 80px; }
.v10-h1 { font-family: var(--font-heading); font-size: 42px; font-weight: 900; color: var(--coral-text); line-height: 1.08; letter-spacing: -0.05em; margin-bottom: 20px; }
.v10-h1 span { font-family: var(--font-heading); font-weight: 900; font-size: 31px; color: var(--text-dark); letter-spacing: -0.055em; }
.v10-join-btn {
  display: inline-block; font-size: 24px; font-weight: 700; color: var(--coral-text);
  transition: transform 0.2s;
}
.v10-join-btn:hover { transform: translateX(10px); }

/* 2. MAIN APP SECTION (Below splash, behaves like standard page) */
.v10-main { background: #fafafa; position: relative; z-index: 20; padding: 40px 0; border-radius: 40px 40px 0 0; margin-top: -40px; box-shadow: 0 -10px 30px rgba(0,0,0,0.05); }

.v10-app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.v10-app-header h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 900; letter-spacing: -0.04em; color: var(--text-dark); }

/* The Circular Carousel Deck - Forces Perfect Circle! */
.v10-deck-wrap { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1/1; margin: 0 auto 50px; }
#lp-hero-sizer { width: 100%; height: 100%; position: relative; }
.v10-deck-inner { position: absolute; inset: 0; }
.v10-deck-link { position: absolute; inset: 0; z-index: 20; }
.v10-showcase { position: absolute; inset: 0; z-index: 1; }

.heart {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  border-radius: 50%; overflow: hidden; background: #ffe0e6;
  border: 12px solid #fff; box-shadow: inset 0 0 0 4px rgba(255,107,139,0.2), 0 20px 40px rgba(255, 107, 139, 0.2);
  will-change: transform, opacity; transition: transform 0.5s, opacity 0.5s;
}
/* Ensure the image fills the perfect circle without distortion */
.heart__img { width: 100%; height: 100%; object-fit: cover; }
.heart--empty { opacity: 0.2; }

.heart[data-pos="front"] { transform: translate3d(0, 0, 0) scale(1) rotate(0); opacity: 1; z-index: 5; }
.heart[data-pos="back"] { transform: translate3d(0, 20px, 0) scale(0.95) rotate(0); opacity: 0; z-index: 4; display: none; }
.heart[data-pos="left1"] { transform: translate3d(-30px, 15px, 0) scale(0.9) rotate(-10deg); opacity: 0.5; z-index: 3; }
.heart[data-pos="left2"], .heart[data-pos="left3"] { opacity: 0; }
.heart[data-pos="next"] { transform: translate3d(50px, -20px, 0) scale(0.9) rotate(15deg); opacity: 0; }

/* Deck UI Overlays matching screenshot #2 */
.v10-card-ui { position: absolute; inset: -15px; pointer-events: none; z-index: 6; }
.v10-circle-pin {
  position: absolute; top: 0; left: 0; color: #333; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 4px; z-index: 10;
}
.v10-card-info {
  position: absolute; bottom: 20px; left: 10px; background: #FFF;
  padding: 10px 16px; border-radius: 20px; font-size: 14px; font-weight: 700; color: var(--text-dark);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08); z-index: 10;
  display: flex; align-items: center; gap: 6px;
}
.v10-online { display: inline-block; width: 8px; height: 8px; background: #00E676; border-radius: 50%; }

/* Bottom Action Buttons */
.v10-deck-actions { display: flex; justify-content: center; gap: 24px; margin-bottom: 40px; }
.v10-action {
  width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 24px; border: 4px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.2s;
}
.v10-action:hover { transform: scale(1.05); }
.v10-action--x { background: #2D2D2D; color: #fff; }
.v10-action--heart { background: linear-gradient(135deg, #FF6B8B, #FF456D); color: #fff; box-shadow: 0 10px 20px rgba(255, 107, 139, 0.4); }
.v10-action--heart svg { width: 30px; height: 30px; }

/* 3. GRIDS & TEXTS */
.v10-section { margin-bottom: 60px; }
.v10-h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 900; letter-spacing: -0.045em; margin-bottom: 20px; color: var(--text-dark); }

.v10-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }

/* Give cards the circular look to match the vibe */
.pcard { position: relative; border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.04); transition: transform 0.2s; padding: 8px; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.pcard__media { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 12px; position: relative; } /* CIRCULAR AVATARS in grid! */
.pcard__img { width: 100%; height: 100%; object-fit: cover; }
.pcard__img--empty { opacity: 0.1; }

.pcard__body { text-align: center; }
.pcard__name { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.pcard__meta { font-size: 11px; color: var(--text-muted); }
.pcard__age {
  position: absolute; bottom: 10px; right: 10px; background: #FF5A79; color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; border: 2px solid #fff;
}
.pcard__heart, .pcard__pin { display: none; }
.v10-error { text-align: center; color: var(--coral-text); font-weight: bold; padding: 20px; border-radius: 12px; background: rgba(255, 90, 121, 0.1); }

/* 4. SEARCH FORM */
.v10-form-card { background: #fee8ed; border-radius: 30px; padding: 40px; box-shadow: inset 0 0 0 4px #fff; }
.v10-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.v10-lbl { display: block; font-size: 13px; font-weight: 700; color: #555; margin-bottom: 8px; }
.v10-select {
  width: 100%; border: 2px solid #fff; border-radius: 16px; background: #fff;
  padding: 14px 16px; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--text-dark); outline: none; transition: 0.2s;
  box-shadow: 0 5px 15px rgba(255, 107, 139, 0.05);
}
.v10-select:focus { border-color: var(--coral-text); }

.v10-age-txt { display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 12px; }
.v10-age-txt strong { color: var(--coral-text); font-size: 16px; font-weight: 800; }

.v10-slider { position: relative; height: 24px; display: flex; align-items: center; }
.v10-slider__track { position: absolute; left: 0; right: 0; height: 6px; background: #fff; border-radius: 3px; }
.v10-slider__track::after {
  content: ''; position: absolute; top: 0; bottom: 0; background: var(--coral-text); border-radius: 3px;
  left: calc(var(--min-p, 0) * 1%); width: calc((var(--max-p, 100) - var(--min-p, 0)) * 1%);
}
.v10-slider__input { position: absolute; width: 100%; appearance: none; background: transparent; pointer-events: none; }
.v10-slider__input::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--coral-text); box-shadow: 0 4px 8px rgba(255, 107, 139, 0.3); pointer-events: auto; cursor: pointer;
}

.v10-btn-submit {
  width: 100%; display: block; background: #2D2D2D; color: #fff;
  font-size: 16px; font-weight: 700; padding: 18px; border-radius: 100px;
  transition: 0.2s; margin-top: 30px; text-align: center;
}
.v10-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.v10-warn { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 16px; }

/* 5. TEXTS */
.v10-stories-list { display: flex; flex-direction: column; gap: 16px; }
.v10-story {
  display: flex; gap: 16px; align-items: center; background: #fff; padding: 20px; border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}
.v10-story-ico { font-size: 32px; width: 60px; height: 60px; border-radius: 50%; background: #fee8ed; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.v10-story strong { display: block; font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.v10-story p { font-size: 13px; color: var(--text-muted); }

.v10-footer { text-align: center; padding: 40px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.v10-f-logo { font-size: 18px; font-family: var(--font-heading); font-weight: 900; letter-spacing: -0.04em; color: #bbb; margin-bottom: 12px; }
.v10-f-links { display: flex; justify-content: center; gap: 24px; }
.v10-f-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); }

@media (max-width: 600px) {
  .v10-splash { padding: 30px 20px 60px; }
  .v10-h1 { font-size: 34px; }
  .v10-h1 span { font-size: 27px; }
  .v10-deck-wrap { height: 320px; }
  .v10-form-row { grid-template-columns: 1fr; gap: 0; }
}
