/* directory.css — Talent Directory, Profiles, and Feed styles */

/* ─── DIRECTORY PAGE ──────────────────────────────────────── */

.directory-page {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg);
}

.directory-header {
  padding: 60px 40px 40px;
  text-align: center;
  position: relative;
}

.directory-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.directory-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  position: relative;
}

.directory-subtitle {
  color: var(--silver);
  font-size: 1rem;
  margin-bottom: 0;
  position: relative;
}

/* ─── STICKY SEARCH BAR ────────────────────────────────────── */

.search-bar {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 40px;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--purple);
}

.search-input::placeholder {
  color: var(--muted);
}

.filter-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 140px;
}

.filter-select:focus {
  border-color: var(--purple);
}

.filter-select option {
  background: var(--surface-2);
  color: var(--white);
}

.search-btn {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--purple-dim);
}

.clear-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.clear-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ─── DIRECTORY GRID ───────────────────────────────────────── */

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 32px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.talent-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.talent-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139,92,246,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.talent-card:hover {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 32px rgba(139,92,246,0.15), 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-3px);
  color: var(--white);
}

.talent-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
}

.card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.08));
  border: 2px solid rgba(139,92,246,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple);
  overflow: hidden;
}

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

.card-info {
  flex: 1;
  min-width: 0;
}

.card-stage-name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-location {
  font-size: 0.8rem;
  color: var(--silver);
  margin-bottom: 8px;
}

.category-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 100px;
  padding: 3px 10px;
}

.card-bio {
  font-size: 0.825rem;
  color: var(--silver);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stats {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--silver);
}

.card-stat strong {
  color: var(--white);
  font-weight: 700;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.card-follow-btn {
  flex: 1;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.card-follow-btn.follow {
  background: var(--purple);
  color: white;
}

.card-follow-btn.follow:hover {
  background: var(--purple-dim);
}

.card-follow-btn.following {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.35);
  color: var(--purple);
}

.card-follow-btn.following:hover {
  background: rgba(139,92,246,0.2);
}

.card-follow-btn.unfollow {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.card-msg-btn {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--silver);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-msg-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ─── EMPTY STATE ─────────────────────────────────────────── */

.directory-empty {
  text-align: center;
  padding: 80px 40px;
  color: var(--muted);
}

.directory-empty h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--silver);
  margin-bottom: 8px;
}

.directory-empty p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ─── TALENT PROFILE PAGE ──────────────────────────────────── */

.profile-page {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg);
}

/* Profile Header */
.profile-header {
  position: relative;
}

.profile-cover {
  height: 260px;
  background: linear-gradient(135deg, #0d0d1a 0%, #1a0d2e 50%, #0a0a1a 100%);
  position: relative;
  overflow: hidden;
}

.profile-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(139,92,246,0.15) 0%, transparent 60%);
}

.profile-cover-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
}

.profile-header-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-top: -70px;
  margin-bottom: 16px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(139,92,246,0.1));
  border: 4px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple);
  overflow: hidden;
  box-shadow: 0 0 32px rgba(139,92,246,0.25);
}

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

.profile-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.profile-stage-name {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-location {
  font-size: 0.9rem;
  color: var(--silver);
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.profile-follow-btn {
  padding: 11px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-follow-btn.follow {
  background: var(--purple);
  color: white;
}

.profile-follow-btn.follow:hover {
  background: var(--purple-dim);
}

.profile-follow-btn.following {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.4);
  color: var(--purple);
}

.profile-follow-btn.unfollow {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.profile-msg-btn {
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--silver);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-msg-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.profile-stats {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}

.profile-stat {
  padding: 14px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.profile-stat:last-child {
  border-right: none;
}

.profile-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.profile-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.profile-social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(139,92,246,0.08);
}

.social-icon {
  font-size: 0.9rem;
}

/* Profile Body */
.profile-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.profile-main {}

.profile-bio-section {
  margin-bottom: 40px;
}

.profile-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-bio-text {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.75;
}

.profile-video-section {
  margin-bottom: 40px;
}

.profile-video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.profile-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Posts Grid */
.posts-section {
  margin-bottom: 40px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.post-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-2px);
  color: inherit;
}

.post-card-wrap-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card-wrap-link:hover .post-card {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-2px);
  color: inherit;
}

.post-thumbnail {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

.post-thumbnail iframe,
.post-thumbnail embed {
  width: 100%;
  height: 100%;
  border: none;
}

.post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(139,92,246,0.05));
  color: var(--purple);
  font-size: 2rem;
}

.post-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.2s;
}

.post-card:hover .post-play-overlay {
  background: rgba(0,0,0,0.15);
}

.post-play-icon {
  width: 52px;
  height: 52px;
  background: rgba(139,92,246,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(139,92,246,0.5);
}

.post-info {
  padding: 14px 16px;
}

.post-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.post-like-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 8px;
  border-radius: 6px;
}

.post-like-btn:hover {
  color: #ef4444;
  background: rgba(239,68,68,0.1);
}

.post-like-btn.liked {
  color: #ef4444;
}

.post-like-count {
  font-weight: 700;
}

/* Post comments */
.post-comments {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
.post-comments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.post-comment {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.post-comment-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}
.post-comment-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.post-comment-body strong {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
}
.post-comment-time {
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: 6px;
}
.post-comment-body p {
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
}
.post-comment-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.post-comment-form input[name=body] {
  flex: 1;
  min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  outline: none;
}
.post-comment-form input[name=body]:focus {
  border-color: rgba(139,92,246,0.5);
}
.post-comment-form button {
  background: rgba(139,92,246,0.18);
  border: 1px solid rgba(139,92,246,0.4);
  color: var(--purple);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.post-comment-form button:hover {
  background: rgba(139,92,246,0.28);
}
.post-comment-form button:disabled {
  opacity: 0.5;
  cursor: default;
}
.post-comments-login-link {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}
.post-comments-login-link:hover {
  color: var(--purple-dim);
}

.post-detail-page .post-comments {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.post-detail-page .post-comment-initial {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}
.post-detail-page .post-comment-body strong {
  font-size: 0.9rem;
}
.post-detail-page .post-comment-body p {
  font-size: 0.9rem;
}
.post-detail-page .post-comment-form input[name=body] {
  font-size: 0.9rem;
  padding: 8px 12px;
}
.post-detail-page .post-comment-form button {
  font-size: 0.85rem;
  padding: 8px 16px;
}

/* Post video modal */
.post-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.post-video-modal.open {
  display: flex;
}

.post-video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.post-video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.post-video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.post-video-modal-close:hover {
  background: rgba(255,255,255,0.2);
}

/* Post create (talent only) */
.post-create-section {
  margin-bottom: 40px;
}

.post-create-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-create-form h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.post-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-input,
.post-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.post-input:focus,
.post-textarea:focus {
  border-color: var(--purple);
}

.post-textarea {
  resize: vertical;
  min-height: 80px;
}

.post-submit-btn {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.post-submit-btn:hover {
  background: var(--purple-dim);
}

/* Profile Sidebar */
.profile-sidebar {}

.profile-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ─── FEED PAGE ───────────────────────────────────────────── */

.feed-page {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg);
}

.feed-header {
  padding: 60px 40px 40px;
  text-align: center;
}

.feed-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.feed-subtitle {
  color: var(--silver);
  font-size: 0.95rem;
}

.feed-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feed-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.feed-item:hover {
  border-color: rgba(139,92,246,0.3);
}

.feed-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.feed-item-link:hover .feed-item {
  border-color: rgba(139,92,246,0.4);
}

.feed-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(139,92,246,0.1));
  border: 1.5px solid rgba(139,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--purple);
  overflow: hidden;
  flex-shrink: 0;
}

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

.feed-talent-info {
  flex: 1;
}

.feed-talent-name {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
}

.feed-talent-name:hover {
  color: var(--purple);
}

.feed-post-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.feed-video-wrap {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  position: relative;
  cursor: pointer;
}

.feed-video-wrap iframe,
.feed-video-wrap embed {
  width: 100%;
  height: 100%;
  border: none;
}

.feed-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s;
}

.feed-item:hover .feed-play-overlay {
  background: rgba(0,0,0,0.15);
}

.feed-play-icon {
  width: 64px;
  height: 64px;
  background: rgba(139,92,246,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 24px rgba(139,92,246,0.5);
}

.feed-item-body {
  padding: 16px 20px;
}

.feed-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feed-post-description {
  font-size: 0.875rem;
  color: var(--silver);
  line-height: 1.65;
  margin-bottom: 12px;
}

.feed-item-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.feed-like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 10px;
  border-radius: 6px;
}

.feed-like-btn:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
.feed-like-btn.liked { color: #ef4444; }

.feed-link-btn {
  font-size: 0.875rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.2s;
}

.feed-link-btn:hover { color: var(--purple); }

.feed-empty {
  text-align: center;
  padding: 80px 40px;
  color: var(--muted);
}

.feed-empty h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--silver);
  margin-bottom: 10px;
}

.feed-empty p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.feed-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.feed-empty-cta:hover {
  background: var(--purple-dim);
  color: white;
}

/* ─── ARTIST PROFILE ───────────────────────────────────────── */

.artist-profile-page {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg);
}

.artist-profile-page .profile-page {
  padding-top: 0;
}

/* Artist cover — slightly different gradient for variety */
.artist-cover {
  height: 280px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139,92,246,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(59,35,200,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a16 0%, #130b2a 50%, #0a0a16 100%);
  position: relative;
  overflow: hidden;
}

.artist-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(139,92,246,0.12) 0%, transparent 60%);
}

.artist-cover-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
}

/* Artist hero band — name + avatar + CTAs at a glance */
.artist-hero-band {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.artist-hero-avatar-wrap {
  margin-top: -72px;
  margin-bottom: 16px;
}

.artist-hero-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(139,92,246,0.12));
  border: 4px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--purple);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(139,92,246,0.3);
}

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

.artist-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.artist-hero-name {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.artist-hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.artist-follow-btn {
  padding: 11px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.artist-follow-btn.follow {
  background: var(--purple);
  color: white;
}

.artist-follow-btn.follow:hover {
  background: var(--purple-dim);
  transform: translateY(-1px);
}

.artist-follow-btn.following {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.4);
  color: var(--purple);
}

.artist-follow-btn.following:hover {
  background: rgba(139,92,246,0.2);
}

.artist-msg-btn {
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--silver);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.artist-msg-btn:hover {
  border-color: rgba(139,92,246,0.5);
  color: var(--purple);
}

.artist-social-row {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

/* Artist stats bar */
.artist-stats-bar {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}

.artist-stat {
  padding: 14px 30px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.artist-stat:last-child {
  border-right: none;
}

.artist-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.artist-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Artist body layout */
.artist-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

/* Bio section */
.artist-bio-section {
  margin-bottom: 40px;
}

.artist-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--silver);
}

.artist-bio-text {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.8;
}

/* Performance history */
.artist-performances {
  margin-bottom: 40px;
}

.performances-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.performance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.performance-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-1px);
  color: inherit;
}

.performance-date-badge {
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
}

.performance-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  display: block;
}

.performance-day {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-top: 2px;
}

.performance-info {
  flex: 1;
  min-width: 0;
}

.performance-event-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.performance-meta {
  font-size: 0.8rem;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.performance-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.performance-rsvp-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  flex-shrink: 0;
}

.performances-empty {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.875rem;
}

/* Artist sidebar */
.artist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.artist-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.artist-sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

.artist-sidebar-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.artist-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.artist-sidebar-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.artist-sidebar-links a:hover {
  opacity: 0.8;
}

/* Artist posts grid */
.artist-posts {
  margin-bottom: 40px;
}

.artist-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .profile-body {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }

  .profile-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .profile-sidebar-card {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .search-bar {
    padding: 12px 20px;
  }

  .directory-grid {
    padding: 20px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .directory-header {
    padding: 40px 20px 24px;
  }

  .profile-cover {
    height: 180px;
  }

  .profile-avatar {
    width: 90px;
    height: 90px;
  }

  .profile-header-content {
    padding: 0 20px;
  }

  .profile-stats {
    width: 100%;
  }

  .profile-stat {
    flex: 1;
    padding: 12px 16px;
  }

  .profile-sidebar {
    grid-template-columns: 1fr;
  }

  .feed-list {
    padding: 0 20px 60px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}