/* Friends Section */
.friends {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.friend-card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.friend-card:hover {
  transform: translateY(-6px);
  background: var(--card-2);
}

.friend-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  background: #444;
  flex-shrink: 0;
}

.friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friend-card p {
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}