/* ===== MEETME — PREMIUM DATING WEBSITE CSS ===== */
/* Design: Clean American Premium (Tinder-inspired) */

:root {
  --coral: #FF4B6E;
  --orange: #FF8C55;
  --gradient: linear-gradient(135deg, #FF4B6E 0%, #FF8C55 100%);
  --gradient-soft: linear-gradient(135deg, #fff0f3 0%, #fff5f0 100%);
  --dark: #1A1A2E;
  --mid: #2E2E3E;
  --text: #222236;
  --sub: #6B6B80;
  --border: #E8E8F0;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --nav-h: 64px;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(255,75,110,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a { text-decoration: none; color: var(--coral); }
a:hover { opacity: 0.85; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.logo-text strong { color: var(--coral); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--gradient-soft); color: var(--coral); }

.badge {
  background: var(--coral);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  line-height: 1.4;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.online-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0fff4;
  border: 1px solid #c3f0d5;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #1a7a3f;
  white-space: nowrap;
}
.online-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full-width { width: 100%; }

.btn-primary-sm {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}
.btn-primary-sm:hover { color: white; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,75,110,0.3); }

.btn-ghost {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }

.btn-ghost-sm {
  background: none;
  border: none;
  color: var(--sub);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.btn-ghost-sm:hover { color: var(--coral); background: var(--gradient-soft); }

.btn-ghost-outline {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost-outline:hover { border-color: var(--coral); color: var(--coral); }
.btn-ghost-outline.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  background: var(--gradient-soft);
  color: var(--coral);
  border: 1.5px solid rgba(255,75,110,0.2);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--gradient); color: white; border-color: transparent; }
.btn-secondary.full-width { width: 100%; }

.btn-hero {
  background: white;
  color: var(--coral);
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }

.btn-hero-outline {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.25); }

.btn-premium {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-premium:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.35); }

.btn-premium-lg {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  display: block;
  width: 100%;
  text-align: center;
}
.btn-premium-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }

.btn-danger {
  background: #fff0f0;
  border: 1.5px solid #fecaca;
  color: #dc2626;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
}
.btn-danger:hover { background: #dc2626; color: white; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ===== PAGES ===== */
.page { display: none; padding-top: var(--nav-h); min-height: 100vh; }
.page.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== HOME / HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF4B6E 0%, #FF8C55 50%, #FFB347 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: 130px;
}
.float-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.float-card span { display: block; padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--dark); }

.fc1 { top: 12%; left: 6%; transform: rotate(-4deg); animation: float1 6s ease-in-out infinite; }
.fc2 { top: 8%; right: 8%; transform: rotate(5deg); animation: float2 7s ease-in-out infinite; }
.fc3 { bottom: 15%; left: 5%; transform: rotate(3deg); animation: float1 5s ease-in-out infinite 1s; }

@keyframes float1 { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
@keyframes float2 { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-16px); } }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  color: white;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.hero-title .gradient-text { background: linear-gradient(135deg, #fff 0%, #ffe4ec 100%); -webkit-background-clip: text; background-clip: text; }

.hero-sub { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 900; font-family: 'Playfair Display', serif; }
.hero-stats span { font-size: 13px; opacity: 0.8; }

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 80px 24px;
  text-align: center;
  background: white;
}
.features-section h2 { margin-bottom: 48px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--gradient-soft);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all .3s;
  border: 1px solid rgba(255,75,110,0.08);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--sub); font-size: 14px; }

/* ===== DISCOVERY PREVIEW ===== */
.discovery-preview {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg);
}
.discovery-preview h2 { margin-bottom: 12px; }
.section-sub { color: var(--sub); margin-bottom: 48px; }

.preview-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -20px;
  margin-bottom: 40px;
  position: relative;
  height: 320px;
}

.preview-card {
  width: 200px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform .3s;
  margin: 0 -15px;
}
.preview-card:hover { transform: scale(1.08) rotate(0deg) !important; z-index: 5; }
.preview-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 30px 14px 14px;
  color: white;
}
.pc-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.pc-loc { font-size: 12px; opacity: 0.85; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 48px 24px 32px;
}
.footer-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-bottom: 24px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--coral); }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 12px; margin-bottom: 8px; }

/* ===== AUTH LAYOUT ===== */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.auth-visual {
  position: relative;
  overflow: hidden;
}
.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auth-visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(30,0,20,0.9) 0%, transparent 100%);
  padding: 48px 40px;
  color: white;
}
.auth-visual-tag {
  background: var(--coral);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.auth-visual-overlay h2 { color: white; font-size: 1.4rem; margin-bottom: 10px; }
.auth-visual-overlay p { font-size: 13px; opacity: 0.7; }

.auth-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
  background: white;
  overflow-y: auto;
}

.back-link { color: var(--sub); font-size: 13px; margin-bottom: 24px; display: inline-block; }
.back-link:hover { color: var(--coral); }

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.auth-form-wrap h1 { margin-bottom: 8px; font-size: 2rem; }
.auth-sub { color: var(--sub); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: all .2s;
  outline: none;
}
.form-input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,75,110,0.1); }
textarea.form-input { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.terms-note { font-size: 12px; color: var(--sub); margin-bottom: 20px; line-height: 1.5; }
.terms-note a { color: var(--coral); }

.forgot-link { display: block; text-align: right; font-size: 13px; color: var(--sub); margin-bottom: 20px; margin-top: -10px; }
.forgot-link:hover { color: var(--coral); }

.auth-switch { text-align: center; font-size: 14px; color: var(--sub); margin-top: 20px; }
.auth-switch a { color: var(--coral); font-weight: 600; }

/* ===== PHOTO UPLOAD ===== */
.photo-upload-box {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-upload-box:hover { border-color: var(--coral); background: var(--gradient-soft); }
#su-photo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--sub); font-size: 14px; }
#su-photo-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }

.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.photo-slot {
  aspect-ratio: 3/4;
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  overflow: hidden;
  position: relative;
  font-size: 1.5rem;
  color: var(--sub);
  background: var(--bg);
}
.photo-slot:hover { border-color: var(--coral); color: var(--coral); }
.photo-slot.active { border-color: var(--coral); border-style: solid; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ===== DISCOVERY PAGE ===== */
.discovery-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.discovery-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.discovery-header h2 { font-size: 1.6rem; }

.discovery-filters { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.filter-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: white;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.filter-select:focus { border-color: var(--coral); }

.likes-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff0f3;
  border: 1px solid #ffd5de;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  white-space: nowrap;
}

.ad-banner {
  background: linear-gradient(135deg, #fff8f0, #fff0f5);
  border: 1.5px solid rgba(255,75,110,0.15);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
}
.ad-label {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 10px;
  color: var(--sub);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.ad-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  font-size: 14px;
}
.ad-content span { font-size: 1.8rem; }
.ad-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  margin-left: auto;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ===== PROFILE CARD ===== */
.profile-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all .25s;
  position: relative;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.profile-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.profile-card-body {
  padding: 16px;
}

.profile-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.profile-card-loc {
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 14px;
}

.profile-card-actions {
  display: flex;
  gap: 10px;
}

.btn-like {
  flex: 1;
  background: var(--gradient);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}
.btn-like:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(255,75,110,0.35); }
.btn-like.liked { background: white; color: var(--coral); border: 1.5px solid var(--coral); }

.btn-skip {
  background: white;
  color: var(--sub);
  border: 1.5px solid var(--border);
  padding: 10px 14px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  font-family: inherit;
}
.btn-skip:hover { border-color: var(--text); color: var(--text); }

.online-indicator {
  position: absolute;
  top: 12px; right: 12px;
  background: #22c55e;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ===== WHO LIKED ME ===== */
.section-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.section-header { margin-bottom: 28px; }
.section-header h2 { margin-bottom: 6px; }
.section-header p { color: var(--sub); }

.liked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.liked-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.liked-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.liked-card.blurred img { filter: blur(18px); }
.liked-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 80%);
  padding: 16px 12px 12px;
  color: white;
}
.liked-card.blurred .liked-card-overlay { padding-top: 30%; display: flex; flex-direction: column; align-items: center; justify-content: center; bottom: auto; top: 0; height: 100%; background: rgba(0,0,0,0.25); }
.liked-card-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; }

.blur-upgrade-banner {
  background: white;
  border: 2px solid rgba(255,75,110,0.15);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.blur-upgrade-banner h3 { margin: 16px 0 8px; font-size: 1.4rem; }
.blur-upgrade-banner p { color: var(--sub); margin-bottom: 24px; }

/* ===== CHAT ===== */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.chat-sidebar {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: white;
}
.chat-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-sidebar-header h3 { font-size: 1.1rem; }
.msg-counter-badge {
  background: var(--coral);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.chat-list { overflow-y: auto; flex: 1; }

.chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--bg);
}
.chat-item:hover { background: var(--bg); }
.chat-item.active { background: var(--gradient-soft); }

.chat-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid white;
}
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.chat-item-last { font-size: 13px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-time { font-size: 11px; color: var(--sub); flex-shrink: 0; }
.chat-unread { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; flex-shrink: 0; }

.chat-main { display: flex; flex-direction: column; background: var(--bg); }
.chat-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--sub); }
.active-chat { flex: 1; display: flex; flex-direction: column; }

.chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-bubble {
  max-width: 68%;
  padding: 11px 16px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}
.msg-bubble.mine {
  background: var(--gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.msg-bubble.theirs {
  background: white;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.msg-time { font-size: 11px; opacity: 0.6; margin-top: 4px; }

.msg-limit-notice {
  background: #fff8f0;
  border-top: 1px solid #fde68a;
  padding: 10px 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #92400e;
}
.msg-limit-notice a { color: var(--coral); font-weight: 600; }

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: white;
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1;
  padding: 11px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.chat-input:focus { border-color: var(--coral); }

.send-btn {
  width: 44px; height: 44px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.send-btn:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(255,75,110,0.35); }

/* ===== MY PROFILE PAGE ===== */
.profile-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.profile-card-big {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.profile-photos-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--border);
}
.profile-photos-edit img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  cursor: pointer; transition: opacity .2s;
}
.profile-photos-edit img:hover { opacity: 0.85; }
.profile-photos-edit .no-photo {
  width: 100%; height: 200px;
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--sub); font-size: 24px; cursor: pointer;
}

.profile-info-edit {
  padding: 32px;
}

.profile-name-tag {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.premium-badge {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.prompts-section { margin-bottom: 24px; }
.prompt-display {
  background: var(--gradient-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.prompt-display-q { font-size: 12px; font-weight: 600; color: var(--coral); margin-bottom: 6px; }
.prompt-display-a { font-size: 14px; color: var(--text); }

.profile-edit-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== ACCOUNT PAGE ===== */
.account-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
}
.account-layout h2 { margin-bottom: 28px; }

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}

.account-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.account-card h3 { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

.prompt-item { margin-bottom: 18px; }
.prompt-label { display: block; font-size: 13px; font-weight: 600; color: var(--coral); margin-bottom: 6px; }

.membership-status { text-align: center; }
.plan-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.free-plan { background: #f3f4f6; color: var(--sub); }
.premium-plan-badge { background: linear-gradient(135deg, #f59e0b, #f97316); color: white; }

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features li { font-size: 14px; }

.account-actions { display: flex; flex-direction: column; gap: 10px; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s;
}
.modal-overlay.hidden { display: none; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  color: var(--text);
  transition: background .2s;
  z-index: 10;
}
.modal-close:hover { background: white; }

/* Profile Modal */
.profile-modal {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  max-width: 460px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.modal-photos img {
  width: 100%; height: 200px; object-fit: cover;
}
.modal-photos img:first-child:last-child { grid-column: span 2; height: 320px; }

.modal-info { padding: 24px; }
.modal-info h2 { margin-bottom: 6px; }
.modal-info p { color: var(--sub); font-size: 14px; margin-bottom: 16px; }
.modal-prompt { background: var(--gradient-soft); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.modal-prompt small { font-size: 11px; font-weight: 700; color: var(--coral); display: block; margin-bottom: 4px; }
.modal-prompt span { font-size: 14px; }

.modal-actions {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
}

/* Premium Modal */
.premium-modal {
  background: white;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.premium-modal-inner { padding: 40px 36px; text-align: center; }
.premium-icon { font-size: 3rem; margin-bottom: 16px; }
.premium-modal-inner h2 { margin-bottom: 8px; }
.premium-tagline { color: var(--sub); margin-bottom: 28px; }

.premium-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.premium-plan {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.premium-plan:hover { border-color: var(--coral); }
.premium-plan.popular { border-color: #f59e0b; background: #fff8f0; }
.premium-plan.selected { border-color: var(--coral); background: var(--gradient-soft); }
.plan-tag { font-size: 10px; font-weight: 800; color: #f59e0b; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-name { font-size: 13px; font-weight: 600; color: var(--sub); margin-bottom: 4px; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900; color: var(--text); }
.plan-price span { font-size: 12px; color: var(--sub); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.plan-save { font-size: 11px; color: #22c55e; font-weight: 700; margin-top: 4px; }

.premium-perks {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.premium-perks li { font-size: 14px; }

/* Checkout Modal */
.checkout-modal {
  background: white;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  position: relative;
}
.checkout-inner { padding: 36px; }
.checkout-inner h2 { margin-bottom: 28px; text-align: center; }

.checkout-steps { display: flex; flex-direction: column; gap: 20px; }
.checkout-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  transition: border-color .2s;
}
.checkout-step.active { border-color: var(--coral); background: var(--gradient-soft); }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.checkout-step h4 { margin-bottom: 6px; }
.checkout-step p { font-size: 13px; color: var(--sub); margin-bottom: 14px; }

.verify-box {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.verify-icon { font-size: 2rem; margin-bottom: 8px; }
.verify-box p { font-size: 13px; color: var(--sub); margin-bottom: 12px; }
.verify-success { color: #16a34a; font-weight: 700; font-size: 14px; margin-top: 10px; }

.secure-note {
  font-size: 12px;
  color: var(--sub);
  text-align: center;
  padding: 10px;
  background: #f0fdf4;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* ===== MATCH TOAST ===== */
.match-toast {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  animation: fadeIn .3s;
}
.match-toast.hidden { display: none; }

.match-toast-inner {
  background: white;
  border-radius: 28px;
  padding: 48px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  animation: bounceIn .4s;
}
@keyframes bounceIn { 0% { transform: scale(0.7); opacity: 0; } 70% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }

.match-hearts { font-size: 3.5rem; margin-bottom: 16px; animation: heartbeat 1s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.match-toast-inner h3 { margin-bottom: 10px; font-size: 1.8rem; color: var(--coral); }
.match-toast-inner p { color: var(--sub); margin-bottom: 24px; }

/* ===== USER AVATAR ===== */
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  position: relative;
  flex-shrink: 0;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.premium-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #f59e0b, #f97316) border-box;
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.full-width { width: 100%; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: white; padding: 16px; flex-direction: column; border-bottom: 1px solid var(--border); box-shadow: 0 8px 20px rgba(0,0,0,0.08); z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .online-pill { display: none; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-wrap { padding: 32px 24px; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 100; }
  .chat-sidebar.mobile-open { display: flex; }
  .profile-card-big { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .nav-right { gap: 8px; }
  .btn-premium { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .premium-plans { grid-template-columns: 1fr; }
  .checkout-step { grid-template-columns: 1fr; }
  .step-num { display: none; }
  .fc2, .fc3 { display: none; }
  .preview-cards .preview-card:nth-child(1),
  .preview-cards .preview-card:nth-child(3) { display: none; }
  .preview-card { margin: 0; transform: none !important; width: 240px; height: 320px; }
}
