:root {
  --canvas: #faf9fe;
  --surface: #ffffff;
  --surface-soft: #f3f0fc;
  --ink: #131126;
  --ink-muted: #5d5875;
  --violet: #6d28d9;
  --violet-bright: #7c3aed;
  --magenta: #ec4899;
  --teal: #06b6d4;
  --mint: #10b981;
  --gold: #f59e0b;
  --sticky-bg: #e9e4ff;
  --border: rgba(19, 17, 38, 0.08);
  --shadow-card: 0 22px 54px rgba(38, 22, 92, 0.1);
  --shadow-soft: 0 12px 30px rgba(38, 22, 92, 0.07);
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 16%, rgba(124, 58, 237, 0.09), transparent 40%),
    radial-gradient(circle at 86% 14%, rgba(236, 72, 153, 0.09), transparent 36%),
    radial-gradient(circle at 82% 84%, rgba(6, 182, 212, 0.08), transparent 40%),
    var(--canvas);
}

button,
a {
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.06) 45%, transparent 72%);
  transform: translate3d(-50%, -50%, 0);
  filter: blur(28px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
}

/* =========================================================
   FLOATING TOP NAV
========================================================= */
.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(19, 17, 38, 0.08);
  box-shadow: 0 8px 28px rgba(32, 20, 74, 0.07);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(32, 20, 74, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
  filter: drop-shadow(0 2px 6px rgba(19, 17, 38, 0.08));
}

.brand-logo--integration {
  height: 44px;
  transform: rotate(-1.5deg);
}

.brand-logo--cloture {
  height: 48px;
  transform: rotate(2deg);
}

.brand:hover .brand-logo--integration {
  transform: rotate(0deg) scale(1.06);
}

.brand:hover .brand-logo--cloture {
  transform: rotate(0deg) scale(1.06);
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: rgba(19, 17, 38, 0.14);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(125deg, var(--violet-bright), var(--magenta));
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.32);
}

/* =========================================================
   HERO STAGE (INSPIRED BY REFERENCE + DYNAMIC PARALLAX)
========================================================= */
.hero-stage {
  position: relative;
  min-height: 100vh;
  padding: 118px 24px 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(rgba(109, 40, 217, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: blobDrift 14s ease-in-out infinite alternate;
}

.blob--violet {
  width: 440px;
  height: 440px;
  background: rgba(167, 139, 250, 0.28);
  bottom: -100px;
  left: -80px;
}

.blob--pink {
  width: 400px;
  height: 400px;
  background: rgba(244, 114, 182, 0.24);
  top: -70px;
  right: -60px;
  animation-delay: -5s;
}

.blob--teal {
  width: 300px;
  height: 300px;
  background: rgba(34, 211, 238, 0.22);
  bottom: -60px;
  right: 12%;
  animation-delay: -8s;
}

@keyframes blobDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(24px, -20px, 0) scale(1.08); }
}

/* CENTER HERO COPY */
.hero-center {
  position: relative;
  z-index: 5;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emblem {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 18px 40px rgba(109, 40, 217, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  animation: emblemFloat 4.5s ease-in-out infinite;
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

.hero-title {
  font-size: clamp(2.9rem, 6.2vw, 4.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.title-highlight {
  background: linear-gradient(105deg, var(--violet-bright) 10%, var(--magenta) 60%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 4px;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 40ch;
  font-weight: 500;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
  background: linear-gradient(125deg, var(--violet-bright), var(--magenta));
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.28);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.34);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 17, 38, 0.1);
  box-shadow: 0 8px 20px rgba(32, 20, 74, 0.05);
  transition: transform 0.22s ease, background 0.22s ease;
}

.secondary-cta:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

/* =========================================================
   4 CORNER FLOATING INTERACTIVE CLUSTERS (REFERENCE LAYOUT)
========================================================= */
.float-cluster {
  position: absolute;
  z-index: 4;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.float-cluster--tl {
  top: clamp(92px, 12vh, 130px);
  left: clamp(20px, 4.5vw, 72px);
}

.float-cluster--tr {
  top: clamp(96px, 13vh, 136px);
  right: clamp(20px, 4.5vw, 68px);
}

.float-cluster--bl {
  bottom: clamp(28px, 6vh, 64px);
  left: clamp(20px, 4vw, 64px);
}

.float-cluster--br {
  bottom: clamp(28px, 6vh, 64px);
  right: clamp(20px, 4.5vw, 72px);
}

/* Sticky Note + Squircle Tile */
.sticky-note {
  position: relative;
  width: 214px;
  padding: 24px 18px 20px;
  border-radius: 6px;
  background: linear-gradient(155deg, #ede9fe, #fce7f3);
  box-shadow: 0 18px 38px rgba(76, 29, 149, 0.14);
  transform: rotate(-4deg);
  animation: gentleBobA 6s ease-in-out infinite;
}

.sticky-note p {
  font-family: var(--font-hand);
  font-size: 1.48rem;
  line-height: 1.12;
  color: #261b47;
  font-weight: 700;
}

.sticky-underline {
  display: block;
  width: 72%;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-bright), var(--magenta));
  opacity: 0.75;
}

.paperclip {
  position: absolute;
  top: -12px;
  left: 52%;
  width: 14px;
  height: 28px;
  border: 2.5px solid #8b5cf6;
  border-radius: 999px;
  transform: rotate(10deg);
}

.paperclip::after {
  content: '';
  position: absolute;
  inset: 4px 2px 3px;
  border: 2px solid #8b5cf6;
  border-radius: 999px;
}

.squircle-tile--camera {
  position: relative;
  margin: -18px 0 0 26px;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 18px 36px rgba(76, 29, 149, 0.14);
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
}

.spark-lines {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.spark-lines--tr {
  top: -10px;
  right: -14px;
  background:
    linear-gradient(45deg, transparent 42%, var(--magenta) 44%, var(--magenta) 56%, transparent 58%),
    linear-gradient(12deg, transparent 44%, var(--violet-bright) 46%, var(--violet-bright) 54%, transparent 56%);
}

.spark-lines--corner {
  top: -18px;
  right: -10px;
  width: 26px;
  height: 26px;
  border-top: 2.5px solid var(--magenta);
  border-right: 2.5px solid var(--teal);
  border-radius: 0 10px 0 0;
  transform: rotate(12deg);
}

.dashed-arrow {
  position: absolute;
  top: 72px;
  left: 190px;
  width: 145px;
  pointer-events: none;
}

@keyframes gentleBobA {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-7px); }
}

/* Shared Floating Card Style */
.floating-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  border: 1px solid rgba(19, 17, 38, 0.08);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

/* Top-Right Upload Status Card */
.upload-status-card {
  width: 296px;
  transform: rotate(3deg);
  animation: gentleBobB 6.8s ease-in-out infinite;
}

@keyframes gentleBobB {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-8px); }
}

.cloud-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--violet-bright));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.34);
  border: 3px solid var(--surface);
}

.card-status-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.upload-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-thumb {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.file-info strong {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-info span {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.upload-pct {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--violet);
}

.progress-track {
  margin-top: 12px;
  height: 6px;
  border-radius: 999px;
  background: #ede9fe;
  overflow: hidden;
}

.progress-fill {
  width: 82%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-bright), var(--magenta), var(--teal));
  animation: shimmerSlide 2.6s ease-in-out infinite alternate;
}

@keyframes shimmerSlide {
  from { width: 72%; }
  to { width: 96%; }
}

.card-footer-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img,
.avatar-more {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -7px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-more {
  background: #f3e8ff;
  color: var(--violet);
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.mini-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--violet);
  background: #f3e8ff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-pill-btn:hover {
  background: var(--violet-bright);
  color: #fff;
  transform: scale(1.04);
}

/* Bottom-Left Recent Moments Card */
.recent-card {
  width: 288px;
  transform: rotate(-3.5deg);
  animation: gentleBobC 7.2s ease-in-out infinite;
}

@keyframes gentleBobC {
  0%, 100% { transform: rotate(-3.5deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-6px); }
}

.recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.recent-head h3 {
  font-size: 0.92rem;
  font-weight: 800;
}

.view-all-link {
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--magenta);
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 12px;
  cursor: pointer;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background 0.2s ease;
}

.recent-row:hover {
  background: var(--surface-soft);
}

.recent-thumb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-meta {
  flex: 1;
  min-width: 0;
}

.recent-meta strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-meta span {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.recent-heart {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--magenta);
  background: rgba(236, 72, 153, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
}

.recent-empty {
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding: 8px 4px;
}

/* Bottom-Right Prize & Emotion Tiles Card */
.prize-tiles-card {
  width: 274px;
  transform: rotate(3.5deg);
  animation: gentleBobD 6.5s ease-in-out infinite;
}

@keyframes gentleBobD {
  0%, 100% { transform: rotate(3.5deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-7px); }
}

.tiles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.trophy-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fef3c7;
  font-size: 0.82rem;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tile-item {
  border: 0;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-soft);
  box-shadow: 0 6px 14px rgba(19, 17, 38, 0.08);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile-item:hover {
  transform: translateY(-4px) scale(1.06);
}

.tile-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-item--prize {
  outline: 2px solid rgba(245, 158, 11, 0.55);
}

/* =========================================================
   UNIQUE DYNAMIC PHOTO WALL (PURE PICS, MINIMAL DETAILS)
========================================================= */
.moments-section {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* IMMERSIVE SCROLL & LIKE FEED */
.scroll-feed {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.scroll-feed.is-visible {
  display: flex;
}

.feed-card {
  width: min(640px, 100%);
  border-radius: 30px;
  padding: 12px 12px 16px;
  background: var(--surface);
  border: 1px solid rgba(19, 17, 38, 0.07);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(76, 29, 149, 0.14);
}

.feed-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-soft);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.feed-media img {
  width: 100%;
  max-height: 76vh;
  object-fit: cover;
  display: block;
}

.feed-rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(19, 17, 38, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.feed-rank-badge--1 {
  background: linear-gradient(125deg, #f59e0b, #ec4899);
}

.double-tap-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 4.5rem;
  color: #fff;
  text-shadow: 0 12px 34px rgba(236, 72, 153, 0.65);
  pointer-events: none;
  opacity: 0;
}

.double-tap-heart.is-bursting {
  animation: heartBurst 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heartBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
  65% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -56%) scale(1.3); }
}

.feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px 2px;
}

.feed-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.feed-author {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-vibe {
  padding: 4px 11px;
  border-radius: 999px;
  background: #f3e8ff;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feed-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(236, 72, 153, 0.24);
  background: rgba(236, 72, 153, 0.08);
  color: var(--magenta);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, color 0.2s ease;
}

.feed-like-btn:hover {
  transform: scale(1.06);
}

.feed-like-btn.is-liked {
  background: linear-gradient(125deg, var(--magenta), var(--violet-bright));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.28);
}

.feed-empty-state {
  text-align: center;
  padding: 56px 24px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px dashed rgba(124, 58, 237, 0.25);
  width: min(560px, 100%);
  color: var(--ink-muted);
}

.feed-empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

/* =========================================================
   SHARE YOUR BEST MOMENT — DROP STUDIO
========================================================= */
.share-section {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 36px 24px 86px;
}

.share-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 42px);
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid rgba(19, 17, 38, 0.08);
  box-shadow: 0 28px 70px rgba(38, 22, 92, 0.1);
}

.share-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.14), rgba(124, 58, 237, 0.08) 50%, transparent 72%);
  pointer-events: none;
}

.dropzone {
  position: relative;
  min-height: 370px;
  border-radius: 24px;
  background: linear-gradient(155deg, #f8f6ff, #fdf2f8);
  border: 2px dashed rgba(124, 58, 237, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.dropzone:hover,
.dropzone.is-dragover {
  border-color: var(--magenta);
  background: linear-gradient(155deg, #f3e8ff, #fce7f3);
  transform: scale(1.01);
}

.dropzone-empty {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.drop-icon-tile {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--violet-bright);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.14);
  margin-bottom: 6px;
}

.dropzone-empty strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.dropzone-empty span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.dropzone-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.dropzone-preview img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  max-height: 440px;
  object-fit: cover;
}

.replace-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(19, 17, 38, 0.12);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.replace-btn:hover {
  background: var(--violet-bright);
  color: #fff;
}

.share-form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.share-form-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-row label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.opt-label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.form-row input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(19, 17, 38, 0.1);
  background: #faf9fe;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-row input:focus {
  outline: none;
  border-color: var(--violet-bright);
  background: #fff;
}

.form-msg {
  min-height: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--magenta);
}

.form-msg.is-success {
  color: var(--mint);
}

.send-btn {
  margin-top: 2px;
  width: 100%;
  padding: 15px 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(125deg, var(--violet-bright), var(--magenta));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.34);
}

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(19, 17, 38, 0.84);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lb-card {
  max-width: min(860px, 90vw);
  max-height: 88vh;
  background: var(--surface);
  padding: 12px;
  border-radius: 26px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lb-card img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  object-fit: contain;
}

.lb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  gap: 12px;
}

.lb-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-vibe {
  padding: 4px 12px;
  border-radius: 999px;
  background: #f3e8ff;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 700;
}

.lb-heart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.25);
  background: rgba(236, 72, 153, 0.08);
  color: var(--magenta);
  font-weight: 800;
  cursor: pointer;
}

.lb-heart.is-liked {
  background: var(--magenta);
  color: #fff;
}

.lb-close,
.lb-nav {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.lb-close { top: 22px; right: 22px; font-size: 1rem; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   ENTRANCE ANIMATIONS
========================================================= */
.reveal-pop {
  opacity: 0;
  transform: scale(0.86);
  animation: revealPop 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealPop {
  to { opacity: 1; transform: scale(1); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1180px) {
  .float-cluster--tl { left: 16px; transform-origin: top left; }
  .float-cluster--tr { right: 16px; transform-origin: top right; }
  .float-cluster--bl { left: 16px; transform-origin: bottom left; }
  .float-cluster--br { right: 16px; transform-origin: bottom right; }
  .sticky-note { width: 185px; padding: 20px 15px 16px; }
  .upload-status-card { width: 248px; }
  .recent-card { width: 244px; }
  .prize-tiles-card { width: 236px; }
  .dashed-arrow { display: none; }
}

@media (max-width: 980px) {
  .hero-stage {
    flex-direction: column;
    gap: 28px;
    padding-top: 108px;
    min-height: auto;
  }

  .hero-center {
    order: 1;
  }

  .float-cluster {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .float-cluster--tl,
  .float-cluster--br {
    display: none;
  }

  .float-cluster--tr {
    order: 2;
  }

  .float-cluster--bl {
    order: 3;
  }

  .share-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cursor-glow {
    display: none;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 6px 8px 6px 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand-logo--integration {
    height: 32px;
  }
  .brand-logo--cloture {
    height: 35px;
  }
  .brand-divider {
    height: 20px;
  }
  .nav-cta {
    padding: 8px 13px;
    font-size: 0.78rem;
  }

  .hero-stage {
    padding: 96px 16px 34px;
    gap: 20px;
  }
  .hero-emblem {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(2.35rem, 10.5vw, 3.1rem);
  }
  .hero-subtitle {
    margin-top: 14px;
    font-size: 0.96rem;
    padding: 0 6px;
  }
  .hero-actions {
    width: 100%;
    margin-top: 22px;
    flex-direction: column;
    gap: 10px;
  }
  .primary-cta,
  .secondary-cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
  }

  .float-cluster--tr,
  .float-cluster--bl {
    width: 100%;
    max-width: 390px;
  }
  .upload-status-card,
  .recent-card {
    width: 100%;
    transform: none;
    animation: none;
    padding: 15px;
  }
  .cloud-badge {
    top: -14px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .moments-section {
    padding: 36px 14px 44px;
  }
  .section-head {
    margin-bottom: 20px;
  }
  .section-title {
    font-size: 1.85rem;
  }

  .scroll-feed {
    gap: 20px;
  }
  .feed-card {
    border-radius: 22px;
    padding: 8px 8px 12px;
  }
  .feed-media {
    border-radius: 16px;
  }
  .feed-media img {
    max-height: 68vh;
  }
  .feed-footer {
    padding: 10px 4px 2px;
  }
  .feed-author {
    font-size: 0.88rem;
  }
  .feed-vibe {
    font-size: 0.7rem;
    padding: 3px 9px;
  }
  .feed-like-btn {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 0.86rem;
  }

  .share-section {
    padding: 20px 14px 56px;
  }
  .share-shell {
    padding: 18px;
    border-radius: 24px;
    gap: 20px;
  }
  .dropzone {
    min-height: 240px;
    border-radius: 18px;
  }
  .dropzone-empty {
    padding: 22px 16px;
  }
  .dropzone-preview img {
    min-height: 240px;
    max-height: 340px;
  }
  .share-form {
    gap: 14px;
  }
  .send-btn {
    min-height: 50px;
  }

  .lightbox {
    padding: 12px;
  }
  .lb-card {
    width: 100%;
    max-width: 100%;
    max-height: 86dvh;
    padding: 10px;
    border-radius: 22px;
  }
  .lb-card img {
    max-height: 64dvh;
    border-radius: 14px;
  }
  .lb-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
  .lb-nav {
    top: auto;
    bottom: 16px;
    transform: none;
    width: 44px;
    height: 44px;
  }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
}
