/* LoveGlobe - International AI Social Platform */
/* Main Stylesheet - Pure CSS, No Frameworks */

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

:root {
  --pink: #FF6B8A;
  --pink-deep: #FF4D6D;
  --pink-light: #FF8FA3;
  --pink-bg: #FFF0F3;
  --page-bg: #FFF5F7;
  --glass-bg: rgba(255,255,255,0.65);
  --glass-border: rgba(255,255,255,0.3);
  --glass-strong: rgba(255,255,255,0.85);
  --text-primary: #2D1B30;
  --text-secondary: #8B7B8E;
  --text-muted: #B8A9BC;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --purple: #A855F7;
  --blue: #3B82F6;
  --gradient-bg: linear-gradient(135deg, #FFF0F3 0%, #FDE2E4 30%, #E8D5F5 70%, #DAEAF6 100%);
  --gradient-pink: linear-gradient(135deg, #FF6B8A, #FF8E9E);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  --shadow-sm: 0 2px 8px rgba(45,27,48,0.06);
  --shadow-md: 0 4px 20px rgba(45,27,48,0.08);
  --shadow-lg: 0 8px 40px rgba(45,27,48,0.12);
  --shadow-pink: 0 4px 20px rgba(255,107,138,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-cn: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: system-ui, -apple-system, "Segoe UI", sans-serif;
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-height: 64px;
  --bottom-nav-height: 72px;
}

/* ===== SPLASH / LOADING SCREEN ===== */
#splashScreen {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #FFE8EF 0%, #FFDCE5 35%, #FFD0DC 65%, #FFC4D4 100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: hidden;
}
#splashScreen.fade-out {
  opacity: 0; transform: scale(1.05);
  pointer-events: none;
}
.splash-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.splash-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.4;
  animation: splashFloat 6s ease-in-out infinite alternate;
}
.splash-orb-1 {
  width: 300px; height: 300px; top: -80px; left: -60px;
  background: radial-gradient(circle, #FFB6C8, transparent 70%);
}
.splash-orb-2 {
  width: 250px; height: 250px; bottom: -60px; right: -40px;
  background: radial-gradient(circle, #FFC8D6, transparent 70%);
  animation-delay: -2s;
}
.splash-orb-3 {
  width: 200px; height: 200px; top: 40%; left: 50%;
  background: radial-gradient(circle, #FFD6E0, transparent 70%);
  animation-delay: -4s;
}
@keyframes splashFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.15); }
}
.splash-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; padding: 0 24px;
}
.splash-text-block {
  display: flex; flex-direction: column; align-items: flex-start;
}
.splash-love {
  font-family: var(--font-en);
  font-size: 72px; font-weight: 900;
  color: #fff; line-height: 0.9;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(232,112,138,0.2);
  animation: splashTextIn 0.8s ease-out both;
}
.splash-globe {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 52px; font-weight: 400;
  font-style: italic;
  color: #E8708A; line-height: 1.1;
  letter-spacing: 0.02em;
  margin-top: -4px;
  text-shadow: 0 1px 10px rgba(232,112,138,0.15);
  animation: splashTextIn 0.8s ease-out 0.2s both;
}
.splash-globe-icon {
  width: 160px; height: 160px;
  animation: splashGlobeIn 1s ease-out 0.4s both;
}
.splash-globe-icon svg {
  width: 100%; height: 100%;
  animation: splashGlobeSpin 20s linear infinite;
}
@keyframes splashTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splashGlobeIn {
  from { opacity: 0; transform: scale(0.6) rotate(-20deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes splashGlobeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.splash-enter {
  position: relative; z-index: 1;
  margin-top: 48px;
  padding: 14px 56px;
  background: linear-gradient(135deg, #F4879E, #E8708A);
  color: #fff; border: none; border-radius: 50px;
  font-family: var(--font-en);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232,112,138,0.35);
  transition: all 0.3s ease;
  animation: splashBtnIn 0.6s ease-out 0.8s both;
}
.splash-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232,112,138,0.45);
}
.splash-enter:active { transform: translateY(0); }
@keyframes splashBtnIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.splash-progress-wrap {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 3px; overflow: hidden;
  z-index: 1;
}
.splash-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #fff, #F4879E);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* Mobile splash */
@media (max-width: 640px) {
  .splash-inner {
    flex-direction: column; gap: 12px; text-align: center;
  }
  .splash-text-block { align-items: center; }
  .splash-love { font-size: 56px; }
  .splash-globe { font-size: 40px; }
  .splash-globe-icon { width: 120px; height: 120px; }
  .splash-enter { margin-top: 32px; padding: 12px 48px; font-size: 15px; }
  .splash-progress-wrap { bottom: 36px; width: 160px; }
}
@media (max-width: 380px) {
  .splash-love { font-size: 44px; }
  .splash-globe { font-size: 32px; }
  .splash-globe-icon { width: 100px; height: 100px; }
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  color: var(--text-primary);
  background: var(--gradient-bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pink-deep); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }
ul, ol { list-style: none; }

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}
.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.4);
}

/* SPA Shell */
#app { min-height: 100vh; display: flex; flex-direction: column; }
.page { display: none; flex: 1; animation: pageIn 0.3s ease-out; }
.page.active { display: flex; flex-direction: column; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Top Nav */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(255,245,247,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,107,138,0.08);
}
.top-nav .logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--pink-deep);
  letter-spacing: -0.02em; cursor: pointer;
}
.top-nav .logo svg { width: 32px; height: 32px; }
.top-nav .nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-pink);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform var(--transition);
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.nav-avatar svg { width: 20px; height: 20px; }
.nav-avatar:hover { transform: scale(1.08); }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
  position: relative;
}
.nav-icon-btn:hover { background: rgba(255,107,138,0.1); color: var(--pink); }
.nav-icon-btn svg { width: 20px; height: 20px; }
.nav-icon-btn .badge-dot {
  position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink-deep); border: 2px solid #fff;
}

/* Bottom Nav */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: var(--bottom-nav-height);
  display: none; align-items: center; justify-content: space-around;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,107,138,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 10px; font-weight: 500;
  transition: color var(--transition); padding: 8px 12px;
  border-radius: var(--radius-md); position: relative;
}
.bottom-nav-item svg { width: 24px; height: 24px; }
.bottom-nav-item.active { color: var(--pink); }
.bottom-nav-item.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px; background: var(--gradient-pink);
}
.bottom-nav-item .nav-badge {
  position: absolute; top: 2px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--pink-deep); color: #fff;
  font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* Main Content */
.main-content {
  flex: 1; padding-top: var(--nav-height);
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding-left: 24px; padding-right: 24px; padding-bottom: 24px;
}
.main-content.no-pad-top { padding-top: 0; }
.main-content.with-bottom-nav { padding-bottom: calc(var(--bottom-nav-height) + 24px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gradient-pink); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,107,138,0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--glass-strong); color: var(--pink); border: 1px solid rgba(255,107,138,0.2); }
.btn-secondary:hover { background: rgba(255,107,138,0.08); }
.btn-outline { background: transparent; color: var(--pink); border: 1.5px solid rgba(255,107,138,0.3); }
.btn-outline:hover { background: rgba(255,107,138,0.06); border-color: var(--pink); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: rgba(0,0,0,0.04); color: var(--text-primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-icon {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-icon svg { width: 20px; height: 20px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-md);
  border: 1.5px solid rgba(139,123,142,0.15);
  background: rgba(255,255,255,0.8); font-size: 15px;
  color: var(--text-primary); transition: all var(--transition);
}
.form-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,107,138,0.12);
  background: #fff;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input-icon { position: relative; }
.form-input-icon .form-input { padding-left: 44px; }
.form-input-icon svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-muted);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B7B8E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.toggle-switch {
  width: 48px; height: 28px; border-radius: 14px;
  background: #E5E1E6; position: relative;
  transition: background var(--transition); cursor: pointer;
  flex-shrink: 0;
}
.toggle-switch.active { background: var(--pink); }
.toggle-switch::after {
  content: ''; position: absolute;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch.active::after { transform: translateX(20px); }
.form-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.form-toggle-label { font-size: 14px; font-weight: 500; }
.form-toggle-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* Tags & Badges */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
}
.tag-pink { background: rgba(255,107,138,0.12); color: var(--pink-deep); }
.tag-purple { background: rgba(168,85,247,0.12); color: #7C3AED; }
.tag-green { background: rgba(16,185,129,0.12); color: #059669; }
.tag-blue { background: rgba(59,130,246,0.12); color: #2563EB; }
.tag-orange { background: rgba(245,158,11,0.12); color: #D97706; }
.online-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--success); border: 2px solid #fff; display: inline-block;
}
.online-dot.offline { background: #D1D5DB; }
.vip-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #7C3AED;
}
.verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
  background: rgba(59,130,246,0.12); color: var(--blue);
}
.verified-badge.unverified {
  background: rgba(156,163,175,0.15); color: #9CA3AF;
}
.vip-badge.inactive {
  background: linear-gradient(135deg, #D1D5DB, #9CA3AF);
  color: #6B7280;
}
.profile-bio-edit {
  width: 100%; min-height: 100px; padding: 14px;
  border: 1.5px solid rgba(0,0,0,0.08); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.6); backdrop-filter: blur(10px);
  font-family: inherit; font-size: 14px; line-height: 1.6;
  color: var(--text-primary); resize: vertical;
  transition: border-color var(--transition);
}
.profile-bio-edit:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,107,138,0.1);
}
.profile-bio-edit::placeholder { color: var(--text-secondary); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(45,27,48,0.9); color: #fff; padding: 10px 24px;
  border-radius: var(--radius-full); font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: all 0.3s ease;
  z-index: 9999; backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Cards */
.card {
  background: var(--gradient-card);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg); padding: 20px;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-flat {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-lg); padding: 16px;
}

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.section-link { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; }
.section-link:hover { color: var(--pink); }

/* ===== LANDING PAGE ===== */
.landing-hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
  position: relative; overflow: hidden;
}
.landing-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(255,107,138,0.12), transparent),
    radial-gradient(ellipse 500px 500px at 80% 60%, rgba(168,85,247,0.08), transparent),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(59,130,246,0.06), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: var(--gradient-pink); border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pink); animation: float 3s ease-in-out infinite;
}
.hero-icon svg { width: 40px; height: 40px; color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-title {
  font-size: 48px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--pink-deep) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 36px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,107,138,0.1);
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 28px; font-weight: 800; color: var(--pink-deep); font-family: var(--font-en); }
.hero-stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.landing-features { padding: 80px 24px; max-width: 1000px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--gradient-card); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl); padding: 32px 24px;
  text-align: center; transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.pink { background: rgba(255,107,138,0.12); color: var(--pink); }
.feature-icon.purple { background: rgba(168,85,247,0.12); color: var(--purple); }
.feature-icon.blue { background: rgba(59,130,246,0.12); color: var(--blue); }
.feature-icon.green { background: rgba(16,185,129,0.12); color: var(--success); }
.feature-icon.orange { background: rgba(245,158,11,0.12); color: var(--warning); }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.landing-safety { padding: 60px 24px; max-width: 800px; margin: 0 auto; text-align: center; }
.safety-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.safety-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.5);
}
.safety-badge svg { width: 20px; height: 20px; color: var(--success); }
.safety-badge span { font-size: 14px; font-weight: 500; }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center; padding: 24px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--gradient-card); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl); padding: 40px 32px;
  box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--gradient-pink); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pink);
}
.auth-logo svg { width: 28px; height: 28px; color: #fff; }
.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-desc { font-size: 14px; color: var(--text-secondary); }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0; color: var(--text-muted); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(139,123,142,0.15);
}
.social-login { display: flex; gap: 12px; margin-bottom: 24px; }
.social-btn {
  flex: 1; padding: 12px; border-radius: var(--radius-md);
  border: 1.5px solid rgba(139,123,142,0.12);
  background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  transition: all var(--transition);
}
.social-btn:hover { border-color: rgba(255,107,138,0.3); background: rgba(255,255,255,0.9); }
.social-btn svg { width: 20px; height: 20px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-secondary); }
.auth-footer a { font-weight: 600; }
.auth-tabs {
  display: flex; margin-bottom: 28px;
  background: rgba(0,0,0,0.04); border-radius: var(--radius-full); padding: 4px;
}
.auth-tab {
  flex: 1; padding: 10px; text-align: center;
  border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  transition: all var(--transition);
}
.auth-tab.active { background: #fff; color: var(--pink); box-shadow: var(--shadow-sm); }

/* ===== DISCOVER / SWIPE CARDS ===== */
.discover-page { padding-top: var(--nav-height); }
.discover-container {
  max-width: 480px; margin: 0 auto; padding: 16px 16px 24px;
  min-height: calc(100vh - var(--nav-height));
  display: flex; flex-direction: column;
}
.discover-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.discover-title { font-size: 22px; font-weight: 700; }
.filter-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.5);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--pink); color: var(--pink); }
.filter-btn svg { width: 16px; height: 16px; }

.filter-panel {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl); padding: 24px;
  margin-bottom: 16px; display: none;
  animation: slideDown 0.3s ease-out;
}
.filter-panel.show { display: block; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.filter-section { margin-bottom: 20px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-section-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tag {
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500;
  background: rgba(0,0,0,0.04); color: var(--text-secondary);
  transition: all var(--transition); cursor: pointer;
  border: 1px solid transparent;
}
.filter-tag:hover { background: rgba(255,107,138,0.08); color: var(--pink); }
.filter-tag.active { background: rgba(255,107,138,0.12); color: var(--pink-deep); border-color: rgba(255,107,138,0.2); }

.swipe-area {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.swipe-card {
  position: absolute; width: 100%; max-width: 380px;
  border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg);
  cursor: grab; user-select: none;
  transition: box-shadow 0.2s; touch-action: none;
}
.swipe-card:active { cursor: grabbing; }
.swipe-card-img {
  width: 100%; height: 380px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.swipe-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0; z-index: 0;
}
.swipe-card-avatar-placeholder {
  width: 100%; height: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; font-weight: 700; color: rgba(255,255,255,0.8);
}
.swipe-card-gradient {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
}
.swipe-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; z-index: 2; }
.swipe-card-name { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.swipe-card-name .age { font-weight: 400; opacity: 0.9; }
.swipe-card-location { font-size: 13px; opacity: 0.8; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.swipe-card-location svg { width: 14px; height: 14px; }
.swipe-card-bio { font-size: 14px; opacity: 0.9; margin-top: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swipe-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.swipe-card-tag {
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
}
.swipe-card-stamp {
  position: absolute; top: 40px; z-index: 10;
  padding: 8px 20px; border-radius: var(--radius-md);
  font-size: 28px; font-weight: 800;
  border: 3px solid; opacity: 0;
  pointer-events: none; transition: opacity 0.15s;
}
.swipe-card-stamp.like { right: 20px; color: var(--success); border-color: var(--success); transform: rotate(-15deg); }
.swipe-card-stamp.nope { left: 20px; color: var(--danger); border-color: var(--danger); transform: rotate(15deg); }

.swipe-actions { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 20px 0; }
.swipe-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-md); transition: all var(--transition);
}
.swipe-btn:hover { transform: scale(1.1); }
.swipe-btn:active { transform: scale(0.95); }
.swipe-btn svg { width: 24px; height: 24px; }
.swipe-btn.nope:hover { box-shadow: 0 4px 16px rgba(239,68,68,0.3); }
.swipe-btn.nope svg { color: var(--danger); }
.swipe-btn.super:hover { box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.swipe-btn.super svg { color: var(--blue); }
.swipe-btn.like:hover { box-shadow: var(--shadow-pink); }
.swipe-btn.like svg { color: var(--pink); }
.swipe-btn.boost:hover { box-shadow: 0 4px 16px rgba(168,85,247,0.3); }
.swipe-btn.boost svg { color: var(--purple); }
.swipe-btn-sm { width: 44px; height: 44px; }
.swipe-btn-sm svg { width: 20px; height: 20px; }

.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 24px; text-align: center; }
.empty-state-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,107,138,0.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.empty-state-icon svg { width: 36px; height: 36px; color: var(--pink-light); }
.empty-state-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state-desc { font-size: 14px; color: var(--text-secondary); max-width: 280px; }

/* ===== MATCH MODAL ===== */
.match-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(45,27,48,0.5); backdrop-filter: blur(8px);
}
.match-modal.show { display: flex; }
.match-content { text-align: center; padding: 40px; animation: matchPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes matchPop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.match-hearts { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.match-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: #fff;
}
.match-heart { width: 48px; height: 48px; animation: heartBeat 0.6s ease-in-out infinite alternate; }
.match-heart svg { width: 48px; height: 48px; color: var(--pink); }
@keyframes heartBeat { from { transform: scale(1); } to { transform: scale(1.15); } }
.match-title { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.match-subtitle { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.match-actions { display: flex; gap: 12px; justify-content: center; }

/* ===== MESSAGES PAGE ===== */
.messages-page { padding-top: var(--nav-height); }
.messages-container {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--nav-height));
}
.messages-header { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.messages-title { font-size: 22px; font-weight: 700; }
.messages-search { margin: 0 24px 16px; position: relative; }
.messages-search input {
  width: 100%; padding: 10px 16px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(139,123,142,0.12);
  background: rgba(255,255,255,0.7); font-size: 14px;
  transition: all var(--transition);
}
.messages-search input:focus { background: #fff; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,107,138,0.1); }
.messages-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); }

.new-matches { padding: 0 24px 16px; border-bottom: 1px solid rgba(139,123,142,0.08); margin-bottom: 8px; }
.new-matches-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.new-matches-scroll::-webkit-scrollbar { display: none; }
.new-match-item { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 68px; cursor: pointer; }
.new-match-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  padding: 2px; background: var(--gradient-pink); position: relative;
}
.new-match-avatar-inner {
  width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; color: #fff;
}
.new-match-name { font-size: 11px; color: var(--text-secondary); text-align: center; max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.conversation-list { flex: 1; padding: 0 8px; }
.conversation-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-lg);
  cursor: pointer; transition: background var(--transition);
}
.conversation-item:hover { background: rgba(255,255,255,0.5); }
.conversation-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: #fff;
}
.conversation-avatar .online-indicator {
  position: absolute; bottom: 2px; right: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--success); border: 2px solid #fff;
}
.conversation-info { flex: 1; min-width: 0; }
.conversation-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.conversation-preview { font-size: 13px; color: var(--text-secondary); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.conversation-time { font-size: 11px; color: var(--text-muted); }
.conversation-unread {
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--pink); color: #fff;
  font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* ===== CHAT DETAIL ===== */
.chat-detail { position: fixed; inset: 0; z-index: 200; background: var(--page-bg); display: none; flex-direction: column; }
.chat-detail.show { display: flex; }
.chat-header {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139,123,142,0.08);
}
.chat-back {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.chat-back:hover { background: rgba(0,0,0,0.04); }
.chat-back svg { width: 20px; height: 20px; }
.chat-user-info { flex: 1; }
.chat-user-name { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chat-user-status { font-size: 12px; color: var(--success); }
.chat-actions { display: flex; gap: 8px; }
.chat-action-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.chat-action-btn:hover { background: rgba(255,107,138,0.08); color: var(--pink); }
.chat-action-btn svg { width: 20px; height: 20px; }

.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { display: flex; gap: 8px; max-width: 80%; animation: msgIn 0.3s ease-out; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.sent { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #fff;
}
.chat-msg-bubble { padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.5; position: relative; }
.chat-msg.received .chat-msg-bubble { background: rgba(255,255,255,0.9); border-bottom-left-radius: 4px; }
.chat-msg.sent .chat-msg-bubble { background: var(--gradient-pink); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-time { font-size: 10px; color: var(--text-muted); margin-top: 4px; padding: 0 4px; }
.chat-msg.sent .chat-msg-time { text-align: right; }
.chat-msg-translate {
  margin-top: 6px; padding: 6px 10px;
  background: rgba(255,107,138,0.06); border-radius: var(--radius-sm);
  font-size: 12px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 4px;
}
.chat-msg-translate svg { width: 12px; height: 12px; color: var(--pink); }
.chat-date-divider { text-align: center; padding: 12px 0; font-size: 12px; color: var(--text-muted); }

.chat-ai-bar {
  padding: 8px 16px; background: rgba(168,85,247,0.04);
  border-top: 1px solid rgba(168,85,247,0.08);
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
}
.chat-ai-bar::-webkit-scrollbar { display: none; }
.ai-suggestion {
  flex-shrink: 0; padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 12px; color: var(--purple);
  background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.12);
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.ai-suggestion:hover { background: rgba(168,85,247,0.15); }

.chat-input-area {
  padding: 12px 16px; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(139,123,142,0.08);
  display: flex; align-items: flex-end; gap: 8px;
}
.chat-input-tools { display: flex; gap: 4px; }
.chat-tool-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.chat-tool-btn:hover { color: var(--pink); background: rgba(255,107,138,0.06); }
.chat-tool-btn svg { width: 20px; height: 20px; }
.chat-input-wrapper { flex: 1; }
.chat-input {
  width: 100%; padding: 10px 16px; border-radius: 20px;
  border: 1.5px solid rgba(139,123,142,0.12);
  background: rgba(255,255,255,0.8); font-size: 14px;
  resize: none; max-height: 100px; line-height: 1.4;
  transition: all var(--transition);
}
.chat-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,107,138,0.08); }
.chat-send-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-pink);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-pink);
  transition: all var(--transition); flex-shrink: 0;
}
.chat-send-btn:hover { transform: scale(1.05); }
.chat-send-btn svg { width: 18px; height: 18px; }

/* ===== AI ASSISTANT PAGE ===== */
.ai-page { padding-top: var(--nav-height); }
.ai-container {
  max-width: 640px; margin: 0 auto; padding: 24px;
  min-height: calc(100vh - var(--nav-height));
  display: flex; flex-direction: column;
}
.ai-header-section { text-align: center; padding: 24px 0 32px; }
.ai-avatar-large {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, #A855F7, #EC4899);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
  animation: float 3s ease-in-out infinite;
}
.ai-avatar-large svg { width: 40px; height: 40px; color: #fff; }
.ai-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.ai-role { font-size: 14px; color: var(--text-secondary); }

.ai-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.ai-feature-card {
  padding: 16px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: flex-start; gap: 12px;
}
.ai-feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ai-feature-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ai-feature-icon svg { width: 18px; height: 18px; }
.ai-feature-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.ai-feature-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

.ai-chat-area {
  flex: 1; display: flex; flex-direction: column;
  background: rgba(255,255,255,0.5); border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.5); overflow: hidden;
}
.ai-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px; max-height: 400px;
}
.ai-msg { display: flex; gap: 8px; max-width: 85%; animation: msgIn 0.3s ease-out; }
.ai-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; color: #fff;
}
.ai-msg.assistant .ai-msg-avatar { background: linear-gradient(135deg, #A855F7, #EC4899); }
.ai-msg.user .ai-msg-avatar { background: var(--gradient-pink); }
.ai-msg-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.6; }
.ai-msg.assistant .ai-msg-bubble { background: rgba(255,255,255,0.9); border-bottom-left-radius: 4px; }
.ai-msg.user .ai-msg-bubble { background: var(--gradient-pink); color: #fff; border-bottom-right-radius: 4px; }
.ai-chat-input { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid rgba(139,123,142,0.08); }
.ai-chat-input input {
  flex: 1; padding: 10px 16px; border-radius: var(--radius-full);
  border: 1.5px solid rgba(139,123,142,0.12);
  background: rgba(255,255,255,0.8); font-size: 14px;
  transition: all var(--transition);
}
.ai-chat-input input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168,85,247,0.1); }
.ai-chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #A855F7, #EC4899);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--transition);
}
.ai-chat-send:hover { transform: scale(1.05); }
.ai-chat-send svg { width: 16px; height: 16px; }

/* ===== PROFILE PAGE ===== */
.profile-page { padding-top: var(--nav-height); }
.profile-container { max-width: 640px; margin: 0 auto; padding: 24px; }
.profile-hero { text-align: center; padding: 32px 0; }
.profile-avatar-large {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 16px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 700; color: #fff;
  border: 3px solid #fff; box-shadow: var(--shadow-lg);
}
.profile-avatar-edit {
  position: absolute; bottom: 0; right: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gradient-pink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer;
}
.profile-avatar-edit svg { width: 14px; height: 14px; }
.profile-name { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.profile-meta { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; gap: 8px; }
.profile-badges { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.profile-stats {
  display: flex; justify-content: center; gap: 40px;
  padding: 20px 0; margin: 16px 0;
  border-top: 1px solid rgba(139,123,142,0.08);
  border-bottom: 1px solid rgba(139,123,142,0.08);
}
.profile-stat { text-align: center; }
.profile-stat-value { font-size: 22px; font-weight: 800; color: var(--pink-deep); font-family: var(--font-en); }
.profile-stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.profile-section { margin-bottom: 24px; }
.profile-section-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.profile-section-title svg { width: 18px; height: 18px; color: var(--pink); }
.profile-bio { font-size: 14px; color: var(--text-secondary); line-height: 1.7; padding: 16px; background: rgba(255,255,255,0.5); border-radius: var(--radius-md); }
.profile-interests { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-interest { padding: 6px 14px; border-radius: var(--radius-full); font-size: 13px; background: rgba(255,107,138,0.08); color: var(--pink); font-weight: 500; }
.profile-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.profile-photo {
  aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 600; color: rgba(255,255,255,0.8);
}
.profile-photo.add { border: 2px dashed rgba(139,123,142,0.2); background: transparent; color: var(--text-muted); cursor: pointer; }
.profile-photo.add svg { width: 24px; height: 24px; }

/* ===== MEMBERSHIP PAGE ===== */
.membership-page { padding-top: var(--nav-height); }
.membership-container { max-width: 640px; margin: 0 auto; padding: 24px; }
.membership-header { text-align: center; padding: 32px 0; }
.membership-crown {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}
.membership-crown svg { width: 32px; height: 32px; color: #fff; }
.membership-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.membership-desc { font-size: 14px; color: var(--text-secondary); }

.plan-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.plan-card {
  padding: 24px; border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7); border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer; transition: all var(--transition); position: relative; overflow: hidden;
}
.plan-card:hover { border-color: rgba(255,107,138,0.2); }
.plan-card.popular { border-color: var(--pink); background: rgba(255,255,255,0.9); }
.plan-card-popular-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--gradient-pink); color: #fff;
  font-size: 11px; font-weight: 600;
}
.plan-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.plan-price { font-size: 32px; font-weight: 800; color: var(--pink-deep); font-family: var(--font-en); }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--text-secondary); }
.plan-features { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.plan-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.plan-feature svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.plan-feature.disabled { color: var(--text-muted); }
.plan-feature.disabled svg { color: var(--text-muted); }

/* ===== SETTINGS PAGE ===== */
.settings-page { padding-top: var(--nav-height); }
.settings-container { max-width: 640px; margin: 0 auto; padding: 24px; }
.settings-section { margin-bottom: 24px; }
.settings-section-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.settings-list { background: rgba(255,255,255,0.6); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.5); }
.settings-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid rgba(139,123,142,0.06);
}
.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: rgba(255,255,255,0.5); }
.settings-item-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.settings-item-icon svg { width: 18px; height: 18px; }
.settings-item-icon.pink { background: rgba(255,107,138,0.1); color: var(--pink); }
.settings-item-icon.purple { background: rgba(168,85,247,0.1); color: var(--purple); }
.settings-item-icon.blue { background: rgba(59,130,246,0.1); color: var(--blue); }
.settings-item-icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.settings-item-icon.orange { background: rgba(245,158,11,0.1); color: var(--warning); }
.settings-item-icon.red { background: rgba(239,68,68,0.1); color: var(--danger); }
.settings-item-icon.gray { background: rgba(0,0,0,0.04); color: var(--text-secondary); }
.settings-item-content { flex: 1; }
.settings-item-title { font-size: 14px; font-weight: 500; }
.settings-item-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.settings-item-arrow { color: var(--text-muted); }
.settings-item-arrow svg { width: 16px; height: 16px; }

/* ===== DAILY CHECK-IN ===== */
.checkin-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(45,27,48,0.4); backdrop-filter: blur(8px);
}
.checkin-modal.show { display: flex; }
.checkin-content {
  width: 90%; max-width: 380px; padding: 32px;
  background: var(--gradient-card); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl); text-align: center;
  animation: matchPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.checkin-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.checkin-streak { font-size: 48px; font-weight: 800; color: var(--pink-deep); font-family: var(--font-en); margin: 16px 0; }
.checkin-rewards { display: flex; justify-content: center; gap: 12px; margin: 20px 0; }
.checkin-reward {
  padding: 8px 16px; border-radius: var(--radius-md);
  background: rgba(255,107,138,0.08); font-size: 13px; font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .bottom-nav { display: flex; }
  .main-content.with-bottom-nav { padding-bottom: calc(var(--bottom-nav-height) + 24px); }
  .top-nav .nav-actions .hide-mobile { display: none; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .ai-features { grid-template-columns: 1fr; }
  .profile-stats { gap: 24px; }
  .safety-badges { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .top-nav { padding: 0 16px; }
  .main-content { padding-left: 16px; padding-right: 16px; }
  .hero-title { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .swipe-card-img, .swipe-card-avatar-placeholder { height: 320px; }
  .auth-card { padding: 32px 24px; }
  .plan-cards { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-pink { color: var(--pink); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
