/* ====================================================
   Platform CSS v2.0 — Phase 4 Design System
   Design DNA: Format.com (clean portfolio), OnlyFans (feed/earnings),
   SextPanther (discover/messaging), Jessie Default (performer profile)
   ==================================================== */

/* ── COLOR SYSTEM ── */
:root {
  /* Backgrounds */
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #19192a;
  --bg-elevated: #1c1c2e;
  --bg-hover: #222238;
  /* Surface */
  --card: #14142a;
  --card-hover: #1c1c36;
  --card-border: #252540;
  /* Text */
  --text: #f0f2f8;
  --text-2: #b4b8cc;
  --text-3: #6e7290;
  --text-dim: #4a4e68;
  /* Brand — monochrome (editorial override) */
  --accent: var(--text);
  --accent-2: var(--text);
  --accent-soft: rgba(0,0,0,0.06);
  --accent-glow: transparent;
  --accent-bright: var(--text);
  /* Status — monochrome (editorial override) */
  --pink: var(--text);
  --pink-soft: rgba(0,0,0,0.04);
  --green: var(--text);
  --green-soft: rgba(0,0,0,0.04);
  --yellow: var(--text);
  --yellow-soft: rgba(0,0,0,0.04);
  --red: var(--text);
  --red-soft: rgba(0,0,0,0.04);
  --blue: var(--text);
  --blue-soft: rgba(0,0,0,0.04);
  /* Borders */
  --border: #1f1f38;
  --border-2: #2d2d4a;
  --border-3: #3a3a58;
  --border-hover: #4a4a68;
  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow: none;
  /* Font */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Transition */
  --ease: cubic-bezier(.4,0,.2,1);
  --duration: 0.2s;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 14px;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--accent-bright); }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-3); }

/* ── TYPOGRAPHY (Format.com inspired — clean, generous spacing) ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: 32px; letter-spacing: -0.03em; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; font-weight: 600; }
h5 { font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; }
p { color: var(--text-2); font-size: 14px; }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.text-dim { color: var(--text-3); }
.text-accent { color: var(--accent-2); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-pink { color: var(--pink); }

/* ── BUTTONS ── */
button, .btn {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  transition: all var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.4;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: none;
}
.btn-primary:hover { background: var(--text); opacity: 0.85; }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); color: var(--text); border-color: var(--text); }
.btn-pink { background: var(--text); color: var(--bg); }
.btn-pink:hover { opacity: 0.85; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost { background: transparent; color: var(--text-3); padding: 6px 10px; }
.btn-ghost:hover { color: var(--text); background: var(--bg-3); }
.btn-sm { padding: 6px 14px; font-size: 12px; border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius); }
.btn-icon { padding: 8px; width: 36px; height: 36px; border-radius: var(--radius-sm); }
.btn-icon:hover { background: var(--bg-3); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; }
.container-lg { max-width: 1440px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }

/* Grid system */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

/* Section spacing (Format.com style — lots of breathing room) */
.section { padding: 32px 0; }
.section-header { margin-bottom: 24px; }
.section-header h2 { margin-bottom: 4px; }
.section-header p { color: var(--text-3); font-size: 13px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.divider-sm { margin: 12px 0; }

/* ── CARDS (polished, glass-morphism hints) ── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-flat { border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); padding: 16px; }
.card-glow:hover { border-color: var(--text); box-shadow: none; }
.card-compact { padding: 14px; border-radius: var(--radius-sm); }
.card-interactive { cursor: pointer; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-body { }
.card-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ── FORMS ── */
input, textarea, select {
  font-family: var(--font);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  width: 100%;
  transition: all var(--duration) var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--bg-3);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
label { font-size: 13px; color: var(--text-2); font-weight: 500; margin-bottom: 6px; display: block; }
.input-group { margin-bottom: 16px; }
.input-icon { position: relative; }
.input-icon input { padding-left: 36px; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.search-input {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 36px;
  font-size: 13px;
}

/* ── TAGS / CHIPS / BADGES ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-accent { background: var(--accent-soft); color: var(--accent-2); }
.tag-pink { background: var(--pink-soft); color: var(--pink); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-yellow { background: var(--yellow-soft); color: var(--yellow); }
.tag-red { background: var(--red-soft); color: var(--red); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-neutral { background: var(--bg-3); color: var(--text-3); }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
}
.badge-accent { background: var(--accent); color: #fff; }
.badge-pink { background: var(--pink); color: #fff; }
.badge-green { background: var(--green); color: #fff; }

/* ── AVATAR ── */
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.avatar-sm { width: 32px; height: 32px; border-width: 1px; }
.avatar-lg { width: 64px; height: 64px; border-width: 2px; }
.avatar-xl { width: 96px; height: 96px; border-width: 3px; }
.avatar-xxl { width: 120px; height: 120px; border-width: 3px; }
.avatar-ring { border-color: var(--accent); }
.avatar-online { position: relative; }
.avatar-online::after {
  content: '';
  position: absolute;
  bottom: 1px; right: 1px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg);
}

/* ── NAVIGATION (OnlyFans-style left sidebar — handled by nav.js) ── */
.nav {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-brand { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.nav-brand span { color: var(--accent); }

/* Site nav logo — transparent bg, inherits theme color */
.site-nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}
.nav-logo-tag {
  font-family: var(--font);
  font-size: 7px;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0.15em;
  display: block;
  margin-top: 3px;
  opacity: 0.5;
}
/* .nav-links flex layout only applies to top nav, NOT sidebar */
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-3); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ── TABS (clean underline style) ── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  margin-bottom: 20px;
  overflow-x: auto;
}
.tabs button {
  background: none;
  color: var(--text-3);
  padding: 12px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
}
.tabs button:hover { color: var(--text-2); background: var(--bg-3); }
.tabs button.active { color: var(--accent-2); border-bottom-color: var(--accent); }
.tabs-pill { gap: 6px; border-bottom: none; margin-bottom: 16px; }
.tabs-pill button { border-radius: var(--radius-full); border-bottom: none; padding: 6px 16px; font-size: 12px; }
.tabs-pill button.active { background: var(--accent); color: #fff; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead { background: var(--bg-3); }
th { text-align: left; padding: 10px 14px; color: var(--text-3); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
td { padding: 12px 14px; border-top: 1px solid var(--border); color: var(--text-2); }
tr:hover td { background: var(--bg-hover); }
.table-status { display: inline-flex; align-items: center; gap: 4px; }
.table-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.table-status.active::before { background: var(--green); }
.table-status.pending::before { background: var(--yellow); }
.table-status.inactive::before { background: var(--text-dim); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h3 { font-size: 18px; }
.modal-close { background: none; border: none; color: var(--text-3); font-size: 20px; cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--text); }

/* ── STAT CARDS (dashboard) ── */
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
}
.stat-card .stat-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1.1; }
.stat-card .stat-change { font-size: 12px; margin-top: 4px; }
.stat-card .stat-change.up { color: var(--green); }
.stat-card .stat-change.down { color: var(--red); }

/* ── FEED POST (OnlyFans inspired) ── */
.post-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}
.post-header .name { font-weight: 600; font-size: 14px; color: var(--text); }
.post-header .time { font-size: 11px; color: var(--text-3); }
.post-header .verified { color: var(--accent-2); font-size: 12px; }
.post-content { padding: 0 16px 12px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.post-media { width: 100%; max-height: 600px; object-fit: cover; }
.post-media-locked {
  position: relative;
  background: var(--bg-3);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-3);
}
.post-media-locked .lock-icon { font-size: 36px; }
.post-actions {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 8px;
  border-top: 1px solid var(--border);
}
.post-action {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  color: var(--text-3);
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  transition: all var(--duration) var(--ease);
}
.post-action:hover { color: var(--text); background: var(--bg-3); }
.post-action.liked { color: var(--red); }
.post-action.tipped { color: var(--yellow); }

/* ── DISCOVER CARDS (SextPanther inspired) ── */
.discover-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  transition: transform var(--duration) var(--ease);
}
.discover-card:hover { transform: scale(1.02); }
.discover-card img { width: 100%; height: 100%; object-fit: cover; }
.discover-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.discover-card .name { color: #fff; font-weight: 700; font-size: 15px; }
.discover-card .meta { color: rgba(255,255,255,0.7); font-size: 12px; }
.discover-card .online-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.discover-category-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.discover-category-pills::-webkit-scrollbar { display: none; }
.discover-pill {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.discover-pill:hover, .discover-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── EARNINGS (OnlyFans Statements style) ── */
.earnings-balance {
  background: linear-gradient(135deg, var(--accent), #5b3cc4);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
}
.earnings-balance .label { font-size: 12px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.earnings-balance .amount { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0; }
.earnings-balance .sub { font-size: 13px; opacity: 0.7; }
.earnings-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: all var(--duration) var(--ease);
}
.earnings-platform:hover { border-color: var(--border-2); }
.earnings-platform .logo { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.earnings-platform .info { flex: 1; }
.earnings-platform .name { font-weight: 600; font-size: 14px; }
.earnings-platform .amount { color: var(--green); font-weight: 700; font-size: 15px; }

/* ── PROFILE HERO (Jessie Default inspired — minimal, bold) ── */
.profile-hero {
  position: relative;
  margin-bottom: 32px;
}
.profile-cover {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.profile-info {
  position: relative;
  margin-top: -48px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.profile-avatar-wrap {
  position: relative;
}
.profile-avatar-wrap .avatar-xxl {
  border: 4px solid var(--bg);
  box-shadow: var(--shadow);
}
.profile-details { flex: 1; padding-bottom: 8px; }
.profile-details .name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.profile-details .handle { color: var(--text-3); font-size: 14px; margin-top: 2px; }
.profile-details .bio { color: var(--text-2); font-size: 14px; margin-top: 8px; max-width: 560px; line-height: 1.6; }
.profile-stats {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}
.profile-stat { text-align: center; }
.profile-stat .num { font-size: 18px; font-weight: 700; color: var(--text); }
.profile-stat .lbl { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── MESSAGING (SextPanther chat style) ── */
.chat-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.5;
}
.chat-bubble.sent {
  background: linear-gradient(135deg, var(--accent), #6345e0);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.received {
  background: var(--bg-3);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-bubble .meta { font-size: 10px; opacity: 0.6; margin-top: 4px; }

/* ── EMPTY STATES ── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-3);
}
.empty-state .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h3 { color: var(--text-2); margin-bottom: 6px; }
.empty-state p { font-size: 13px; max-width: 320px; margin: 0 auto; }

/* ── LOADING ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-hover) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-pulse { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── TOOLTIP ── */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  z-index: 50;
}

/* ── NOTIFICATION DOT ── */
.notify-dot {
  position: relative;
}
.notify-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

/* ── PROGRESS BAR ── */
.progress-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: var(--radius-full);
  transition: width 0.5s var(--ease);
}

/* ── VERIFIED BADGE ── */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent-2);
  font-size: 12px;
}
.verified-badge::after { content: '✓'; }

/* ── PRICE TAG ── */
.price {
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.price-lg { font-size: 24px; }
.price-strikethrough { text-decoration: line-through; color: var(--text-dim); font-weight: 400; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 16px; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .stat-card .stat-value { font-size: 22px; }
  .profile-cover { height: 160px; }
  .profile-info { flex-direction: column; align-items: center; text-align: center; }
  .profile-stats { justify-content: center; }
  .post-card { border-radius: 0; border-left: 0; border-right: 0; }
  .earnings-balance .amount { font-size: 28px; }
}
@media (max-width: 480px) {
  body { font-size: 13px; }
  .container { padding: 0 12px; }
  .card { padding: 14px; }
  .tabs button { padding: 10px 12px; font-size: 12px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.3s var(--ease); }
.slide-up { animation: slideUp 0.3s var(--ease); }

/* ── MONOCHROME CHECKBOXES ── */
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text, #1a1a1a);
  border-radius: 3px;
  background: var(--bg, #fff);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
}
input[type="checkbox"]:checked {
  background: var(--bg, #fff);
  border-color: var(--text, #1a1a1a);
}
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 11px;
  border: solid var(--text, #1a1a1a);
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--text, #1a1a1a);
  outline-offset: 2px;
}






/* ====================================================
   LIGHT MODE
   ==================================================== */

[data-theme="light"] {
  /* Backgrounds */
  --bg: #ffffff;
  --bg-2: #f8f9fa;
  --bg-3: #e9ecef;
  --bg-elevated: #ffffff;
  --bg-hover: #f1f3f5;
  
  /* Surface */
  --card: #ffffff;
  --card-hover: #f8f9fa;
  --card-border: #dee2e6;
  
  /* Text */
  --text: #000000;
  --text-2: #495057;
  --text-3: #6c757d;
  --text-dim: #adb5bd;
  
  /* Brand (monochrome) */
  --accent: var(--text);
  --accent-2: var(--text);
  --accent-soft: rgba(0,0,0,0.06);
  --accent-glow: transparent;
  --accent-bright: var(--text);
  
  /* Status (monochrome) */
  --pink: var(--text);
  --pink-soft: rgba(0,0,0,0.04);
  --green: var(--text);
  --green-soft: rgba(0,0,0,0.04);
  --yellow: var(--text);
  --yellow-soft: rgba(0,0,0,0.04);
  --red: var(--text);
  --red-soft: rgba(0,0,0,0.04);
  --blue: var(--text);
  --blue-soft: rgba(0,0,0,0.04);
  
  /* Borders */
  --border: #dee2e6;
  --border-2: #ced4da;
  --border-3: #adb5bd;
  --border-hover: #868e96;
  
  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-glow: none;
}

