.profile-header {
  position: relative;
  margin-bottom: 40px;
}

.profile-banner {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.profile-banner-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--bg-secondary), rgba(168, 85, 247, 0.2));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.profile-info {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: -60px;
  padding: 0 24px;
  position: relative;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-card);
  background: var(--bg-secondary);
}

.profile-details {
  flex: 1;
  padding-bottom: 12px;
}

.profile-details h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-details p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.profile-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.profile-stat {
  text-align: center;
}

.profile-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-purple-light);
  display: block;
}

.profile-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.875rem;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
  .profile-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -40px;
  }
  .profile-stats {
    justify-content: center;
  }
}
