/* Facebook/Twitter-tier Profile Header */
.profile-header-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
}

.profile-banner-container {
  height: 240px;
  background: linear-gradient(135deg, #091f3d, #0d3b66, #071329);
  position: relative;
  overflow: hidden;
}
.profile-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 14, 0.7) 0%, transparent 60%);
}

/* High-elevation avatar overlap */
.profile-details-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 32px;
  margin-top: -64px;
  position: relative;
  z-index: 10;
}
.profile-avatar-wrapper {
  position: relative;
}
.profile-avatar {
  border: 4px solid var(--bg-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  background: var(--bg-surface);
  display: block;
}
.profile-action-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-info-content {
  padding: 16px 32px 28px;
}
.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.profile-username {
  font-size: 0.92rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.profile-bio {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 18px;
  white-space: pre-wrap;
  line-height: 1.55;
}
.profile-social-counters {
  display: flex;
  gap: 14px;
}
.stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.stat-pill strong {
  color: #fff;
}
.profile-stream-heading {
  margin-bottom: 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Luxury Account Settings Modal */
.luxury-modal {
  max-width: 580px;
}
.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Interactive Banner Picker */
.luxury-banner-picker {
  height: 130px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.03);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.luxury-banner-picker:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
}
.modal-banner-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.banner-picker-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* Interactive Avatar Picker */
.luxury-avatar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.luxury-avatar-picker {
  width: 80px;
  height: 80px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.modal-avatar-preview {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}
.avatar-picker-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent-blue);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid var(--bg-surface);
}
.avatar-helper-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.avatar-helper-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.settings-divider-wrap {
  position: relative;
  text-align: center;
  margin: 22px 0 14px;
}
.settings-divider-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-glass);
}
.settings-divider-text {
  position: relative;
  background: var(--bg-surface-elevated);
  padding: 0 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  font-weight: 700;
}