/* --- ARTIST PAGE CSS --- */

:root {
  /* Same translucent dark-glass panel pattern the rest of the site uses
     (.homeHeader, the IRC widget) over the shared light page background -
     not a separate solid-black theme. */
  --panel: var(--tt-panel-bg, rgba(0, 0, 0, .62));
  --border: rgba(255, 255, 255, .08);
  --muted2: #a0aec0;
  --r-lg: 10px;
}

body {
  color: #e2e8f0;
}

.artistShell {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.pageGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .pageGrid { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; gap: 24px; }

.card {
  background: var(--panel);
  backdrop-filter: blur(var(--tt-panel-blur, 4px));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.card-body { padding: 24px; }
.cardTitle { font-family: var(--font-heading), sans-serif; font-size: 20px; font-weight: 800; color: #ffffff; margin: 0; }

.artistHeaderCard { position: relative; border-radius: var(--r-lg); }
.artistBanner {
  height: 200px;
  background-color: #23272d;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.artistBanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 29, 33, 0) 40%, rgba(26, 29, 33, 0.85) 100%);
  pointer-events: none;
}

.artistHeaderInner {
  padding: 0 32px 24px 32px;
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.artistAvatar {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid var(--panel);
  background: #292d33;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  margin-top: -40px;
  flex-shrink: 0;
  transition: filter 0.2s, transform 0.2s;
}

/* AVATAR UPLOAD HOVER EFFECT */
.artistAvatar.is-owner:hover {
  cursor: pointer;
  filter: brightness(0.6);
  transform: scale(1.02);
}

.artistHeroInfo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 12px; }
.artistHeroTop { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.artistHeroNameGroup { display: flex; align-items: center; gap: 12px; }
.artistHeroName { font-family: var(--font-heading), sans-serif; font-size: 32px; font-weight: 900; margin: 0; color: #ffffff; line-height: 1; }

.artistRoleBadge {
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.artistBio { margin-top: 12px; color: var(--muted2); font-size: 14px; line-height: 1.5; max-width: 900px; }

/* Tag Cloud (Under the Bio) */
.artistTagCloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tagChip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}

.tagChip:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.heroStatsRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.statItem { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd5e0; }
.statValue { font-weight: 700; color: #ffffff; }

.listHeader { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.controlBar { display: flex; gap: 12px; align-items: center; }

.searchInput, .sortSelect {
  background: #121417;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.searchInput { min-width: 260px; }
.searchInput:focus, .sortSelect:focus { border-color: #e11d2e; }

/* Featured Showcase (Top of the Left Column) */
.featuredShowcaseCard {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
}

.featuredShowcaseCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.featuredShowcaseImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featuredShowcaseCard:hover .featuredShowcaseImg {
  transform: scale(1.05);
}

.featuredShowcaseOverlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(18, 20, 23, 0.95) 0%, rgba(18, 20, 23, 0.6) 60%, rgba(18, 20, 23, 0) 100%);
}

.featuredShowcaseBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e11d2e;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(225, 29, 46, 0.3);
}

.featuredShowcaseTitle {
  font-family: var(--font-heading), sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
  line-height: 1.2;
}

.featuredShowcaseMeta {
  color: #a0aec0;
  font-size: 13px;
  font-weight: 600;
}

.artistGridCards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.artistCard {
  background: #23272d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artistCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.artistCardImageWrapper { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #121417; position: relative; }
.artistCard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.artistCard:hover img { transform: scale(1.05); }

.artistCardBody { padding: 14px; }
.artistCardTitle { font-weight: 700; font-size: 15px; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.artistCardMeta { font-size: 12px; color: #718096; display: flex; justify-content: space-between; align-items: center; }

.sidebarSectionTitle { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #718096; margin-bottom: 12px; font-weight: 800; }
.infoList { display: flex; flex-direction: column; gap: 12px; }
.infoRow { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.infoLabel { color: var(--muted2); }
.infoValue { color: #ffffff; font-weight: 600; }

.highlightUpload {
  display: flex;
  gap: 12px;
  background: #121417;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin-bottom: 12px;
}

.highlightUpload:hover { background: rgba(255,255,255,0.05); }
.highlightUpload img { width: 72px; height: 48px; border-radius: 4px; object-fit: cover; }
.highlightInfo { display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow: hidden; }
.highlightTitle { font-size: 13px; font-weight: 700; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.highlightMeta { font-size: 11px; color: var(--muted2); }

.sidebarActionBlock { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; width: 100%;
}
.btn.ghost { background: rgba(255, 255, 255, 0.08); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.05); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.15); }
.btn.btnDanger { background: rgba(225, 29, 46, 0.1); color: #ff4d5a; border: 1px solid rgba(225, 29, 46, 0.2); }
.btn.btnDanger:hover { background: #e11d2e; color: #ffffff; border-color: #e11d2e; }

.emptyHero { background: rgba(255, 255, 255, 0.02); border: 1px dashed rgba(255, 255, 255, 0.15); border-radius: 10px; padding: 40px; text-align: center; }
.emptyHeroTitle { font-family: var(--font-heading), sans-serif; font-size: 18px; font-weight: 700; color: #ffffff; }
.emptyHeroNote { margin-top: 8px; color: #718096; font-size: 14px; }