/* ============================================================
   Pinch — landing page styles
   Hot-pink Y2K identity. Structure & interactions inspired by the
   v0 mockup + hand sketch: animated infinity-loop hero with
   sparkles, a social-score ring, a 3D pin carousel, and clean
   sent/received cards. Built plain — no framework.
   ============================================================ */

:root {
  --hot-pink: #FF1E88;
  --magenta: #FF2D6B;
  --coral: #FF5E4D;
  --orange: #FF7B3D;
  /* Dark mode: --ink is now the light foreground/text color, --paper is
     the dark card surface, --cream is the near-black page background.
     Names kept as-is so every rule built on them just inherits the swap. */
  --ink: #F5EDF2;
  --paper: #1B1420;
  --cream: #0F0A12;
  --pastel-pink: #3A1F32;
  --pastel-peach: #3A2418;
  --muted: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.12);
  --on-brand: #FFFFFF; /* fixed white — for content on the always-pink hero/footer */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

.page { width: 100%; overflow-x: hidden; }

.btn {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
}
.btn-lg { font-size: 16px; padding: 17px 40px; }
.btn-light {
  background: var(--on-brand);
  color: var(--hot-pink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}
.btn-light:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.btn-pink {
  background: var(--ink);
  color: var(--paper);
}
.btn-pink:hover { transform: translateY(-2px) scale(1.03); }

/* ============ HERO ============ */

.hero {
  position: relative;
  background: linear-gradient(168deg, var(--hot-pink) 0%, var(--magenta) 40%, var(--coral) 74%, var(--orange) 100%);
  padding: 20px 20px 90px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow.g1 { width: 320px; height: 320px; top: -80px; left: -100px; background: rgba(255,255,255,0.35); }
.hero-glow.g2 { width: 360px; height: 360px; bottom: -120px; right: -120px; background: var(--pastel-peach); opacity: 0.4; }

/* nav */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 8px 4px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px;
  background-color: var(--on-brand);
  -webkit-mask: url('pinch-mark.png') center/contain no-repeat;
  mask: url('pinch-mark.png') center/contain no-repeat;
}
.brand-word {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--on-brand);
  line-height: 1;
}
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 700; font-size: 14px; text-transform: lowercase;
  color: var(--on-brand); text-decoration: none; opacity: 0.9;
  transition: opacity 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-login {
  background: rgba(255,255,255,0.2);
  padding: 8px 18px !important;
  border-radius: 999px;
}
.nav-login:hover { background: var(--ink); }

.nav-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 17px; height: 2px; background: var(--on-brand); border-radius: 2px; }

.mobile-menu {
  position: relative; z-index: 9;
  max-width: 1100px; margin: 6px auto 0; width: 100%;
  background: rgba(0,0,0,0.22);
  border-radius: 20px;
  padding: 8px;
  display: none;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--on-brand); text-decoration: none; font-weight: 700;
  padding: 12px 16px; border-radius: 14px; text-transform: lowercase;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.15); }

/* hero content */
.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 620px;
  margin: auto;
  text-align: center;
  padding: 20px 0;
}

/* animated infinity loop */
.loop-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 150px;
  margin: 0 auto 28px;
}
.loop-mark {
  width: 100%; height: 100%;
  background-color: var(--on-brand);
  -webkit-mask: url('pinch-mark.png') center/contain no-repeat;
  mask: url('pinch-mark.png') center/contain no-repeat;
  animation: loopFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
}
@keyframes loopFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.spark {
  position: absolute;
  background-color: var(--on-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6 5.4 10.8 12 12-6.6 1.2-11.4 6-12 12-.6-6-5.4-10.8-12-12C6.6 10.8 11.4 6 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6 5.4 10.8 12 12-6.6 1.2-11.4 6-12 12-.6-6-5.4-10.8-12-12C6.6 10.8 11.4 6 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: twinkle 2.4s ease-in-out infinite;
}
.spark.s1 { width: 14px; height: 14px; top: 2%; left: 12%; animation-delay: 0s; }
.spark.s2 { width: 18px; height: 18px; top: 12%; left: 84%; animation-delay: 0.5s; }
.spark.s3 { width: 13px; height: 13px; top: 68%; left: 6%; animation-delay: 1s; }
.spark.s4 { width: 11px; height: 11px; top: 76%; left: 82%; animation-delay: 0.3s; }
.spark.s5 { width: 10px; height: 10px; top: 4%; left: 52%; animation-delay: 1.4s; }
.spark.s6 { width: 13px; height: 13px; top: 58%; left: 92%; animation-delay: 0.8s; }
@keyframes twinkle {
  0%,100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1); }
}

.hero-eyebrow {
  font-weight: 800; font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); margin: 0 0 12px;
}
.hero-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(38px, 9vw, 60px);
  font-weight: 800; line-height: 1.02; color: var(--on-brand);
  margin: 0 0 18px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.12);
}
.hero-sub {
  font-size: clamp(15px, 4vw, 18px); font-weight: 500;
  color: rgba(255,255,255,0.92); line-height: 1.55;
  max-width: 460px; margin: 0 auto 30px;
}
.hero-cta { }

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  z-index: 2;
}

/* ============ shared section bits ============ */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.section-sub {
  font-size: 16px; color: var(--muted); font-weight: 500;
  max-width: 440px; margin: 8px auto 0; line-height: 1.5; text-align: center;
}

.pill {
  display: inline-block;
  background: var(--pastel-pink);
  color: var(--hot-pink);
  font-weight: 800; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
}

/* ============ SOCIAL SCORE ============ */

.score-section { max-width: 1000px; margin: 0 auto; padding: 70px 20px 40px; }
.score-card {
  background: var(--paper);
  border-radius: 40px;
  padding: 44px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.07);
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  text-align: center;
}
.score-copy h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(30px, 7vw, 44px); font-weight: 800;
  margin: 14px 0 12px; color: var(--ink);
}
.score-copy p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0; max-width: 420px; }

.score-ring-wrap { position: relative; width: 220px; height: 220px; flex-shrink: 0; }
.score-ring { display: block; }
.ring-track { stroke: rgba(255,255,255,0.07); }
.ring-fill {
  stroke: url(#pinkGrad);
  stroke: var(--hot-pink);
  stroke-dasharray: 578;
  stroke-dashoffset: 578;
  transition: stroke-dashoffset 0.1s linear;
}
.score-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.score-num {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 60px; font-weight: 800; color: var(--hot-pink); line-height: 1;
}
.score-badge {
  background: var(--hot-pink); color: var(--on-brand);
  font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 14px; border-radius: 999px;
}

/* ============ CAROUSEL ============ */

.carousel-section { padding: 50px 20px 40px; text-align: center; }
.carousel-section h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(30px, 7vw, 44px); font-weight: 800; margin: 0; color: var(--ink);
}
.carousel { max-width: 720px; margin: 44px auto 0; }
.carousel-stage {
  position: relative;
  height: 300px;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex; align-items: center; justify-content: center;
}
.pin-card {
  position: absolute;
  width: 210px; height: 270px;
  border-radius: 28px;
  padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
  cursor: pointer;
  will-change: transform;
}
.pin-card.inactive {
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.pin-card.active {
  background: linear-gradient(160deg, var(--hot-pink), var(--magenta) 60%, var(--coral));
  color: var(--on-brand);
  box-shadow: 0 24px 60px rgba(255,30,136,0.35);
}
.pin-icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
}
.pin-card.inactive .pin-icon { background: var(--pastel-pink); color: var(--hot-pink); }
.pin-card.active .pin-icon { background: rgba(255,255,255,0.2); color: var(--on-brand); }
.pin-icon svg { width: 28px; height: 28px; }
.pin-title { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.pin-note { font-size: 13px; font-weight: 500; margin: 0; opacity: 0.9; line-height: 1.4; }
.pin-cta {
  font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 9px 20px; border-radius: 999px;
}
.pin-card.inactive .pin-cta { background: var(--pastel-pink); color: var(--hot-pink); }
.pin-card.active .pin-cta { background: var(--on-brand); color: var(--hot-pink); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: var(--paper); color: var(--ink);
  font-size: 22px; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.15s ease, background 0.15s ease;
  display: grid; place-items: center; line-height: 1;
}
.carousel-arrow:hover { background: var(--hot-pink); color: var(--on-brand); transform: scale(1.08); }
.carousel-dots { display: flex; gap: 8px; }
.car-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); border: none; cursor: pointer; padding: 0; transition: all 0.2s ease; }
.car-dot.active { width: 26px; background: var(--hot-pink); }

/* ============ SPLIT CARDS ============ */

.split-section {
  max-width: 800px; margin: 0 auto; padding: 40px 20px 80px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.split-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 30px 26px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(0,0,0,0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  display: block;
}
.split-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(255,30,136,0.16); }
.split-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  display: grid; place-items: center; margin-bottom: 16px;
}
.split-icon svg { width: 26px; height: 26px; color: var(--on-brand); }
.split-card h3 { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.split-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* Letters history — same card chrome as sent/received, collapsible body */
.split-section > .letters-history-box {
  cursor: default;
  grid-column: 1 / -1;
  /* keep .split-card padding / radius / shadow — do not zero them out */
  overflow: hidden;
}
.split-section > .letters-history-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(255,30,136,0.16);
}

.letters-history-toggle {
  width: 100%;
  display: block;
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}
.letters-history-toggle .split-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin: 0 0 16px;
  display: grid;
  place-items: center;
}
.letters-history-toggle .split-icon svg {
  width: 26px;
  height: 26px;
}
.letters-history-toggle-copy {
  display: block;
  padding: 0 48px;
}
.letters-history-title {
  display: block;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 6px;
  text-align: center;
}
.letters-history-sub {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}
.letters-chevron {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,30,136,0.1);
  color: var(--hot-pink);
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}
.letters-chevron svg { width: 18px; height: 18px; }
.letters-history-box.is-open .letters-chevron {
  transform: rotate(180deg);
  background: rgba(255,30,136,0.18);
}

.letters-history-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.letters-history-panel[aria-hidden="true"] {
  pointer-events: none;
}
.letters-history-box.is-open .letters-history-panel {
  grid-template-rows: 1fr;
}
.letters-history-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.letters-history-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px 0 0;
  max-height: 340px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,30,136,0.35) transparent;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.letters-history-box.is-open .letters-history-scroll {
  opacity: 1;
  transform: translateY(0);
}
.letters-history-empty {
  grid-column: 1 / -1;
  text-align: center;
  margin: 8px 0 4px !important;
}

.revelation-letter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  animation: letterSlideIn 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}
.letters-history-box.is-open .revelation-letter:nth-child(1) { animation-delay: 0.04s; }
.letters-history-box.is-open .revelation-letter:nth-child(2) { animation-delay: 0.08s; }
.letters-history-box.is-open .revelation-letter:nth-child(3) { animation-delay: 0.12s; }
.letters-history-box.is-open .revelation-letter:nth-child(4) { animation-delay: 0.16s; }
.letters-history-box.is-open .revelation-letter:nth-child(5) { animation-delay: 0.2s; }
.letters-history-box.is-open .revelation-letter:nth-child(6) { animation-delay: 0.24s; }
@keyframes letterSlideIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
.revelation-envelope {
  position: relative;
  aspect-ratio: 5 / 3.4;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff7f2, var(--pastel-peach));
  border: 1.5px solid rgba(255,30,136,0.14);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  text-align: left;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
}
.revelation-envelope:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255,30,136,0.16);
}
.revelation-flap {
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background: linear-gradient(180deg, var(--pastel-pink), rgba(255,182,193,0.55));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.95;
  pointer-events: none;
}
.revelation-flap::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--hot-pink);
  border-radius: 2px;
  opacity: 0.85;
}
.revelation-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1;
}
.revelation-stamp {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  z-index: 2;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.6));
}
.revelation-from {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  word-break: break-word;
}
.revelation-meta {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}

.revelation-share-row {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.revelation-share-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,30,136,0.08);
  color: var(--hot-pink);
  transition: background 0.15s ease, transform 0.15s ease;
}
.revelation-share-btn:hover {
  background: rgba(255,30,136,0.16);
  transform: translateY(-1px);
}
.revelation-share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.revelation-share-btn--wa {
  background: rgba(37,211,102,0.12);
  color: #128C7E;
}
.revelation-share-btn--wa:hover { background: rgba(37,211,102,0.22); }
.revelation-share-btn--ig {
  background: rgba(193,53,132,0.1);
  color: #C13584;
}
.revelation-share-btn--ig:hover { background: rgba(193,53,132,0.18); }

.letter-card .letter-outcome {
  display: inline-block;
  background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  color: var(--on-brand);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.letter-card .letter-message {
  font-size: 18px;
  font-weight: 600;
  margin-top: 14px;
}

@media (min-width: 760px) {
  .letters-history-scroll {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    max-height: 380px;
  }
}

/* ============ FOOTER ============ */

.footer {
  background: linear-gradient(160deg, var(--hot-pink), var(--magenta) 55%, var(--coral));
  color: var(--on-brand);
  text-align: center;
  padding: 56px 24px 40px;
  border-radius: 40px 40px 0 0;
}
.footer-brand {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 40px; font-weight: 800; margin-bottom: 12px;
}
.footer-tag { font-size: 15px; max-width: 380px; margin: 0 auto 24px; opacity: 0.94; line-height: 1.5; }
.footer-icons { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.footer-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center;
  color: var(--on-brand); text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}
.footer-icon:hover { background: var(--ink); transform: translateY(-2px); }
.footer-icon svg { width: 20px; height: 20px; }
.footer-copy { font-size: 12.5px; opacity: 0.8; margin: 0; }

/* ============ RESPONSIVE ============ */

@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .score-card { flex-direction: row; justify-content: space-between; text-align: left; padding: 56px 52px; }
  .score-copy { max-width: 420px; }
  .split-section { grid-template-columns: 1fr 1fr; }
  .split-section > .letters-history-box { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .loop-mark, .spark { animation: none; }
  html { scroll-behavior: auto; }
  .letters-history-panel,
  .letters-history-scroll,
  .letters-chevron,
  .revelation-letter {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   SUB-PAGES (about, contact) — hero variant + prose/form
   ============================================================ */

.hero--sub { min-height: auto; padding-bottom: 70px; }
.hero-inner--sub { padding: 40px 0 10px; }

.prose-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 22px 40px;
}
.lede {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 36px;
  text-align: center;
}
.prose-block { margin-bottom: 30px; }
.prose-block h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 22px; font-weight: 800; color: var(--hot-pink); margin: 0 0 8px;
}
.prose-block p { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.6; margin: 0; }

.values-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 36px 0;
}
.value-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}
.value-card h3 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 17px; font-weight: 800; margin: 0 0 6px; color: var(--ink);
}
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

.prose-cta { text-align: center; margin-top: 36px; }

/* contact form */
.contact-form {
  background: var(--paper);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; color: var(--ink); background: var(--paper);
  outline: none; transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--hot-pink); }
.field textarea { resize: vertical; }
.contact-submit { width: 100%; margin-top: 4px; }
.form-note { text-align: center; font-size: 14px; font-weight: 600; margin: 14px 0 0; min-height: 20px; }
.form-note.ok { color: #1B8A5A; }
.form-note.err { color: #D8265A; }

@media (min-width: 620px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   MAIN HUB additions — three-dot menu, real logo, greeting,
   falling-boxes replay, name popups, profile/info sheets.
   ============================================================ */

/* real red infinity logo in hero */
.loop-img {
  width: 100%; height: 100%; object-fit: contain;
  animation: loopFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.22));
}
/* on the bright pink hero, tint the red logo to white so it reads */
.hero .loop-img {
  filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0,0,0,0.22));
}

.hero-eyebrow--big {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--on-brand);
  margin: 4px 0 26px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.12);
}

/* three-dot menu */
.menu-wrap { position: relative; }
.dots-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.18); border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  transition: background 0.15s ease;
}
.dots-btn:hover { background: var(--ink); }
.dots-btn span { width: 4px; height: 4px; border-radius: 50%; background: var(--on-brand); }

.dots-menu {
  position: absolute; top: 54px; right: 0;
  background: var(--paper);
  border-radius: 18px;
  padding: 8px;
  min-width: 190px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
  display: none; flex-direction: column; gap: 2px;
  z-index: 40;
}
.dots-menu.open { display: flex; animation: menuPop 0.16s ease; }
@keyframes menuPop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }
.dots-item {
  display: flex; align-items: center; gap: 11px;
  background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14.5px;
  color: var(--ink); text-transform: lowercase;
  padding: 11px 14px; border-radius: 12px; text-align: left; width: 100%;
  transition: background 0.14s ease;
}
.dots-item:hover { background: var(--pastel-pink); color: var(--hot-pink); }
.dots-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* greeting above score */
.hub-greeting {
  text-align: center;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
}

/* score ring is now a button */
.score-ring-wrap {
  background: none; border: none; cursor: pointer; padding: 0;
  transition: transform 0.16s ease;
}
.score-ring-wrap:hover { transform: scale(1.04); }

/* ---------- overlay + sheet ---------- */
.hub-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(18,15,18,0.6);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease;
}
.hub-overlay.open { opacity: 1; pointer-events: auto; }
.hub-sheet {
  background: var(--paper);
  width: 100%; max-width: 460px; max-height: 84vh; overflow-y: auto;
  border-radius: 28px 28px 0 0;
  padding: 26px 22px 34px;
  position: relative;
  transform: translateY(30px); transition: transform 0.26s ease;
}
.hub-overlay.open .hub-sheet { transform: translateY(0); }
@media (min-width: 560px) {
  .hub-overlay { align-items: center; }
  .hub-sheet { border-radius: 28px; }
}
.sheet-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink);
}
.sheet-close:hover { background: var(--pastel-pink); color: var(--hot-pink); }
.sheet-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 24px; font-weight: 800; margin: 0 0 6px; color: var(--ink);
}
.sheet-note { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.sheet-legend { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 4px 0 16px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; }
.legend-dot.green { background: #1FB673; }
.legend-dot.red { background: var(--hot-pink); }

/* profile rows */
.profile-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.profile-row span { color: var(--muted); font-weight: 600; }
.profile-row b { color: var(--ink); font-weight: 800; }
.sheet-logout { width: 100%; margin-top: 22px; }

/* ---------- falling boxes ---------- */
.fall-field {
  position: relative;
  height: 340px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.fall-box {
  position: absolute; top: -70px;
  width: 84px; min-height: 60px;
  border-radius: 14px;
  padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #fff; text-align: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
  animation: fallDrop 0.9s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}
.fall-box.green { background: linear-gradient(160deg, #27C384, #1B9E68); }
.fall-box.red { background: linear-gradient(160deg, var(--hot-pink), var(--magenta)); }
.fall-name { font-weight: 800; font-size: 13px; line-height: 1.1; word-break: break-word; }
.fall-pts { font-weight: 700; font-size: 12px; opacity: 0.92; }
@keyframes fallDrop {
  0% { top: -70px; transform: rotate(-8deg); opacity: 0; }
  20% { opacity: 1; }
  70% { transform: rotate(4deg); }
  100% { top: calc(100% - 76px); transform: rotate(0deg); opacity: 1; }
}

/* ---------- name rows (sent/received popups) ---------- */
.names-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.name-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border-radius: 16px; padding: 12px 14px;
  opacity: 0; transform: translateX(-10px);
  animation: rowIn 0.34s ease forwards;
}
@keyframes rowIn { to { opacity: 1; transform: none; } }
.name-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center; flex-shrink: 0;
}
.name-text { flex: 1; font-weight: 700; font-size: 15px; color: var(--ink); }
.name-pts { font-weight: 800; font-size: 14px; color: var(--muted); }
.name-pts.pos { color: #1B9E68; }
.name-pts.neg { color: var(--hot-pink); }

/* ============================================================
   Auth popup, menu divider, demo nudge, + UI/UX polish
   ============================================================ */

.dots-divider { height: 1px; background: var(--line); margin: 6px 8px; }
.dots-item--auth { color: var(--hot-pink); }
.dots-item--auth:hover { background: var(--pastel-pink); }

/* auth form inside sheet */
.auth-form { margin-top: 18px; }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-toggle {
  display: block; width: 100%; margin-top: 14px;
  background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13.5px;
  color: var(--muted);
}
.auth-toggle:hover { color: var(--hot-pink); }

/* demo login nudge */
.demo-nudge {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  text-align: center;
}
.demo-nudge p { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.demo-login-btn { padding: 11px 30px; font-size: 14px; }

/* ---------- UI/UX polish ---------- */

/* buttons get a springy press */
.btn:active { transform: translateY(0) scale(0.97) !important; }

/* score ring subtle idle pulse to invite the tap */
@keyframes ringHint {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,30,136,0); }
  50% { box-shadow: 0 0 0 10px rgba(255,30,136,0.06); }
}
.score-ring-wrap { border-radius: 50%; animation: ringHint 3.5s ease-in-out infinite; }
.score-ring-wrap:hover { animation: none; }

/* hero CTA gentle attention bob */
@keyframes ctaBob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-3px);} }
.hero-cta { animation: ctaBob 3s ease-in-out infinite; }
.hero-cta:hover { animation: none; }

/* staggered reveal children feel */
.reveal { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.2,0.64,1); }

/* card hover lift refinement */
.split-card { will-change: transform; }
.pin-card.active { animation: cardGlow 3s ease-in-out infinite; }
@keyframes cardGlow {
  0%,100% { box-shadow: 0 24px 60px rgba(255,30,136,0.32); }
  50% { box-shadow: 0 28px 70px rgba(255,30,136,0.45); }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .score-ring-wrap, .hero-cta, .pin-card.active { animation: none; }
}

/* ============================================================
   In-hub flows (send + respond) inside the popup sheet
   ============================================================ */

.flow-hero { font-size: 46px; text-align: center; margin-bottom: 6px; animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* quiz */
.quiz-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 6px 0 12px; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--hot-pink), var(--orange)); border-radius: 999px; transition: width 0.3s ease; }
.quiz-count { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 10px; }
.quiz-prompt { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 20px; line-height: 1.3; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  text-align: left; padding: 15px 16px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.quiz-option:hover { background: var(--pastel-pink); border-color: var(--hot-pink); transform: scale(1.01); }
.quiz-option:active { transform: scale(0.98); }
.quiz-rating { text-align: center; padding: 8px 0 4px; }
.quiz-rating input[type="range"] { width: 100%; accent-color: var(--hot-pink); height: 6px; margin-bottom: 18px; }
.quiz-rating-value { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 44px; font-weight: 800; color: var(--hot-pink); margin-bottom: 22px; }
.quiz-next-btn { width: 100%; }

/* message step */
.flow-textarea {
  width: 100%; min-height: 96px; resize: vertical; margin: 8px 0 4px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: var(--ink); outline: none;
}
.flow-textarea:focus { border-color: var(--hot-pink); }
.flow-finish { width: 100%; margin-top: 8px; }

/* link ready */
.flow-link-box {
  background: rgba(255,255,255,0.04); border: 1.5px dashed rgba(255,255,255,0.18);
  border-radius: 14px; padding: 14px 16px; font-size: 12.5px; word-break: break-all;
  color: rgba(255,255,255,0.75); margin: 14px 0; font-family: monospace;
}

/* letter card */
.letter-card {
  background: linear-gradient(165deg, var(--pastel-pink), var(--pastel-peach));
  border-radius: 20px; padding: 26px 22px; text-align: center; margin: 12px 0 4px;
  animation: pop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.letter-outcome { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 6px; }
.letter-points { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 40px; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.letter-points.is-positive { color: #1B8A5A; }
.letter-points.is-negative { color: var(--hot-pink); }
.letter-message { font-size: 15px; font-style: italic; color: var(--ink); line-height: 1.5; margin: 0 0 10px; }
.letter-message--empty { opacity: 0.55; font-style: normal; }
.letter-from { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0; }

/* ============================================================
   Profile: title, personality type badge, zodiac, score bars
   ============================================================ */

.profile-section { padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-section-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.link-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--hot-pink); padding: 0; margin-top: 8px;
}
.link-btn:hover { text-decoration: underline; }
.profile-action-btn { padding: 10px 22px; font-size: 13.5px; margin-top: 4px; }

.type-badge { display: flex; align-items: center; gap: 12px; }
.type-code {
  font-family: 'Baloo 2', system-ui, sans-serif; font-size: 22px; font-weight: 800;
  color: var(--on-brand); background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  padding: 6px 14px; border-radius: 12px;
}
.type-name { font-weight: 700; font-size: 14.5px; color: var(--ink); text-transform: lowercase; }

.zodiac-badge {
  display: inline-block; font-weight: 800; font-size: 15px; color: var(--ink);
  background: var(--pastel-peach); padding: 8px 16px; border-radius: 999px;
}

/* personality result screen */
.type-result-name {
  text-align: center; font-weight: 700; font-size: 16px; color: var(--hot-pink);
  text-transform: lowercase; margin: 0 0 22px;
}
.type-scores { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.type-score-row { display: flex; align-items: center; gap: 10px; }
.type-score-letter {
  font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; font-size: 15px; color: var(--ink);
  width: 18px; text-align: center; flex-shrink: 0;
}
.type-score-bar { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.type-score-fill { height: 100%; background: linear-gradient(90deg, var(--hot-pink), var(--coral)); border-radius: 999px; transition: width 0.5s ease; }

/* ============================================================
   Scoring explanation section (about page)
   ============================================================ */

.scoring-block { margin: 50px 0; }
.scoring-title {
  font-family: 'Baloo 2', system-ui, sans-serif; font-size: clamp(24px, 6vw, 32px);
  font-weight: 800; text-align: center; margin: 0 0 8px; color: var(--ink);
}
.scoring-intro { text-align: center; color: var(--muted); font-size: 15px; margin: 0 0 36px; }

.scoring-steps { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.scoring-step { display: flex; gap: 16px; align-items: flex-start; }
.scoring-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  color: var(--on-brand); font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
}
.scoring-step h3 { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 16px; font-weight: 800; margin: 4px 0 6px; color: var(--ink); }
.scoring-step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.scoring-step b { color: var(--hot-pink); }

.scoring-callout {
  background: var(--pastel-pink);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 30px;
}
.scoring-callout p { font-size: 14px; color: var(--ink); line-height: 1.6; margin: 0; }
.scoring-callout b { color: var(--hot-pink); }
.scoring-callout i { font-style: normal; opacity: 0.9; }

.scoring-facts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
.scoring-fact {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 16px; text-align: center;
}
.scoring-fact-num {
  display: block; font-family: 'Baloo 2', system-ui, sans-serif; font-size: 26px; font-weight: 800;
  color: var(--hot-pink); margin-bottom: 4px;
}
.scoring-fact span:last-child { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.scoring-footnote { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.5; margin: 0; }

@media (min-width: 620px) {
  .scoring-facts { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Download page — waitlist form + feature preview cards
   ============================================================ */

.waitlist-form {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 420px; margin: 8px auto 0;
}
.waitlist-form input {
  flex: 1; min-width: 200px;
  border: none; border-radius: 999px;
  padding: 15px 20px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px;
  outline: none;
}
.waitlist-btn { white-space: nowrap; }
.waitlist-note { min-height: 20px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.9); margin: 12px 0 0; }
.waitlist-note.ok { color: #fff; }
.waitlist-note.err { color: #FFD6E4; }

.waitlist-counter {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  margin-top: 22px; color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 600;
}
.waitlist-counter-num {
  font-family: 'Baloo 2', system-ui, sans-serif; font-size: 22px; font-weight: 800; color: var(--on-brand);
}

.feature-section { max-width: 900px; margin: 0 auto; padding: 60px 20px 40px; text-align: center; }
.feature-heading {
  font-family: 'Baloo 2', system-ui, sans-serif; font-size: clamp(26px, 6vw, 36px);
  font-weight: 800; margin: 0; color: var(--ink);
}
.feature-cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 40px 0 24px; }
.feature-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 26px;
  padding: 30px 24px; text-align: center;
}
.feature-art { margin-bottom: 14px; display: flex; justify-content: center; }
.feature-card h3 {
  font-family: 'Baloo 2', system-ui, sans-serif; font-size: 19px; font-weight: 800;
  margin: 0 0 10px; color: var(--ink); text-transform: lowercase;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.feature-card b { color: var(--hot-pink); }
.feature-footnote { font-size: 12.5px; color: var(--muted); max-width: 480px; margin: 8px auto 0; line-height: 1.5; }

@media (min-width: 720px) {
  .feature-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Feedback page — star rating + card
   ============================================================ */

.feedback-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 26px;
  padding: 30px 26px;
}
.feedback-label {
  text-align: center; font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 14px;
}
.star-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.star {
  background: none; border: none; cursor: pointer; padding: 2px;
  font-size: 38px; line-height: 1; color: rgba(255,255,255,0.18);
  transition: transform 0.12s ease, color 0.12s ease;
}
.star:hover { transform: scale(1.15); }
.star.lit { color: #FFC93C; }
.field-optional { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; }
.feedback-submit { width: 100%; margin-top: 6px; }

.footer-links { margin: 0 0 10px; }
.footer-links a {
  color: var(--on-brand); font-weight: 700; font-size: 13.5px; text-decoration: none;
  opacity: 0.9; border-bottom: 1.5px solid rgba(255,255,255,0.4); padding-bottom: 1px;
}
.footer-links a:hover { opacity: 1; }

/* ============================================================
   Share buttons + pending-pinches queue
   ============================================================ */

.share-row { display: flex; gap: 10px; margin: 14px 0; }
.share-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--pastel-pink); border: none; border-radius: 16px;
  padding: 12px 8px; cursor: pointer; color: var(--ink);
  transition: transform 0.14s ease;
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn svg { width: 22px; height: 22px; }
.share-btn span { font-size: 11px; font-weight: 700; }
.share-whatsapp svg { color: #25D366; }
.share-telegram svg { color: #29A9EA; }
.share-messages svg { color: var(--hot-pink); }

/* three-dot menu notification badge */
.pending-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: #FFC93C; color: var(--ink);
  border-radius: 999px; font-size: 10px; font-weight: 800;
  display: none; align-items: center; justify-content: center;
  border: 2px solid var(--hot-pink);
}
.pending-badge.show { display: flex; }
.dots-btn { position: relative; }

/* pending pinches list */
.pending-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pending-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border-radius: 16px; padding: 12px 14px;
}
.pending-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center;
}
.pending-name { flex: 1; font-weight: 700; font-size: 14px; color: var(--ink); }
.pending-answer-btn { padding: 8px 18px; font-size: 12.5px; border-radius: 999px; border: none; cursor: pointer; }

/* ============================================================
   Send type-picker (opened via the ?send=1 deep link, e.g. from
   an Instagram bio) — pick who you're pinching, inside the sheet.
   ============================================================ */

.type-pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.type-pick-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--pastel-pink); border: none; border-radius: 18px;
  padding: 22px 10px; cursor: pointer; font-weight: 700; font-size: 13.5px;
  color: var(--ink); text-transform: lowercase;
  transition: transform 0.14s ease, background 0.14s ease;
}
.type-pick-btn:hover { transform: translateY(-3px); background: var(--hot-pink); color: var(--on-brand); }
.type-pick-emoji { font-size: 28px; }

/* ============================================================
   Dedicated profile page
   ============================================================ */

.profile-root { max-width: 640px; margin: 0 auto; padding: 46px 20px 60px; }

.profile-hero-card {
  background: var(--paper); border-radius: 30px; padding: 36px 28px;
  text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  margin-bottom: 34px;
}
.profile-avatar-big {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(150deg, var(--hot-pink), var(--coral));
  display: grid; place-items: center; font-size: 46px;
  box-shadow: 0 12px 30px rgba(255,30,136,0.35);
}
.profile-name { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 24px; font-weight: 800; margin: 0 0 2px; color: var(--ink); }
.profile-username { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.profile-title-badge {
  display: inline-block; background: var(--pastel-pink); color: var(--hot-pink);
  font-weight: 800; font-size: 12.5px; text-transform: lowercase;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 24px;
}
.profile-stat-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.profile-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.profile-stat-num { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; font-size: 18px; color: var(--ink); }
.profile-stat span:last-child { font-size: 11px; color: var(--muted); text-transform: lowercase; font-weight: 600; }

.profile-collection { margin-bottom: 34px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.collect-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px;
  padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: transform 0.14s ease, border-color 0.14s ease;
}
.collect-card.locked { opacity: 0.4; cursor: not-allowed; }
.collect-card.unlocked:hover { transform: translateY(-3px); border-color: var(--hot-pink); }
.collect-card.equipped { border-color: var(--hot-pink); border-width: 2px; background: var(--pastel-pink); }
.collect-icon { font-size: 30px; line-height: 1; }
.collect-name { font-size: 12.5px; font-weight: 800; color: var(--ink); text-transform: lowercase; text-align: center; }
.collect-req { font-size: 10px; color: var(--muted); font-weight: 600; }

@media (min-width: 560px) {
  .collection-grid { grid-template-columns: repeat(5, 1fr); }
}

.profile-extra-links { display: flex; justify-content: center; gap: 20px; margin-top: 18px; }

/* ============================================================
   Bio (own profile edit + public display)
   ============================================================ */

.profile-bio { font-size: 14px; color: var(--ink); line-height: 1.55; margin: 14px 0 0; max-width: 440px; margin-left: auto; margin-right: auto; }
.bio-count { text-align: right; font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.bio-count-low { color: var(--hot-pink); font-weight: 700; }

.bio-edit-inline {
  background: none; border: none; color: var(--hot-pink); font-weight: 700;
  font-size: 12px; cursor: pointer; padding: 0 0 0 4px; text-decoration: underline;
}
