/* ================================================================
   LMB APP — app.letsmingle.ar
   Full authenticated app interface
================================================================ */

:root {
  --sky:    #00BFFF;
  --sun:    #FFD93D;
  --coral:  #FF6B6B;
  --mint:   #6BCB77;
  --purple: #a855f7;
  --dark:   #0d1b2a;
  --panel:  #1a2535;
  --card:   #1e2d3d;
  --white:  #F7F9FC;
  --muted:  #8fa3bb;
  --border: rgba(255,255,255,0.07);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 16px;
}

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

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  padding: 10px 14px;
  width: 100%;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--sky);
  background: rgba(0,191,255,0.05);
}
input::placeholder { color: var(--muted); }

/* ── TOP NAV ─────────────────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 58px;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--sky);
  text-decoration: none;
}
.nav-logo span { color: var(--sun); }
.nav-center { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  transition: all .15s;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.xp-badge {
  background: rgba(255,217,61,0.12);
  border: 1px solid rgba(255,217,61,0.25);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--sun);
  white-space: nowrap;
}
.avatar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  border: 2px solid rgba(0,191,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
}
.notif-dot {
  position: absolute;
  top: -2px; right: -2px;
  width: 10px; height: 10px;
  background: var(--coral);
  border-radius: 50%;
  border: 2px solid var(--dark);
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: calc(100vh - 58px);
}
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(26,37,53,0.6);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow-y: auto;
}
.sidebar-section {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 14px 8px 6px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.sidebar-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  text-decoration: none;
}
.sidebar-item.active {
  background: rgba(0,191,255,0.12);
  color: var(--sky);
}
.sidebar-item .s-icon { font-size: 1rem; width: 20px; text-align: center; }

.main-content {
  flex: 1;
  padding: 28px;
  overflow: auto;
  max-width: 1200px;
}

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

/* ── STATS GRID ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: border-color .2s;
}
.stat-card:hover { border-color: rgba(0,191,255,.25); }
.stat-label { font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; }
.stat-sub { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .88rem;
  border: none;
  transition: all .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sky);
  color: #001a2c;
}
.btn-primary:hover { background: #00a8e0; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-danger {
  background: rgba(255,107,107,0.12);
  color: var(--coral);
  border: 1px solid rgba(255,107,107,0.2);
}
.btn-danger:hover { background: rgba(255,107,107,0.2); }
.btn-sm { padding: 6px 14px; font-size: .8rem; border-radius: 8px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── RANK BADGES ─────────────────────────────────────────── */
.rank-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 800;
}
.rank-wood     { background: rgba(139,90,43,.2);  color: #cd7f32; border: 1px solid rgba(139,90,43,.3);  }
.rank-silver   { background: rgba(192,192,192,.1); color: #c0c0c0; border: 1px solid rgba(192,192,192,.2);}
.rank-gold     { background: rgba(255,215,0,.1);   color: #ffd700; border: 1px solid rgba(255,215,0,.2);  }
.rank-platinum { background: rgba(229,228,226,.1); color: #e5e4e2; border: 1px solid rgba(229,228,226,.2);}
.rank-emerald  { background: rgba(0,201,87,.1);    color: #00c957; border: 1px solid rgba(0,201,87,.2);   }
.rank-master   { background: rgba(0,191,255,.1);   color: var(--sky); border: 1px solid rgba(0,191,255,.2);}
.rank-native   { background: rgba(255,215,0,.12);  color: #ffd700; border: 1px solid rgba(255,215,0,.35); box-shadow: 0 0 8px rgba(255,215,0,.15); }
.rank-god      { background: linear-gradient(135deg,rgba(255,107,107,.12),rgba(168,85,247,.12)); color: #ff9ff3; border: 1px solid rgba(255,107,107,.3); box-shadow: 0 0 12px rgba(255,107,107,.2); animation: god-pulse 2s ease-in-out infinite; }
@keyframes god-pulse { 0%,100%{box-shadow:0 0 8px rgba(255,107,107,.2);} 50%{box-shadow:0 0 18px rgba(168,85,247,.4);} }

/* ── XP BAR ─────────────────────────────────────────────── */
.xp-bar-wrap { background: rgba(255,255,255,.07); border-radius: 999px; height: 8px; overflow: hidden; }
.xp-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sky), var(--purple)); transition: width .6s ease; }

/* ── TABLE ──────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .87rem;
  vertical-align: middle;
}
.data-table tr:hover td { background: rgba(255,255,255,.02); }
.data-table tr:last-child td { border-bottom: none; }

/* ── FORMS ──────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: .83rem; font-weight: 700; color: var(--muted); }
.form-hint { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.form-error { font-size: .78rem; color: var(--coral); margin-top: 4px; }

/* ── TOAST ──────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 20px; display: flex; gap: 10px; align-items: center;
  font-size: .88rem; font-weight: 600;
  opacity: 0; transition: all .3s; z-index: 9999; pointer-events: none;
  box-shadow: var(--shadow); white-space: nowrap; max-width: 90vw;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.xp   { border-color: rgba(255,217,61,.3); }
#toast.err  { border-color: rgba(255,107,107,.3); }

/* ── AUTH PAGES ──────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,191,255,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(168,85,247,.04) 0%, transparent 60%),
              var(--dark);
}
.auth-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo h1 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sky);
}
.auth-logo h1 span { color: var(--sun); }
.auth-logo p { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.auth-divider {
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  margin: 16px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ── CHART BARS (mini inline) ────────────────────────────── */
.mini-bar-wrap { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.mini-bar {
  flex: 1;
  background: rgba(0,191,255,.2);
  border-radius: 4px 4px 0 0;
  transition: height .4s ease;
  min-height: 4px;
  cursor: default;
  position: relative;
}
.mini-bar:hover { background: rgba(0,191,255,.45); }
.mini-bar-label { font-size: .6rem; color: var(--muted); text-align: center; margin-top: 4px; }

/* ── LEADERBOARD ROWS ─────────────────────────────────────── */
.lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .15s;
}
.lb-row:hover { background: rgba(255,255,255,.03); }
.lb-row.me { background: rgba(0,191,255,.06); border: 1px solid rgba(0,191,255,.15); }
.lb-rank {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  width: 28px;
  text-align: center;
  color: var(--muted);
}
.lb-rank.top1 { color: #ffd700; }
.lb-rank.top2 { color: #c0c0c0; }
.lb-rank.top3 { color: #cd7f32; }
.lb-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.lb-info { flex: 1; min-width: 0; }
.lb-name { font-weight: 700; font-size: .9rem; }
.lb-meta { font-size: .74rem; color: var(--muted); }
.lb-xp { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--sun); font-size: .9rem; }

/* ── NOTIF BELL ──────────────────────────────────────────── */
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid var(--border);
  font-size: .84rem;
}
.notif-item.unread { border-left-color: var(--sky); background: rgba(0,191,255,.04); }
.notif-item .notif-time { font-size: .72rem; color: var(--muted); margin-top: 3px; }

/* ── DAILY CHALLENGES ──────────────────────────────────── */
.challenge-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  background: var(--card);
  transition: border-color .2s;
}
.challenge-row.done {
  border-color: rgba(107,203,119,.25);
  background: rgba(107,203,119,.04);
}
.challenge-row.done .ch-name { opacity: .6; text-decoration: line-through; }
.ch-icon { font-size: 1.3rem; width: 32px; text-align: center; }
.ch-info { flex: 1; }
.ch-name { font-weight: 700; font-size: .9rem; }
.ch-desc { font-size: .76rem; color: var(--muted); }
.ch-xp {
  background: rgba(255,217,61,.1);
  border: 1px solid rgba(255,217,61,.2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 800;
  color: var(--sun);
}
.ch-done { color: var(--mint); font-size: .8rem; font-weight: 700; }

/* ── ADMIN SPECIFIC ───────────────────────────────────────── */
.admin-metric {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.admin-metric .big-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky);
}
.admin-metric .big-label { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ── FRIEND CARD ─────────────────────────────────────────── */
.friend-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color .2s;
}
.friend-card:hover { border-color: rgba(0,191,255,.2); }
.fc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.fc-info { flex: 1; min-width: 0; }
.fc-name { font-weight: 700; font-size: .92rem; }
.fc-meta { font-size: .75rem; color: var(--muted); }
.fc-actions { display: flex; gap: 6px; }

/* ── LOADING ─────────────────────────────────────────────── */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  color: var(--muted);
  gap: 12px;
}
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--border);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── EMPTY STATES ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state p { font-size: .88rem; }

/* ── PAGE HEADERS ────────────────────────────────────────── */
.page-header {
  margin-bottom: 24px;
}
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.page-header p { color: var(--muted); font-size: .88rem; }

/* ── TABS ────────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.tab-btn {
  padding: 10px 18px;
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .15s;
}
.tab-btn.active { color: var(--sky); border-bottom-color: var(--sky); }
.tab-btn:hover { color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── PROGRESS RING ───────────────────────────────────────── */
.progress-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.progress-ring-text {
  position: absolute;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}

/* ── PROFILE HERO ────────────────────────────────────────── */
.profile-hero {
  background: linear-gradient(135deg, rgba(0,191,255,.08), rgba(168,85,247,.06));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-avatar-big {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  border: 3px solid rgba(0,191,255,.3);
  flex-shrink: 0;
}
.profile-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}
.profile-info .profile-bio { color: var(--muted); font-size: .85rem; margin-top: 4px; }


/* ── HAMBURGER BUTTON ─────────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0; left: -100%;
  width: min(300px, 85vw);
  height: 100dvh;
  background: var(--panel);
  border-right: 1px solid var(--border);
  z-index: 1000;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { left: 0; }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { display: block; opacity: 1; }

.mobile-drawer-inner { display: flex; flex-direction: column; height: 100%; padding: 16px; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.mobile-drawer-xp {
  font-size: .78rem;
  font-weight: 700;
  color: var(--sky);
  padding: 6px 12px;
  background: rgba(0,191,255,.1);
  border-radius: 999px;
  display: inline-block;
  margin: 6px 0 12px;
}

.mobile-drawer-nav { display: flex; flex-direction: column; gap: 2px; }

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: background 0.15s;
}
.mobile-nav-item:hover, .mobile-nav-item.active {
  background: rgba(255,255,255,.07);
  color: var(--sky);
  text-decoration: none;
}
.mobile-nav-item.active { background: rgba(0,191,255,.1); color: var(--sky); font-weight: 700; }

.mobile-nav-section {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 10px 14px 4px;
  margin-top: 4px;
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { padding: 16px; }
  .topnav { padding: 0 12px; gap: 8px; }
  .nav-center { display: none; }
  .hamburger-btn { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-box { padding: 24px; }
  .profile-hero { flex-direction: column; text-align: center; }
  .app-layout { padding-left: 0 !important; }
}

/* ── SOCIAL LINKS ────────────────────────────────────────────── */
.social-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  font-size: .78rem; font-weight: 700;
  text-decoration: none; transition: all .15s;
  border: 1px solid var(--border);
  color: var(--muted); background: rgba(255,255,255,.04);
}
.social-btn:hover { transform: translateY(-1px); text-decoration: none; }
.social-btn.fb   { border-color: rgba(24,119,242,.3);  color: #4a9eff; }
.social-btn.dc   { border-color: rgba(88,101,242,.3);  color: #8a9fff; }
.social-btn.tw   { border-color: rgba(29,155,240,.3);  color: #5ab4f0; }
.social-btn.ig   { border-color: rgba(225,48,108,.3);  color: #ff6b9d; }
.social-btn.sp   { border-color: rgba(30,215,96,.3);   color: #1ed760; }
.social-btn:hover.fb  { background: rgba(24,119,242,.1); }
.social-btn:hover.dc  { background: rgba(88,101,242,.1); }
.social-btn:hover.tw  { background: rgba(29,155,240,.1); }
.social-btn:hover.ig  { background: rgba(225,48,108,.1); }
.social-btn:hover.sp  { background: rgba(30,215,96,.1); }

/* ── ADDITIONAL MOBILE FIXES ────────────────────────────── */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 1.4rem; }
  .challenge-row { padding: 12px; }
  .ch-icon { font-size: 1.4rem; }
  .friends-grid { grid-template-columns: 1fr; }
  .friend-card { padding: 14px; }
  .nav-right { gap: 6px; }
  .xp-pill { font-size: .72rem; padding: 4px 8px; }
  .game-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gcard { padding: 14px 10px; }
  .gcard-banner { height: 80px; font-size: 2rem; }
  .page-title { font-size: 1.3rem; }
  .profile-avatar-big { width: 80px; height: 80px; font-size: 2rem; }
}
