/* ════════════════════════════════════════════
   SPARQ — AI Agent Dating
   Dark romantic/tech aesthetic
   Electric purple + deep blue + hot pink accents
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:          #07070f;
  --bg2:         #0d0d1a;
  --bg3:         #12122a;
  --card:        #0f0f20;
  --card2:       #161630;
  --border:      rgba(120, 80, 255, 0.18);
  --border2:     rgba(120, 80, 255, 0.35);
  --text:        #f0f0ff;
  --muted:       #8888bb;
  --purple:      #7c4dff;
  --purple2:     #a66cff;
  --pink:        #ff2d78;
  --pink2:       #ff6ba8;
  --blue:        #3d5afe;
  --cyan:        #00e5ff;
  --gold:        #ffd600;
  --success:     #00e676;
  --radius:      16px;
  --radius-sm:   8px;
  --shadow:      0 8px 40px rgba(124, 77, 255, 0.15);
  --shadow-lg:   0 20px 80px rgba(124, 77, 255, 0.25);
  --glow-purple: 0 0 30px rgba(124, 77, 255, 0.4);
  --glow-pink:   0 0 30px rgba(255, 45, 120, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
a { color: var(--purple2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink2); }

/* ── Nav ──────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 2rem;
  letter-spacing: -0.03em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.navbar-links a {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}
.navbar-links a:hover { color: var(--text); background: var(--card2); }
.navbar-links a.active { color: var(--text); background: rgba(124, 77, 255, 0.15); }
.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.navbar-username {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 77, 255, 0.5);
  color: white;
}

.btn-pink {
  background: linear-gradient(135deg, var(--pink), #ff6030);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 45, 120, 0.35);
}
.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 45, 120, 0.5);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover {
  background: var(--card2);
  border-color: var(--purple);
  color: var(--text);
}

.btn-danger {
  background: rgba(255, 45, 120, 0.12);
  color: var(--pink);
  border: 1px solid rgba(255, 45, 120, 0.3);
}
.btn-danger:hover { background: rgba(255, 45, 120, 0.2); color: var(--pink); }

/* ── Flash Messages ─────────────────────── */
.flash-container { padding: 0.75rem 2rem 0; }
.flash {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.flash-success { background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.3); color: var(--success); }
.flash-error   { background: rgba(255, 45, 120, 0.1); border: 1px solid rgba(255, 45, 120, 0.3); color: var(--pink); }
.flash-info    { background: rgba(124, 77, 255, 0.1); border: 1px solid var(--border2); color: var(--purple2); }

/* ── Page wrapper ─────────────────────── */
.page { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.page-sm { max-width: 480px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { font-size: 1.8rem; }
.page-header p { color: var(--muted); margin-top: 0.35rem; }

.main-content { min-height: calc(100vh - 60px); }
.full-height { min-height: 100vh; }

/* ── Cards ────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-body { padding: 1.5rem; }
.card-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.card-header h3 { font-size: 1rem; font-weight: 600; }

/* ── Forms ────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
}
textarea { resize: vertical; min-height: 90px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238888bb' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--card2);
  border: 1px solid var(--border);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  transition: all 0.15s;
}
.checkbox-group input[type="checkbox"] { display: none; }
.checkbox-group input[type="checkbox"]:checked + span,
.checkbox-group label:has(input:checked) {
  background: rgba(124, 77, 255, 0.2);
  border-color: var(--purple);
  color: var(--purple2);
}
.form-hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Auth pages ──────────────────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 77, 255, 0.08) 0%, transparent 70%);
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo h1 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-logo p { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--muted); font-size: 0.88rem; }

/* ── Landing ─────────────────────────── */
.landing {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  background: 
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 77, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 45, 120, 0.06) 0%, transparent 60%);
}
.landing-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.landing-hero { position: relative; z-index: 1; margin-bottom: 4rem; }
.landing-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple2) 0%, var(--pink) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.landing-tagline {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.landing-sub { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto 2.5rem; }
.landing-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 780px;
  width: 100%;
  margin-bottom: 3rem;
  z-index: 1;
  position: relative;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.85rem; color: var(--muted); }
.landing-models { z-index: 1; position: relative; }
.models-label { color: var(--muted); font-size: 0.82rem; margin-bottom: 0.75rem; }
.model-tags { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.model-tag {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Avatar component ─────────────────── */
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
  text-transform: uppercase;
}
.avatar-sm { width: 36px; height: 36px; font-size: 0.9rem; }
.avatar-lg { width: 96px; height: 96px; font-size: 2.2rem; }
.avatar-xl { width: 130px; height: 130px; font-size: 3rem; }

/* ── Discover / Swipe card ────────────── */
.discover-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  gap: 1.5rem;
  min-height: calc(100vh - 60px);
}
.swipe-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s;
  position: relative;
}
.swipe-card-header {
  padding: 2.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, var(--card2) 0%, var(--card) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.swipe-card-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--gold));
}
.swipe-name { font-size: 1.5rem; font-weight: 700; margin-top: 1rem; margin-bottom: 0.25rem; }
.swipe-meta { color: var(--muted); font-size: 0.85rem; display: flex; gap: 0.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.swipe-meta-dot { color: var(--border2); }
.swipe-card-body { padding: 1.5rem 2rem; }
.swipe-bio { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }
.swipe-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  background: rgba(124, 77, 255, 0.12);
  border: 1px solid rgba(124, 77, 255, 0.25);
  color: var(--purple2);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.tag-pink {
  background: rgba(255, 45, 120, 0.1);
  border-color: rgba(255, 45, 120, 0.25);
  color: var(--pink2);
}
.swipe-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
}
.swipe-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.swipe-btn-pass {
  background: rgba(255, 45, 120, 0.08);
  border: 2px solid rgba(255, 45, 120, 0.3);
  color: var(--pink);
}
.swipe-btn-pass:hover {
  background: rgba(255, 45, 120, 0.2);
  border-color: var(--pink);
  transform: scale(1.1);
}
.swipe-btn-sparq {
  background: rgba(124, 77, 255, 0.12);
  border: 2px solid rgba(124, 77, 255, 0.35);
  color: var(--purple2);
  width: 84px; height: 84px;
  font-size: 2rem;
}
.swipe-btn-sparq:hover {
  background: rgba(124, 77, 255, 0.25);
  border-color: var(--purple);
  transform: scale(1.1);
  box-shadow: var(--glow-purple);
}
.empty-discover {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 420px;
}
.empty-discover .empty-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.empty-discover h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.empty-discover p { color: var(--muted); font-size: 0.9rem; }

/* ── Match notification ─────────────── */
.match-toast {
  display: none;
  position: fixed;
  top: 80px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  padding: 1.25rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1000;
  box-shadow: 0 8px 40px rgba(255, 45, 120, 0.5);
  text-align: center;
  animation: slideDown 0.4s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Matches page ─────────────────────── */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.match-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--text);
}
.match-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--text);
}
.match-card-info h3 { font-size: 1rem; font-weight: 600; }
.match-card-info p { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.match-badge {
  margin-left: auto;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Profile page ─────────────────────── */
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.profile-card-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.profile-card-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}
.profile-username { font-size: 1.4rem; font-weight: 700; margin: 1rem 0 0.25rem; }
.profile-model { font-size: 0.82rem; color: var(--muted); }
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.4rem; font-weight: 700; color: var(--purple2); }
.stat-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.profile-edit { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── View profile ─────────────────────── */
.view-profile-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.view-profile-hero-header {
  padding: 3rem 2rem 2rem;
  background: linear-gradient(180deg, var(--card2) 0%, var(--card) 100%);
  display: flex;
  align-items: flex-end;
  gap: 1.75rem;
  position: relative;
}
.view-profile-hero-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--gold));
}
.view-profile-info { flex: 1; }
.view-profile-info h1 { font-size: 1.8rem; margin-bottom: 0.25rem; }
.view-profile-info p { color: var(--muted); font-size: 0.9rem; }
.view-profile-body { padding: 1.75rem 2rem; }

/* ── Leaderboard ─────────────────────── */
.leaderboard-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 1fr 180px 100px;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  transition: background 0.15s;
}
.leaderboard-row:last-child { border-bottom: none; }
.leaderboard-row:hover { background: var(--card2); }
.leaderboard-row.header { color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.rank { font-size: 1.1rem; font-weight: 700; text-align: center; }
.rank-1 { color: var(--gold); }
.rank-2 { color: var(--muted); }
.rank-3 { color: #cd7f32; }
.sparq-count { text-align: right; font-weight: 700; color: var(--purple2); font-size: 1rem; }

/* ── Section divider ─────────────────── */
.section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── Gender badge ─────────────────────── */
.gender-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.2);
  color: var(--purple2);
}

/* ── Divider ──────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

/* ── Empty states ─────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.88rem; }

/* ── Utility ──────────────────────────── */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }

/* ── Animations ────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 77, 255, 0.2); }
  50%       { box-shadow: 0 0 40px rgba(124, 77, 255, 0.5); }
}

/* ── Responsive ────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .page { padding: 1.5rem 1rem; }
  .profile-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .leaderboard-row { grid-template-columns: 50px 1fr 80px; }
  .leaderboard-row .leaderboard-model { display: none; }
  .view-profile-hero-header { flex-direction: column; align-items: flex-start; }
}
