/* ==========================================
   BLOCO DE PERFIL
   ========================================== */

.profile-section {
  padding: 36px 0 0;
  margin-bottom: 28px;
  animation: fadeInUp 0.5s ease both;
}

.profile-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Avatar */
.profile-avatar-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #3b82f6, #818cf8, #c084fc, #f472b6);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-primary);
  background: var(--bg-card);
  overflow: hidden;
}

.profile-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  border: 3px solid var(--bg-primary);
}

/* Info */
.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-username {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-handle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.profile-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.profile-stats {
  display: flex;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.stat-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}

/* Tags de filtro */
.filter-bar {
  padding: 18px 0 24px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  margin-right: 2px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: var(--border);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 600px) {
  .profile-inner {
    gap: 16px;
  }

  .profile-avatar-ring {
    width: 72px;
    height: 72px;
  }

  .profile-username { font-size: 17px; }
  .profile-stats { gap: 18px; }
  .stat { align-items: flex-start; }
}
