/* ═══════════════════════════════════════════════════════════════
   RALLY RACING MASTERS — Social Features Styles v1.0
   Companion stylesheet for portal-social.js
   "Nitro Chrome" design language — glass morphism + spring anims
   ═══════════════════════════════════════════════════════════════ */

/* ── BADGE COUNT (tab notification bubble) ── */
.soc-badge-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; font-size: 10px; font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; margin-left: 6px; line-height: 1;
  box-shadow: 0 2px 8px rgba(239,68,68,.4);
}

/* ── ACTION BUTTONS ── */
.soc-action-btn {
  padding: 10px 18px; border: none; border-radius: 10px;
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: all .15s ease; text-transform: uppercase;
  letter-spacing: .5px; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; white-space: nowrap;
}
.soc-action-btn.green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; box-shadow: 0 2px 12px rgba(34,197,94,.3);
}
.soc-action-btn.green:hover { filter: brightness(1.1); transform: translateY(-1px); }
.soc-action-btn.purple {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff; box-shadow: 0 2px 12px rgba(168,85,247,.3);
}
.soc-action-btn.purple:hover { filter: brightness(1.1); transform: translateY(-1px); }
.soc-action-btn.gold {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #0a0a0f; box-shadow: 0 2px 12px rgba(255,215,0,.3);
}
.soc-action-btn.gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.soc-action-btn.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff; box-shadow: 0 2px 12px rgba(20,184,166,.3);
}
.soc-action-btn.teal:hover { filter: brightness(1.1); transform: translateY(-1px); }
.soc-action-btn.ghost {
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.soc-action-btn.ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ── ICON BUTTON (small) ── */
.soc-icon-btn {
  width: 44px; height: 44px; border: none; border-radius: 10px;
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.5);
  cursor: pointer; font-size: 18px; display: flex;
  align-items: center; justify-content: center;
  transition: all .15s ease; flex-shrink: 0;
}
.soc-icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ── EMPTY STATE ── */
.soc-empty-state {
  text-align: center; padding: 48px 20px; color: rgba(255,255,255,.3);
}
.soc-empty-state .soc-empty-icon { font-size: 48px; margin-bottom: 12px; }
.soc-empty-state h3 {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 16px; color: rgba(255,255,255,.5); margin: 0 0 8px;
}
.soc-empty-state p { font-size: 13px; margin: 0; }

/* ── STATUS PILL ── */
.soc-status-pill {
  padding: 4px 12px; border-radius: 8px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  flex-shrink: 0;
}
.soc-status-pill.green { background: rgba(34,197,94,.12); color: #22c55e; }
.soc-status-pill.teal { background: rgba(20,184,166,.12); color: #14b8a6; }
.soc-status-pill.gold { background: rgba(255,215,0,.12); color: #ffd700; }

/* ── GIFT CLAIMED BADGE ── */
.soc-gift-claimed-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(34,197,94,.1); color: #22c55e;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; flex-shrink: 0;
}

/* ── CLAIMED ROW ── */
.soc-gift-row.claimed { opacity: .5; }
.soc-gift-row.claimed .s-row-title { text-decoration: line-through; }

/* ── CLAIM ALL BUTTON ── */
.soc-claim-all-btn { margin-bottom: 16px; }

/* ── REQUEST ACTIONS ── */
.soc-request-actions {
  display: flex; gap: 6px; flex-shrink: 0;
}

/* ── SEARCH ── */
.soc-search-wrap { margin-bottom: 16px; }
.soc-search-input {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; background: rgba(255,255,255,.04);
  color: #fff; font-size: 14px; outline: none;
  transition: border-color .15s ease;
  box-sizing: border-box;
  font-family: var(--font-body, system-ui);
}
.soc-search-input::placeholder { color: rgba(255,255,255,.25); }
.soc-search-input:focus {
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 0 0 3px rgba(168,85,247,.1);
}

/* ── PLAYER ROW QUICK ACTIONS ── */
.soc-player-quick-actions {
  display: flex; gap: 6px; flex-shrink: 0; align-items: center;
}

/* ════════════════════════════════════════════════════════════
   CLUB HUB
   ════════════════════════════════════════════════════════════ */

/* ── Club Hero ── */
.soc-club-hero {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,.02); border-radius: var(--radius-lg, 20px);
  border: 1px solid rgba(255,255,255,.06); margin-bottom: 20px;
}
.soc-club-hero-icon { font-size: 48px; margin-bottom: 12px; }
.soc-club-hero h3 {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 20px; color: #fff; margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: .8px;
}
.soc-club-hero p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }

/* ── Club Card ── */
.soc-club-card { cursor: pointer; margin-bottom: 6px; }
.soc-club-card:hover { border-color: rgba(168,85,247,.25); }
.soc-club-card-header {
  display: flex; align-items: center; gap: 12px;
}
.soc-club-rank {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 16px; font-weight: 800; color: rgba(255,255,255,.3);
  width: 32px; text-align: center; flex-shrink: 0;
}
.soc-club-card-info { flex: 1; min-width: 0; }
.soc-club-card-name {
  font-size: 14px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.soc-club-card-desc { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 2px; }
.soc-club-trophies {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 13px; font-weight: 700; color: #ffd700;
  flex-shrink: 0; white-space: nowrap;
}

/* ── Club Banner (dashboard) ── */
.soc-club-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; border-radius: var(--radius-lg, 20px);
  background: linear-gradient(135deg, rgba(168,85,247,.1), rgba(124,58,237,.05));
  border: 1px solid rgba(168,85,247,.2); margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.soc-club-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.soc-club-banner-icon {
  font-size: 36px; flex-shrink: 0;
  width: 56px; height: 56px; display: flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border-radius: 14px;
}
.soc-club-banner-info { flex: 1; }
.soc-club-banner-info h3 {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 18px; color: #fff; margin: 0 0 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.soc-club-banner-info p { font-size: 12px; color: rgba(255,255,255,.4); margin: 0; }
.soc-club-banner-trophies {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 16px; font-weight: 800; color: #ffd700;
  flex-shrink: 0;
}

/* ── Club Actions Row ── */
.soc-club-actions {
  display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.soc-club-actions .soc-action-btn { flex: 1; min-width: 70px; }

/* ── War Card ── */
.soc-war-card { margin-bottom: 16px; }
.soc-war-matchup {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 12px 0;
}
.soc-war-team {
  flex: 1; text-align: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.soc-war-team-icon { font-size: 32px; margin-bottom: 6px; }
.soc-war-vs {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 20px; font-weight: 800; color: #ef4444;
  flex-shrink: 0;
}
.soc-war-timer {
  text-align: center; font-size: 13px; color: #ffd700;
  font-weight: 700; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Role Pill ── */
.soc-role-pill {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; margin-left: 6px; vertical-align: middle;
}
.soc-role-pill.gold { background: rgba(255,215,0,.15); color: #ffd700; }
.soc-role-pill.purple { background: rgba(168,85,247,.15); color: #a855f7; }
.soc-role-pill.teal { background: rgba(20,184,166,.15); color: #14b8a6; }
.soc-role-pill:not(.gold):not(.purple):not(.teal) {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.35);
}

/* ── Context Menu ── */
.soc-context-menu {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  z-index: 250; background: rgba(18,18,24,.98);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 8px; backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: ctxSlideUp .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes ctxSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.soc-ctx-item {
  display: block; width: 100%; padding: 14px 16px;
  border: none; background: none; color: rgba(255,255,255,.7);
  font-size: 14px; font-weight: 600; cursor: pointer;
  text-align: left; border-radius: 10px;
  transition: all .1s ease; min-height: 44px;
}
.soc-ctx-item:hover { background: rgba(255,255,255,.06); color: #fff; }

/* ── Create Club Form ── */
.soc-create-club { max-width: 420px; margin: 0 auto; }
.soc-form-group { margin-bottom: 16px; }
.soc-form-label {
  display: block; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.4); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .5px;
}
.soc-form-input {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; background: rgba(255,255,255,.04);
  color: #fff; font-size: 14px; outline: none;
  transition: border-color .15s ease; box-sizing: border-box;
  font-family: var(--font-body, system-ui);
}
.soc-form-input:focus {
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 0 0 3px rgba(168,85,247,.1);
}
.soc-form-textarea { min-height: 80px; resize: vertical; }
.soc-radio-group { display: flex; flex-direction: column; gap: 8px; }
.soc-radio {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.6);
  cursor: pointer;
}
.soc-radio input[type="radio"] { accent-color: #a855f7; }

/* ════════════════════════════════════════════════════════════
   CLUB CHAT
   ════════════════════════════════════════════════════════════ */

#soc-club-chat-body {
  display: flex; flex-direction: column; padding: 0 !important;
}

.soc-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 8px;
}
.soc-chat-messages::-webkit-scrollbar { width: 3px; }
.soc-chat-messages::-webkit-scrollbar-thumb { background: rgba(168,85,247,.2); border-radius: 3px; }

.soc-chat-system {
  text-align: center; font-size: 11px; color: rgba(255,255,255,.25);
  padding: 8px 0; font-style: italic;
}

.soc-chat-msg {
  display: flex; gap: 8px; align-items: flex-end;
  max-width: 85%;
}
.soc-chat-msg.mine {
  margin-left: auto; flex-direction: row-reverse;
}

.soc-chat-bubble {
  padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  max-width: 280px;
}
.soc-chat-msg.mine .soc-chat-bubble {
  background: rgba(168,85,247,.15); border-color: rgba(168,85,247,.2);
}
.soc-chat-sender {
  font-size: 11px; font-weight: 700; color: #a855f7;
  margin-bottom: 3px;
}
.soc-chat-text { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.4; }
.soc-chat-time { font-size: 10px; color: rgba(255,255,255,.2); margin-top: 4px; }

.soc-chat-input-wrap {
  display: flex; gap: 8px; padding: 12px 16px;
  background: rgba(10,10,18,.95);
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.soc-chat-input {
  flex: 1; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; background: rgba(255,255,255,.04);
  color: #fff; font-size: 14px; outline: none;
  font-family: var(--font-body, system-ui);
}
.soc-chat-input:focus { border-color: rgba(168,85,247,.4); }
.soc-chat-send {
  width: 48px; height: 48px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s ease; flex-shrink: 0;
}
.soc-chat-send:hover { filter: brightness(1.15); transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════
   FRIEND PROFILE
   ════════════════════════════════════════════════════════════ */

.soc-profile-header {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; margin: -20px -20px 20px;
  background: linear-gradient(180deg, rgba(168,85,247,.08), transparent);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.soc-profile-name-wrap { flex: 1; }
.soc-profile-name {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 22px; color: #fff; margin: 0;
  text-transform: uppercase; letter-spacing: .5px;
}
.soc-profile-level {
  font-size: 13px; color: rgba(255,255,255,.4); margin-top: 4px;
  font-weight: 600;
}

/* VIP Badge */
.soc-vip-badge {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: .5px;
  vertical-align: middle; margin-left: 4px;
}

/* Stats Grid */
.soc-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 20px;
}
.soc-stat-card {
  text-align: center; padding: 14px 8px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; position: relative; overflow: hidden;
}
.soc-stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.soc-stat-icon { font-size: 18px; margin-bottom: 4px; }
.soc-stat-value {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 20px; font-weight: 800; color: #fff;
  letter-spacing: .3px;
}
.soc-stat-label {
  font-size: 10px; color: rgba(255,255,255,.3); margin-top: 2px;
  text-transform: uppercase; letter-spacing: .6px; font-weight: 600;
}

/* Mutual Friends */
.soc-mutual-friends {
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px;
  text-align: center;
}

/* Race Position */
.soc-race-pos {
  font-size: 20px; width: 36px; text-align: center; flex-shrink: 0;
}

/* Profile Actions */
.soc-profile-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 24px;
}

/* ════════════════════════════════════════════════════════════
   ACTIVITY FEED
   ════════════════════════════════════════════════════════════ */

.soc-feed-item {
  display: flex; gap: 12px; padding: 14px;
  border-radius: var(--radius-md, 14px);
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  margin-bottom: 8px; position: relative; overflow: hidden;
  transition: all .15s ease;
}
.soc-feed-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.soc-feed-item:hover { border-color: rgba(168,85,247,.15); }

.soc-feed-icon-wrap { flex-shrink: 0; }
.soc-feed-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.05); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px;
}

.soc-feed-content { flex: 1; min-width: 0; }
.soc-feed-text { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.4; }
.soc-feed-meta { font-size: 11px; color: rgba(255,255,255,.25); margin-top: 4px; }

.soc-feed-actions {
  display: flex; gap: 12px; margin-top: 8px;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,.04);
}
.soc-feed-btn {
  background: none; border: none; color: rgba(255,255,255,.35);
  font-size: 12px; cursor: pointer; padding: 4px 0;
  transition: all .15s ease; display: flex; align-items: center; gap: 4px;
  min-height: 44px;
}
.soc-feed-btn:hover { color: rgba(255,255,255,.7); }
.soc-feed-btn.liked { color: #ef4444; }

/* ════════════════════════════════════════════════════════════
   MULTIPLAYER LOBBY
   ════════════════════════════════════════════════════════════ */

.soc-mp-hero {
  text-align: center; padding: 40px 20px;
  background: linear-gradient(135deg, rgba(168,85,247,.1), rgba(59,130,246,.08));
  border-radius: var(--radius-lg, 20px);
  border: 1px solid rgba(168,85,247,.2); margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.soc-mp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.soc-mp-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(168,85,247,.4);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(168,85,247,.3); }
  50% { box-shadow: 0 4px 40px rgba(168,85,247,.6); }
}
.soc-mp-hero h3 {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 24px; color: #fff; margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: 1px;
}
.soc-mp-countdown {
  font-size: 14px; color: #ffd700; font-weight: 700;
}

/* Feature Cards */
.soc-mp-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.soc-mp-feature-card {
  position: relative; border-radius: var(--radius-md, 14px);
  overflow: hidden; min-height: 160px; cursor: default;
}
.soc-mp-feature-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.4) saturate(.7);
}
.soc-mp-feature-overlay {
  position: relative; z-index: 1; padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; box-sizing: border-box;
}
.soc-mp-feature-icon { font-size: 28px; margin-bottom: 6px; }
.soc-mp-feature-overlay h4 {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 14px; color: #fff; margin: 0 0 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.soc-mp-feature-overlay p {
  font-size: 11px; color: rgba(255,255,255,.5); margin: 0;
  line-height: 1.3;
}

/* Leaderboard rows */
.soc-mp-lb-rank, .soc-lb-rank {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 14px; font-weight: 800; color: rgba(255,255,255,.35);
  width: 28px; text-align: center; flex-shrink: 0;
}
.soc-mp-lb-score, .soc-lb-score {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 13px; font-weight: 700; color: #ffd700;
  flex-shrink: 0; white-space: nowrap;
}
.soc-mp-player-row, .soc-lb-player-row {
  background: rgba(168,85,247,.08) !important;
  border-color: rgba(168,85,247,.2) !important;
}

/* ════════════════════════════════════════════════════════════
   LEADERBOARD PODIUM
   ════════════════════════════════════════════════════════════ */

.soc-lb-podium {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 8px; padding: 20px 10px; margin-bottom: 16px;
}
.soc-lb-podium-entry {
  flex: 1; max-width: 120px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.soc-lb-podium-medal { font-size: 24px; margin: 6px 0 4px; }
.soc-lb-podium-name {
  font-size: 11px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}
.soc-lb-podium-score {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 12px; color: #ffd700; font-weight: 700;
  margin-top: 2px;
}
.soc-lb-podium-bar {
  width: 100%; height: var(--podium-h, 80px);
  margin-top: 8px; border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(168,85,247,.2), rgba(168,85,247,.05));
  border: 1px solid rgba(168,85,247,.15);
  border-bottom: none;
}

/* ════════════════════════════════════════════════════════════
   SHARE SYSTEM
   ════════════════════════════════════════════════════════════ */

.soc-share-overlay {
  position: fixed; inset: 0; z-index: 280;
  background: rgba(0,0,0,.6);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.soc-share-sheet {
  width: 100%; max-width: 480px; padding: 24px 20px;
  background: rgba(18,18,24,.98); border-radius: 20px 20px 0 0;
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: none;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  animation: sheetSlide .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes sheetSlide {
  from { transform: translateY(100%); }
  to { transform: none; }
}
.soc-share-sheet h3 {
  font-family: var(--font-display, 'Oswald', system-ui);
  font-size: 18px; color: #fff; margin: 0 0 16px;
  text-align: center; text-transform: uppercase; letter-spacing: .8px;
}
.soc-share-preview {
  padding: 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px;
  white-space: pre-line; line-height: 1.5;
}
.soc-share-buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.soc-share-btn {
  padding: 14px; border: none; border-radius: 12px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: all .15s ease; min-height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.soc-share-btn.whatsapp { background: rgba(37,211,102,.15); color: #25d366; }
.soc-share-btn.whatsapp:hover { background: rgba(37,211,102,.25); }
.soc-share-btn.twitter { background: rgba(29,161,242,.15); color: #1da1f2; }
.soc-share-btn.twitter:hover { background: rgba(29,161,242,.25); }
.soc-share-btn.telegram { background: rgba(0,136,204,.15); color: #0088cc; }
.soc-share-btn.telegram:hover { background: rgba(0,136,204,.25); }
.soc-share-btn.copy { background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.soc-share-btn.copy:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE (480px breakpoint)
   ════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .soc-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .soc-mp-features { grid-template-columns: 1fr; }
  .soc-mp-feature-card { min-height: 120px; }
  .soc-club-actions { flex-wrap: wrap; }
  .soc-club-actions .soc-action-btn { min-width: 60px; font-size: 11px; }
  .soc-request-actions { flex-direction: column; gap: 4px; }
  .soc-request-actions .soc-action-btn { padding: 8px 14px; }
  .soc-lb-podium { gap: 4px; }
  .soc-lb-podium-entry { max-width: 100px; }
  .soc-share-buttons { grid-template-columns: 1fr; }
  .soc-player-quick-actions { gap: 4px; }
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */

/* Feed items stagger entrance */
.soc-feed-item {
  animation: feedItemIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
.soc-feed-item:nth-child(1) { animation-delay: .02s; }
.soc-feed-item:nth-child(2) { animation-delay: .04s; }
.soc-feed-item:nth-child(3) { animation-delay: .06s; }
.soc-feed-item:nth-child(4) { animation-delay: .08s; }
.soc-feed-item:nth-child(5) { animation-delay: .1s; }
.soc-feed-item:nth-child(6) { animation-delay: .12s; }
.soc-feed-item:nth-child(7) { animation-delay: .14s; }
.soc-feed-item:nth-child(8) { animation-delay: .16s; }
.soc-feed-item:nth-child(9) { animation-delay: .18s; }
.soc-feed-item:nth-child(10) { animation-delay: .2s; }

@keyframes feedItemIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* Club card entrance */
.soc-club-card {
  animation: cardSlideIn .3s cubic-bezier(.16,1,.3,1) both;
}
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}

/* Member row entrance */
.soc-member-row {
  animation: memberIn .25s cubic-bezier(.16,1,.3,1) both;
}
@keyframes memberIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Like button animation */
.soc-feed-btn.liked {
  animation: likeHeart .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes likeHeart {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
