/* ============================================================
   Womeown — luxurious aubergine, rose gold & cream
   ============================================================ */

:root {
  --bg-primary: #1c0f1a;
  --bg-secondary: #291625;
  --bg-card: rgba(253, 242, 248, 0.05);
  --border: rgba(251, 207, 232, 0.14);
  --text-primary: #fdf2f8;
  --text-muted: #c9a9bd;
  --accent: #ec4899;
  --accent-2: #e8b482;
  --accent-gradient: linear-gradient(135deg, #be185d, #d97757);
  --success: #6ee7b7;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

body { background:
  radial-gradient(ellipse 70% 45% at 80% -5%, rgba(190, 24, 93, 0.20), transparent),
  radial-gradient(ellipse 55% 40% at 10% 100%, rgba(217, 119, 87, 0.12), transparent),
  var(--bg-primary); }

h1, h2, h3 { font-family: var(--font-display); }

.btn-primary { background: var(--accent-gradient); box-shadow: 0 6px 24px rgba(190, 24, 93, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(190, 24, 93, 0.5); }
.badge { background: rgba(236, 72, 153, 0.14); color: #f9a8d4; border-color: rgba(236, 72, 153, 0.3); }

/* =================== LANDING =================== */
.landing { max-width: 1040px; margin: 0 auto; padding: 0 22px 80px; }
.landing-nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.logo .mark { background: linear-gradient(135deg, #f9a8d4, #e8b482); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { text-align: center; padding: 64px 0 40px; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.12; margin: 18px 0; font-style: italic; }
.hero h1 .grad { background: linear-gradient(135deg, #f9a8d4, #e8b482); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto 30px; font-size: 1.05rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 56px; }
.feature-card { transition: transform 0.25s, border-color 0.25s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.feature-card .f-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 7px; }
.feature-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.6; }

.section-title { text-align: center; margin-top: 72px; font-size: clamp(1.5rem, 4vw, 2.1rem); font-style: italic; }
.section-sub { text-align: center; color: var(--text-muted); margin-top: 8px; }

/* =================== APP SHELL =================== */
.app-shell { display: flex; min-height: 100vh; min-height: 100dvh; }
.sidebar {
  width: 250px; flex-shrink: 0; padding: 22px 16px;
  background: rgba(28, 15, 26, 0.88); border-right: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; z-index: 100;
}
.sidebar .logo { padding: 0 10px 18px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; border: none; background: transparent;
  color: var(--text-muted); font-size: 0.92rem; font-weight: 600; text-align: left; width: 100%;
  transition: background 0.15s, color 0.15s;
}
.nav-item:hover { background: var(--bg-card); color: var(--text-primary); }
.nav-item.active { background: linear-gradient(135deg, rgba(190,24,93,0.24), rgba(217,119,87,0.14)); color: var(--text-primary); box-shadow: inset 0 0 0 1px rgba(236,72,153,0.35); }
.sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

.main { flex: 1; padding: 26px clamp(16px, 3.5vw, 42px) 90px; min-width: 0; }
.view { display: none; animation: fadeIn 0.25s ease; }
.view.active { display: block; }
.view-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.view-head h2 { font-size: 1.6rem; font-style: italic; }
.view-head p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; font-family: var(--font-body); }

/* Feed */
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; min-height: 36px; }
.chip.active, .chip:hover { border-color: var(--accent); color: var(--text-primary); background: rgba(236,72,153,0.12); }
.chip.locked { opacity: 0.75; border-style: dashed; }
.member-card.locked-card { opacity: 0.82; border-style: dashed; }

.post { margin-bottom: 14px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-gradient); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-author { font-weight: 700; font-size: 0.9rem; }
.post-meta { color: var(--text-muted); font-size: 0.75rem; }
.post-body { font-size: 0.93rem; line-height: 1.65; word-break: break-word; }
.post-actions { display: flex; gap: 14px; margin-top: 11px; }
.post-action { background: none; border: none; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 8px; }
.post-action:hover { color: var(--accent); background: rgba(236,72,153,0.08); }
.post-action.liked { color: var(--accent); }
.replies { margin-top: 12px; border-left: 2px solid var(--border); padding-left: 14px; display: flex; flex-direction: column; gap: 10px; }
.reply { font-size: 0.86rem; line-height: 1.55; }
.reply .r-author { font-weight: 700; color: var(--accent-2); }
.reply-row { display: flex; gap: 8px; margin-top: 10px; }
.reply-row input { flex: 1; }

/* Matchmaker */
.match-stage { max-width: 420px; margin: 0 auto; }
.match-card { text-align: center; padding: 30px 24px; animation: popIn 0.3s ease; }
.match-card .avatar { width: 74px; height: 74px; font-size: 1.6rem; margin: 0 auto 14px; }
.match-card h3 { font-size: 1.3rem; }
.match-card .m-role { color: var(--accent-2); font-weight: 600; font-size: 0.9rem; margin: 4px 0 12px; font-family: var(--font-body); }
.match-card .m-bio { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.match-tags { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
.match-btns { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.match-btn { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); font-size: 1.5rem; transition: transform 0.15s; }
.match-btn:hover { transform: scale(1.1); }
.match-btn.yes { border-color: var(--accent); box-shadow: 0 0 24px rgba(236,72,153,0.3); }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.member-card { text-align: center; padding: 22px 16px; }
.member-card .avatar { margin: 0 auto 10px; }
.social-row { display: flex; gap: 9px; justify-content: center; margin: 10px 0 4px; font-size: 1rem; }
.social-row a { opacity: 0.8; transition: opacity 0.15s, transform 0.15s; }
.social-row a:hover { opacity: 1; transform: translateY(-2px); }

/* My Profile */
.avatar-lg { width: 60px; height: 60px; font-size: 1.5rem; }
.strength-card .strength-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.strength-card .strength-bar .fill { height: 100%; border-radius: 99px; background: var(--accent-gradient); transition: width 0.5s cubic-bezier(0.4,0,0.2,1); }

/* Resource vault */
.resource { margin-bottom: 12px; overflow: hidden; }
.resource-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; padding: 4px 0; }
.resource-head h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.resource-body { display: none; padding-top: 12px; color: var(--text-muted); font-size: 0.89rem; line-height: 1.7; }
.resource.open .resource-body { display: block; }
.resource-body ol { padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.check-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.89rem; color: var(--text-muted); }
.check-item input { width: 18px; height: 18px; accent-color: var(--accent); }
.check-item.done { text-decoration: line-through; opacity: 0.6; }

/* Mobile */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .app-shell { flex-direction: column; }
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 16px; position: sticky; top: 0; z-index: 120;
    background: rgba(28,15,26,0.94); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .hamburger { background: transparent; border: 1px solid var(--border); color: var(--text-primary); border-radius: 10px; padding: 8px 12px; font-size: 1.05rem; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; height: 100dvh;
    transform: translateX(-105%); transition: transform 0.28s ease; width: 270px;
    box-shadow: var(--shadow); z-index: 200;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 150; }
  .main { padding: 20px 16px 90px; }
  .hero { padding: 40px 0 26px; }
}

.icon-btn { background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); padding: 5px 9px; font-size: 0.85rem; min-height: 32px; }
.icon-btn:hover { color: var(--text-primary); border-color: var(--accent); }
