/* ============================================
   DEADLOCK MÉXICO — Perfil Público
   ============================================ */

/* ── Header ── */
.pp-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  flex-wrap: wrap;
}
.pp-header-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pp-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}
.pp-avatar-img,
.pp-avatar-initials {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 3px solid;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  background: var(--bg-surface);
  box-shadow: 0 0 24px rgba(0,0,0,0.4);
}
.pp-online-dot {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 16px; height: 16px;
  background: #00e878;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 8px #00e878;
}
.pp-info {
  flex: 1;
  min-width: 0;
  z-index: 1;
}
.pp-username {
  font-size: clamp(22px, 4vw, 34px);
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.pp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  flex-wrap: wrap;
}
.pp-bio {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}
.pp-stats-right {
  display: flex;
  gap: 28px;
  z-index: 1;
  flex-shrink: 0;
  padding-top: 24px;
}
.pp-stat-big { text-align: center; }
.pp-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
}
.pp-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.pp-edit-btn {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-size: 11px;
  padding: 5px 10px;
}
/* Push stats right down so button doesn't overlap */
.pp-stats-right {
  margin-top: 8px;
}

/* ── Stats bar ── */
.pp-stats-bar {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}
.pp-bar-stat {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  position: relative;
}
.pp-bar-stat + .pp-bar-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.pp-bar-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--cyan);
  line-height: 1;
}
.pp-bar-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pp-header { flex-direction: column; text-align: center; }
  .pp-meta   { justify-content: center; }
  .pp-bio    { text-align: left; }
  .pp-stats-right { justify-content: center; }
  .pp-edit-btn { position: static; margin-top: 8px; }
  .pp-stats-bar { flex-wrap: wrap; }
  .pp-bar-stat { min-width: 50%; }
}
