/* ═══════════════════════════════════════════════════════════
   LUVORA — Design System
   Warm off-white canvas · Rose "Luvora" primary · soft pinks ·
   16px radius cards · Fraunces/Poppins headings + Inter body ·
   subtle motion · mobile-first responsive
   ═══════════════════════════════════════════════════════════ */
@import "https://fonts.googleapis.cn/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap";

/* ---------- Tokens ---------- */
:root {
  --bg: #fffdf9;
  --surface: #ffffff;
  --ink: #262026;
  --ink-soft: #6e6875;
  --rose: #e75b73;
  --rose-dark: #d8445e;
  --rose-deep: #c73550;
  --rose-soft: #fdecef;
  --rose-soft-2: #fff3f5;
  --iris: #7c6df0;
  --line: #efe8ec;
  --shadow: 0 1px 2px rgba(38, 32, 38, 0.04), 0 14px 34px -14px rgba(38, 32, 38, 0.16);
  --shadow-lg: 0 2px 6px rgba(38, 32, 38, 0.05), 0 22px 48px -20px rgba(38, 32, 38, 0.22);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-ph: 14px;
  --g: linear-gradient(120deg, #f06e8a, #e75b73 55%, #a45ee0);
  --font-head: "Fraunces", "Georgia", serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1152px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--ink);
}
p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-heart {
  width: 24px;
  height: 24px;
  color: var(--rose);
}
.logo-word {
  line-height: 1;
}
.logo--footer {
  color: #fff;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-auth {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-login {
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}
.nav-login:hover {
  color: var(--rose-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-arrow {
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}
.btn-primary {
  color: #fff;
  background-image: var(--g);
  box-shadow: 0 10px 22px -12px rgba(231, 91, 115, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(231, 91, 115, 0.8);
}
.btn-outline {
  color: var(--ink);
  background: var(--surface);
  border-color: #e7dde3;
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  color: var(--rose-dark);
  box-shadow: var(--shadow);
}
.btn-join {
  color: #fff;
  background-image: var(--g);
  padding: 12px 20px;
  box-shadow: 0 8px 18px -12px rgba(231, 91, 115, 0.7);
}
.btn-join:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
}
.btn-xl {
  padding: 19px 40px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}
.btn-ghost {
  background: var(--rose-soft);
  color: var(--rose-dark);
  border-color: transparent;
}
.btn-ghost:hover {
  background: #fbdde3;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}
.btn-danger-outline {
  background: var(--surface);
  border-color: #f0ccd3;
  color: var(--rose-deep);
}
.btn-danger-outline:hover {
  border-color: var(--rose);
  background: var(--rose-soft);
}

/* ---------- Nav toggle / mobile menu ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 500;
  border-radius: 10px;
}
.mobile-menu a:hover {
  background: var(--rose-soft);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 84px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rose-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
  background: var(--rose-soft);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(120deg, #e75b73, #b06af0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--rose);
}
.lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 30em;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 20px 0 0;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 18px;
}
.hero-trust svg {
  width: 20px;
  height: 20px;
  color: var(--rose);
}
.hero-visual {
  position: relative;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card-1 {
  top: 8%;
  left: -8%;
}
.float-card-2 {
  bottom: 14%;
  right: -6%;
  animation-delay: 1.2s;
}
.float-card-3 {
  bottom: -3%;
  left: 6%;
  animation-delay: 2.2s;
}
.fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.fc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.fc-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.fc-sub {
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.fc-heart {
  background: var(--rose);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.fc-heart svg {
  width: 15px;
  height: 15px;
}
.fc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}
.fc-check {
  width: 26px;
  height: 26px;
  color: #2bae66;
  flex: 0 0 auto;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Social proof ---------- */
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.proof-text {
  font-weight: 700;
  color: var(--ink);
}
.proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
.proof-honest {
  margin: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}
.section--soft {
  background: var(--rose-soft-2);
}
.section--white {
  background: var(--surface);
}
.section-heading {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-heading p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
}
.section-center {
  text-align: center;
  margin-top: 34px;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 150px;
  min-width: 150px;
}
.filter-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236e6875' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 40px 12px 14px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--ink);
  background-color: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.select:focus {
  outline: none;
  border-color: var(--rose);
}
.filter-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

/* ---------- Profile grid / cards ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.discover-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.discover-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: block;
  text-decoration: none;
}
.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #f3c4ce;
}
.profile-media {
  position: relative;
  overflow: hidden;
  background: var(--rose-soft);
}
.profile-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.profile-card:hover .profile-img {
  transform: scale(1.05);
}
.profile-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}
.badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-verified {
  background: rgba(38, 32, 38, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.badge-new {
  background: var(--rose);
}
.badge-verified svg {
  width: 12px;
  height: 12px;
}
.profile-like {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}
.profile-like svg {
  width: 19px;
  height: 19px;
}
.profile-like:hover {
  transform: scale(1.1);
}
.profile-like.liked {
  background: var(--rose);
  color: #fff;
}
.profile-info {
  padding: 14px 15px 15px;
}
.p-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.p-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}
.p-age {
  font-weight: 400;
  color: var(--ink-soft);
}
.p-meta {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 3px 0 8px;
  display: flex;
  gap: 5px;
}
.p-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.st-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.st-online {
  background: #2ed47a;
}
.st-active {
  background: #f5a623;
}
.st-recent {
  background: #c4c0c9;
}
.st-online-t {
  color: #1ba75a;
}
.st-active-t {
  color: #c07b0e;
}
.st-recent-t {
  color: var(--ink-soft);
}
.profile-view {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.profile-view::after {
  content: " →";
}
.profile-card:hover .profile-view {
  color: var(--rose-deep);
}

/* ---------- Why cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.why-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--rose-soft);
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--rose-soft);
  color: var(--rose-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.why-icon svg {
  width: 22px;
  height: 22px;
}
.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Active today ---------- */
.active-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.active-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}
.active-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.active-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-ph);
  margin-bottom: 12px;
}
.active-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.active-city {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.active-status {
  justify-content: center;
  margin-top: 6px;
}

/* ---------- Safety ---------- */
.safety-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--rose-soft-2), #fbf1f6);
  border: 1px solid #f3e4ea;
  border-radius: 22px;
  padding: 44px;
}
.safety-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}
.safety-copy p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.safety-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.safety-list svg {
  width: 20px;
  height: 20px;
  color: #2bae66;
  flex: 0 0 auto;
}

/* ---------- Final CTA ---------- */
.cta-final {
  background: linear-gradient(135deg, #6e3852 0%, #3b2f55 60%, #2b2547 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin-bottom: 28px;
}
.cta-inner .hero-meta {
  color: rgba(255, 255, 255, 0.66);
  margin-top: 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #241b26;
  color: rgba(255, 255, 255, 0.68);
  padding: 60px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  max-width: 26em;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-small {
  font-size: 0.85rem;
  line-height: 1.8;
}
.footer-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  border-left: 2px solid var(--rose);
  padding-left: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-legal {
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger > .reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

/* ---------- JS-rendered views (shared) ---------- */
.view {
  min-height: 60vh;
}
.view-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero {
  padding: 56px 0 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
  text-align: center;
}
.page-hero p {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* Auth pages (register / login) */
.auth-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100vh - 120px);
  background: var(--bg);
}
.auth-aside {
  background: linear-gradient(160deg, #6e3852 0%, #3b2f55 60%, #2b2547 100%);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-aside .logo {
  color: #fff;
  margin-bottom: 40px;
}
.auth-aside h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 14px;
}
.auth-aside p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 22em;
  margin: 0;
}
.auth-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}
.auth-card h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.auth-card > p.sub {
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(231, 91, 115, 0.14);
}
textarea.input {
  resize: vertical;
  min-height: 84px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 4px 0 8px;
}
.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}
.form-error {
  background: #fdecef;
  color: var(--rose-deep);
  border: 1px solid #f6cdd6;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.form-success {
  background: #e9f9ef;
  color: #1ba75a;
  border: 1px solid #b9eccd;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.switch-line {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 20px;
}
.switch-line a {
  color: var(--rose-dark);
  font-weight: 700;
}
.age-confirm {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Bio / interest chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.chip {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s ease;
  cursor: pointer;
}
.chip.active {
  background: var(--rose-soft);
  border-color: var(--rose);
  color: var(--rose-dark);
  font-weight: 600;
}

/* Discover layout */
.discover-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 26px;
  align-items: start;
  padding-bottom: 70px;
}
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}
.filter-panel h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  margin-bottom: 18px;
}
.filter-block {
  margin-bottom: 18px;
}
.filter-block > label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pill-opt {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-opt.active {
  background: var(--rose-soft);
  border-color: var(--rose);
  color: var(--rose-dark);
  font-weight: 600;
}
.discover-results {
  min-height: 50vh;
}
.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.result-count {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.result-bar .btn-sm {
  background: var(--rose-soft);
  color: var(--rose-dark);
  border: none;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--ink-soft);
}
.empty-state svg {
  width: 46px;
  height: 46px;
  color: #e3d4db;
  margin-bottom: 14px;
}

/* ---------- Profile detail ---------- */
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 26px 0 20px;
  transition: color 0.2s ease;
}
.pd-back:hover {
  color: var(--rose-dark);
}
.pd-back svg {
  width: 18px;
  height: 18px;
}
.pd-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 70px;
}
.pd-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.pd-head {
  margin-bottom: 20px;
}
.pd-name {
  font-size: 2.2rem;
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pd-tags {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
  flex-wrap: wrap;
}
.pd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rose-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.pd-tag svg {
  width: 15px;
  height: 15px;
  color: var(--rose);
}
.pd-block {
  margin-bottom: 26px;
}
.pd-block h3 {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.pd-block p {
  color: var(--ink-soft);
  margin: 0;
}
.pd-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-interest {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 500;
}
.pd-look {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pd-demo-note {
  margin-top: 26px;
  background: var(--rose-soft-2);
  border: 1px dashed #eecad4;
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.lock-note {
  margin-top: 20px;
  background: var(--rose-soft);
  border: 1px solid #f6cdd6;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.lock-note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
}
.lock-note svg {
  color: var(--rose);
  flex: 0 0 auto;
}

/* ---------- Dashboard / messages / settings ---------- */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}
.dash-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.dash-stat .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--rose);
}
.dash-stat .lbl {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.profile-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: center;
}
.profile-preview img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
}
.profile-preview h3 {
  margin-bottom: 4px;
}
.msg-list {
  display: grid;
  gap: 12px;
}
.msg-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.msg-row img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
}
.msg-body {
  flex: 1;
}
.msg-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.msg-top strong {
  font-size: 0.95rem;
}
.msg-top time {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.msg-body p {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.msg-unread {
  background: var(--rose);
  color: #fff;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 2px 8px;
  flex: 0 0 auto;
}
.settings-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  max-width: 640px;
}
.avatar-upload {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.avatar-upload img,
.avatar-upload .avatar-ph {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rose-soft);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.avatar-upload .avatar-ph {
  display: grid;
  place-items: center;
  color: var(--rose);
  background: var(--rose-soft);
}
.avatar-upload .avatar-ph svg {
  width: 30px;
  height: 30px;
}

/* ---------- Legal / misc pages ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 70px;
}
.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.legal-page .intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.legal-page h2 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  margin: 28px 0 8px;
}
.legal-page p {
  color: var(--ink-soft);
}
.about-grid {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.demo-note-banner {
  background: var(--rose-soft);
  border: 1px solid #f6cdd6;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--rose-deep);
  margin-bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.demo-note-banner svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.close-view {
  text-align: center;
  padding: 40px 0;
}
.close-view svg {
  width: 56px;
  height: 56px;
  color: #e3d4db;
  margin-bottom: 14px;
}
.close-view p {
  color: var(--ink-soft);
}

/* ══════════════ Responsive ══════════════ */
@media (max-width: 1024px) {
  .profile-grid,
  .discover-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .active-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .discover-layout {
    grid-template-columns: 230px 1fr;
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 48px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 520px;
  }
  .float-card-1 {
    left: -2%;
  }
  .float-card-2 {
    right: -2%;
  }
  .safety-band {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 40px 28px;
  }
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .profile-grid,
  .discover-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .active-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .profile-info {
    padding: 12px;
  }
  .p-name {
    font-size: 0.98rem;
  }
  .discover-layout {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    position: static;
  }
  .filter-panel.is-drawer {
    display: none;
  }
  .filter-panel.is-drawer.open {
    display: block;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .active-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-stagger > .reveal {
    opacity: 1;
    transform: none;
  }
}