:root {
  --primary: #A222F9;
  --secondary: #318DFD;
  --glassBg: rgba(255, 255, 255, 0.05);
  --glassBorder: rgba(255, 255, 255, 0.1);
  --bg-dark: #050010;
}

* {
  box-sizing: border-box; margin: 0; padding: 0;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-dark); color: white;
  min-height: 100vh; overflow-x: hidden;
}

.glass-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(162, 34, 249, 0.15), rgba(49, 141, 253, 0.15));
  filter: blur(100px); z-index: -1;
}

/* Sidebar Styling */
.sidebar {
  width: 280px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  border-right: 1px solid var(--glassBorder);
  height: 100vh; position: fixed; top: 0; left: 0;
  display: flex; flex-direction: column;
  padding: 30px;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo .accent {
  color: var(--primary);
  font-size: 0.65rem;
  letter-spacing: 4px;
  font-weight: 700;
  opacity: 0.85;
}
.logo .logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  margin-right: 6px;
  vertical-align: middle;
}

.nav-menu { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  transition: all 0.22s ease;
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.nav-item i {
  width: 20px;
  text-align: center;
  transition: color 0.22s ease, filter 0.22s ease;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}
.nav-item:hover i {
  color: var(--secondary);
}
.nav-item.active {
  background: rgba(162, 34, 249, 0.12);
  color: white;
  border-color: rgba(162, 34, 249, 0.35);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.nav-item.active i {
  color: var(--primary);
  filter: drop-shadow(0 0 6px rgba(162, 34, 249, 0.8));
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--glassBorder);
}
.user-profile span {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-profile-status {
  font-size: 0.72rem;
  color: #2ecc71;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.avatar-shell {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
}
.avatar-shell::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

.avatar-fallback {
  width: 40px;
  height: 40px;
}

.avatar.avatar-photo {
  object-fit: cover;
  border: 2px solid rgba(162, 34, 249, 0.45);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

/* Main Layout */
.main-wrapper {
  margin-left: 280px; flex: 1; min-height: 100vh;
  padding: 40px; display: flex; flex-direction: column;
}

.dashboard-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px;
}

.dashboard-header h1 { font-size: 2.2rem; font-weight: 900; }
.dashboard-header p { color: rgba(255,255,255,0.6); }

/* Tab Sections */
.tab-section { display: none; animation: fadeIn 0.4s ease; }
.tab-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.stat-card {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--glassBorder);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(162, 34, 249, 0.4);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35), 0 0 0 1px rgba(162, 34, 249, 0.15);
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stat-card:hover::after {
  opacity: 1;
}
.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.stat-card h3 {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.stat-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.stat-card-icon.purple { background: rgba(162, 34, 249, 0.18); color: var(--primary); }
.stat-card-icon.blue { background: rgba(49, 141, 253, 0.18); color: var(--secondary); }
.stat-card-icon.green { background: rgba(46, 204, 113, 0.18); color: #2ecc71; }
.stat-card-icon.yellow { background: rgba(241, 196, 15, 0.18); color: #f1c40f; }
.stat-card .value {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.stat-card p { margin: 0; font-size: 0.8rem; }

/* Form glass */
.glass-form {
  background: rgba(0,0,0,0.2); padding: 40px; border-radius: 20px;
  border: 1px solid var(--glassBorder);
}
.form-row { display: flex; gap: 20px; margin-bottom: 25px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
label { font-weight: 600; font-size: 0.9rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px;}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], select {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glassBorder);
  color: white; padding: 15px 20px; border-radius: 12px; font-size: 1rem;
  transition: all 0.3s; width: 100%; outline: none; appearance: none; -webkit-appearance: none;
}
input[type="datetime-local"], textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glassBorder);
  color: white; padding: 15px 20px; border-radius: 12px; font-size: 1rem;
  transition: all 0.3s; width: 100%; outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="datetime-local"]:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--primary); background: rgba(255,255,255,0.1);
  box-shadow: 0 0 15px rgba(162, 34, 249, 0.3);
}

textarea { min-height: 110px; resize: vertical; }

/* Release Type Selector */
.release-type-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.release-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.release-type-btn:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: white;
}
.release-type-btn.active {
  background: linear-gradient(135deg, rgba(162, 34, 249, 0.25), rgba(49, 141, 253, 0.2));
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 14px rgba(162, 34, 249, 0.3);
}
.release-type-btn.active i {
  color: var(--primary);
}

/* Feat Artists Tag Input */
.feat-artists-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glassBorder);
  border-radius: 12px;
  padding: 10px 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.feat-artists-wrap:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(49, 141, 253, 0.18);
}
.feat-artists-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.feat-artists-tags:empty {
  display: none;
}
.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(49, 141, 253, 0.2), rgba(162, 34, 249, 0.15));
  border: 1px solid rgba(49, 141, 253, 0.5);
  color: white;
  border-radius: 50px;
  padding: 5px 12px 5px 14px;
  font-size: 0.85rem;
  font-weight: 700;
}
.feat-tag-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}
.feat-tag-remove:hover {
  color: #e74c3c;
}
.feat-artists-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.feat-artists-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.95rem;
  outline: none;
  padding: 4px 0;
}
.feat-artists-input-row input::placeholder {
  color: rgba(255,255,255,0.35);
}
.feat-search-status {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}
.feat-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(49, 141, 253, 0.45);
  background: rgba(49, 141, 253, 0.15);
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.feat-add-btn:hover {
  background: rgba(49, 141, 253, 0.3);
  transform: scale(1.1);
}

/* Feat artist dropdown */
.feat-dropdown {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 6px;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}
.feat-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
  border: 1px solid transparent;
}
.feat-dropdown-item:hover {
  background: rgba(49, 141, 253, 0.12);
  border-color: rgba(49, 141, 253, 0.3);
}
.feat-dropdown-item.already-added {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.feat-dropdown-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  overflow: hidden;
}
.feat-dropdown-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.feat-dropdown-name {
  font-size: 0.9rem;
  font-weight: 700;
  flex: 1;
}
.feat-dropdown-check {
  color: #2ecc71;
  font-size: 0.8rem;
}
.feat-dropdown-empty {
  padding: 10px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
.feat-dropdown-loading {
  padding: 10px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.feat-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.upload-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.upload-insight-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 14px;
}

.upload-insight-card h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
}

.upload-insight-card h4 i {
  margin-right: 8px;
  color: var(--secondary);
}

.upload-insight-card p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.upload-checkbox-wrap {
  border: 1px solid var(--glassBorder);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
}

.upload-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
}

.upload-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.upload-note-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  color: rgba(255,255,255,0.55);
}

.upload-file-meta {
  margin-top: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
}

.upload-preview {
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(162, 34, 249, 0.1), rgba(49, 141, 253, 0.08));
}

.upload-preview h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.upload-preview-content {
  display: flex;
  gap: 12px;
  align-items: center;
}

.upload-preview-content img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
}

.upload-preview-content strong {
  font-size: 1rem;
}

.upload-preview-content p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
}

.upload-checklist {
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
}

.upload-checklist h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.upload-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.upload-checklist li {
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
}

.upload-checklist li.done {
  color: #2ecc71;
}

.upload-checklist li i {
  margin-right: 8px;
}

select option { background: var(--bg-dark); color: white; }

.file-upload-box {
  width: 100%; border: 2px dashed rgba(255,255,255,0.2); border-radius: 15px;
  padding: 40px 20px; text-align: center; position: relative; cursor: pointer;
  transition: all 0.3s; background: rgba(255,255,255,0.02);
}
.file-upload-box:hover, .file-upload-box.drag-over { border-color: var(--secondary); background: rgba(49, 141, 253, 0.1); }
.file-upload-box input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-upload-box span { color: rgba(255,255,255,0.6); font-weight: 600; }

.profile-photo-upload {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--glassBorder);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.profile-photo-preview {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.profile-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(162, 34, 249, 0.45), rgba(49, 141, 253, 0.45));
  color: rgba(255,255,255,0.9);
  font-size: 1.45rem;
}

.profile-photo-upload input[type="file"] {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glassBorder);
  border-radius: 10px;
  padding: 10px;
  color: rgba(255,255,255,0.85);
}

.btn-submit {
  width: 100%; padding: 18px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-weight: 800; font-size: 1.05rem; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(162, 34, 249, 0.45); margin-top: 20px;
  letter-spacing: 0.5px;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(162, 34, 249, 0.65); }
.btn-submit:active { transform: translateY(0); }

/* Header "Nouvelle Sortie" button */
.btn-new-release {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(162, 34, 249, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-new-release:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(162, 34, 249, 0.6);
}

/* Upload Stepper */
.upload-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.upload-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.3s ease;
}
.upload-step.active {
  color: white;
}
.upload-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.upload-step.active .upload-step-num {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(162, 34, 249, 0.6);
  color: white;
}
.upload-step.done .upload-step-num {
  background: rgba(46, 204, 113, 0.25);
  border-color: rgba(46, 204, 113, 0.6);
  color: #2ecc71;
}
.upload-step.done {
  color: rgba(255,255,255,0.55);
}
.upload-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 10px;
  border-radius: 2px;
}

/* Catalog List */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(162, 34, 249, 0.08), rgba(49, 141, 253, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 0 20px rgba(255, 255, 255, 0.015);
}

.catalog-search-wrap {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glassBorder);
  border-radius: 12px;
  height: 46px;
  transition: all 0.25s ease;
}

.catalog-search-wrap:focus-within {
  border-color: rgba(162, 34, 249, 0.8);
  box-shadow: 0 0 0 3px rgba(162, 34, 249, 0.2);
  background: rgba(255,255,255,0.08);
}

.catalog-search-wrap i {
  color: rgba(255,255,255,0.5);
}

.catalog-search-wrap input {
  border: none;
  background: transparent;
  color: white;
  width: 100%;
  outline: none;
  font-size: 0.95rem;
}

.catalog-search-wrap input::placeholder {
  color: rgba(255,255,255,0.45);
}

.catalog-sort {
  min-width: 210px;
  height: 46px;
  border-radius: 12px;
  padding-right: 40px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.catalog-sort:focus {
  border-color: rgba(49, 141, 253, 0.85);
  box-shadow: 0 0 0 3px rgba(49, 141, 253, 0.2);
}

.catalog-refresh-btn,
.catalog-action-btn {
  border: 1px solid var(--glassBorder);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 12px;
  height: 46px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.catalog-refresh-btn:hover,
.catalog-action-btn:hover {
  background: rgba(255,255,255,0.12);
}

.catalog-refresh-btn {
  background: linear-gradient(135deg, rgba(162, 34, 249, 0.22), rgba(49, 141, 253, 0.18));
  border-color: rgba(162, 34, 249, 0.45);
  box-shadow: 0 8px 20px rgba(162, 34, 249, 0.22);
}

.catalog-refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(162, 34, 249, 0.32);
}

.catalog-refresh-btn:hover i {
  transform: rotate(180deg);
}

.catalog-refresh-btn i {
  margin-right: 8px;
  transition: transform 0.45s ease;
}

.catalog-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}

.catalog-action-btn i {
  margin-right: 8px;
}

.catalog-action-btn.delete {
  border-color: rgba(231, 76, 60, 0.5);
  color: #ffb3ab;
}

.catalog-action-btn.delete:hover {
  background: rgba(231, 76, 60, 0.18);
}

.catalog-feedback {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease;
}

.catalog-feedback.success {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #78f0ab;
}

.catalog-feedback.error {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #ffb3ab;
}

.catalog-list { display: flex; flex-direction: column; gap: 4px; }

.catalog-list-header {
  display: grid;
  grid-template-columns: 28px 56px 1fr 100px auto;
  gap: 14px;
  align-items: center;
  padding: 0 14px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 6px;
}
.catalog-list-header span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}
.catalog-list-header .col-streams { text-align: right; }

.catalog-item {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 28px 56px 1fr 100px auto;
  align-items: center;
  gap: 14px;
  transition: background 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.catalog-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: transparent;
}

.catalog-item-rank {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-align: center;
  min-width: 28px;
}

.catalog-cover-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.catalog-cover-wrap .catalog-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
  cursor: pointer;
  font-size: 1.1rem;
  color: white;
}
.catalog-item:hover .catalog-play-overlay {
  opacity: 1;
}

.catalog-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.catalog-info { flex: 1; min-width: 0; }
.catalog-info h4 {
  font-size: 0.97rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-info p {
  color: rgba(255,255,255,0.5);
  font-size: 0.84rem;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-streams-col {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
}
.catalog-meta { text-align: right; color: rgba(255,255,255,0.5); font-size: 0.85rem;}

.catalog-badges {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.catalog-badge.genre {
  border-color: rgba(162, 34, 249, 0.55);
  background: rgba(162, 34, 249, 0.22);
}

.catalog-badge.public {
  border-color: rgba(46, 204, 113, 0.48);
  background: rgba(46, 204, 113, 0.18);
}

.catalog-badge.unlisted {
  border-color: rgba(241, 196, 15, 0.5);
  background: rgba(241, 196, 15, 0.15);
}

.catalog-badge.explicit {
  border-color: rgba(231, 76, 60, 0.5);
  background: rgba(231, 76, 60, 0.2);
  color: #ffd2cc;
}

/* Release type badges */
.catalog-badge.release-type-badge {
  font-weight: 800;
  letter-spacing: 0.5px;
}
.catalog-badge.release-type-feat {
  border-color: rgba(49, 141, 253, 0.55);
  background: rgba(49, 141, 253, 0.18);
  color: #a8d4ff;
}
.catalog-badge.release-type-remix {
  border-color: rgba(241, 196, 15, 0.55);
  background: rgba(241, 196, 15, 0.15);
  color: #ffeea0;
}
.catalog-badge.release-type-ep {
  border-color: rgba(46, 204, 113, 0.5);
  background: rgba(46, 204, 113, 0.15);
  color: #a0f0c8;
}

/* Feat artists line in catalog */
.catalog-feat-line {
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 3px 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.catalog-feat-line i {
  font-size: 0.75rem;
}
.catalog-meta-album {
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.catalog-meta-line {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
}

.catalog-meta-line span i {
  margin-right: 6px;
  color: rgba(255,255,255,0.55);
}

#lastCatalogSync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

#lastCatalogSync::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.15);
}

.listen-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.listen-modal.open {
  display: flex;
}

.listen-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 0, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.listen-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: linear-gradient(145deg, rgba(25, 15, 42, 0.96), rgba(10, 18, 38, 0.96));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7), 0 0 60px rgba(162, 34, 249, 0.25);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.listen-modal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(162, 34, 249, 0.35) 0%, transparent 65%);
  pointer-events: none;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)  scale(1); }
}

.listen-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}

.listen-modal-cover-wrap {
  width: 100%;
  max-width: 280px;
  margin: 6px auto 20px;
}

.listen-modal-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.6),
    0 0 0 8px rgba(255,255,255,0.03),
    0 0 0 16px rgba(255,255,255,0.015);
  transition: transform 0.3s ease;
}
.listen-modal.open .listen-modal-cover {
  animation: coverPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes coverPop {
  from { transform: scale(0.88); opacity: 0.5; }
  to   { transform: scale(1);    opacity: 1; }
}

#listenModalTitle {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.listen-modal-artist {
  text-align: center;
  color: rgba(255,255,255,0.66);
  margin-bottom: 16px;
}

.listen-modal-audio {
  width: 100%;
  border-radius: 12px;
}

.empty-state { text-align: center; padding: 50px; background: rgba(0,0,0,0.2); border-radius: 20px; border: 1px dashed var(--glassBorder); }

/* Staggered item entrance */
.catalog-item {
  animation: itemFadeIn 0.35s ease both;
}
@keyframes itemFadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-row {
  display: grid;
  grid-template-columns: 28px 56px 1fr 100px 120px;
  gap: 14px;
  padding: 8px 14px;
  align-items: center;
}
.skeleton-num  { height: 14px; width: 16px; }
.skeleton-img  { height: 56px; width: 56px; border-radius: 8px; }
.skeleton-info { height: 14px; }
.skeleton-streams { height: 12px; width: 60px; margin-left: auto; }
.skeleton-actions { height: 34px; width: 110px; border-radius: 8px; }


/* ── Stats Section ─────────────────────────────────────── */
.stats-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stats-panel {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glassBorder);
  border-radius: 16px;
  padding: 22px 24px;
}

.stats-panel-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 18px 0;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.stats-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 10px;
}

.stats-bar-label {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255,255,255,0.8);
}

.stats-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats-bar-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-align: right;
}

.stats-followers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-follower-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.stats-follower-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Artist News (overview) */
.artist-news-wrap {
  margin-top: 28px;
}

.artist-news-head {
  margin-bottom: 14px;
}

.artist-news-head h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 900;
}

.artist-news-head p {
  margin: 0;
  color: rgba(255,255,255,0.56);
  font-size: 0.88rem;
}

.artist-news-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.artist-news-kpi-card,
.artist-news-card {
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px;
}

.artist-news-kpi-title {
  color: rgba(255,255,255,0.64);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.artist-news-kpi-value {
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.artist-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.artist-news-signals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

/* ════════════════════════════════
   TRIOMPHE BANNER
   ════════════════════════════════ */
.triomphe-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid rgba(255,207,102,0.25);
  background: linear-gradient(135deg,
    rgba(20,12,40,0.96) 0%,
    rgba(30,18,10,0.96) 100%
  );
  box-shadow: 0 8px 40px rgba(255,180,0,0.12), 0 2px 8px rgba(0,0,0,0.4);
  animation: triompheIn 0.55s cubic-bezier(.22,.68,0,1.2) both;
}

.triomphe-banner.triomphe-algo {
  border-color: rgba(80,175,255,0.28);
  background: linear-gradient(135deg,
    rgba(8,20,44,0.97) 0%,
    rgba(10,24,48,0.97) 100%
  );
  box-shadow: 0 8px 40px rgba(56,189,248,0.14), 0 2px 8px rgba(0,0,0,0.4);
}

.triomphe-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,196,64,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.triomphe-banner.triomphe-algo .triomphe-glow {
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.2) 0%, transparent 70%);
}

.triomphe-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
}

.triomphe-icon-wrap {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255,196,64,0.15);
  border: 1px solid rgba(255,196,64,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffd566;
  box-shadow: 0 0 24px rgba(255,196,64,0.2);
  animation: triomphePulse 2.4s ease-in-out infinite;
}

.triomphe-banner.triomphe-algo .triomphe-icon-wrap {
  background: rgba(56,189,248,0.14);
  border-color: rgba(56,189,248,0.4);
  color: #7dd3fc;
  box-shadow: 0 0 24px rgba(56,189,248,0.18);
}

.triomphe-body {
  flex: 1;
  min-width: 0;
}

.triomphe-eyebrow {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,196,64,0.75);
  margin-bottom: 4px;
}

.triomphe-banner.triomphe-algo .triomphe-eyebrow {
  color: rgba(125,211,252,0.75);
}

.triomphe-title {
  margin: 0 0 6px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.triomphe-desc {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

.triomphe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.triomphe-tag {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255,196,64,0.14);
  border: 1px solid rgba(255,196,64,0.4);
  color: #fcd34d;
  white-space: nowrap;
}

.triomphe-tag-algo {
  background: rgba(56,189,248,0.14);
  border-color: rgba(56,189,248,0.4);
  color: #7dd3fc;
}

.triomphe-tag-top10 {
  background: rgba(16,185,129,0.16);
  border-color: rgba(16,185,129,0.5);
  color: #6ee7b7;
}

/* Top 10 theme */
.triomphe-banner.triomphe-top10 {
  border-color: rgba(16,185,129,0.3);
  background: linear-gradient(135deg,
    rgba(8,30,22,0.97) 0%,
    rgba(6,24,18,0.97) 100%
  );
  box-shadow: 0 8px 40px rgba(16,185,129,0.14), 0 2px 8px rgba(0,0,0,0.4);
}

.triomphe-banner.triomphe-top10 .triomphe-glow {
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.22) 0%, transparent 70%);
}

.triomphe-banner.triomphe-top10 .triomphe-icon-wrap {
  background: rgba(16,185,129,0.16);
  border-color: rgba(16,185,129,0.45);
  color: #6ee7b7;
  box-shadow: 0 0 24px rgba(16,185,129,0.2);
  animation-name: triomphePulseTop10;
}

.triomphe-banner.triomphe-top10 .triomphe-eyebrow {
  color: rgba(110,231,183,0.75);
}

.badge-top10 {
  background: rgba(16,185,129,0.18);
  border: 1px solid rgba(16,185,129,0.55);
  color: #6ee7b7;
}

@keyframes triomphePulseTop10 {
  0%, 100% { box-shadow: 0 0 24px rgba(16,185,129,0.2); }
  50%       { box-shadow: 0 0 40px rgba(16,185,129,0.42); }
}

.triomphe-badge {
  flex-shrink: 0;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
  align-self: flex-start;
}

.badge-official {
  background: rgba(255,196,64,0.18);
  border: 1px solid rgba(255,196,64,0.55);
  color: #ffd566;
}

.badge-algo {
  background: rgba(56,189,248,0.16);
  border: 1px solid rgba(56,189,248,0.5);
  color: #7dd3fc;
}

@keyframes triompheIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes triomphePulse {
  0%, 100% { box-shadow: 0 0 24px rgba(255,196,64,0.2); }
  50%       { box-shadow: 0 0 38px rgba(255,196,64,0.42); }
}

.triomphe-banner.triomphe-algo .triomphe-icon-wrap {
  animation-name: triomphePulseAlgo;
}

@keyframes triomphePulseAlgo {
  0%, 100% { box-shadow: 0 0 24px rgba(56,189,248,0.18); }
  50%       { box-shadow: 0 0 38px rgba(56,189,248,0.38); }
}

@media (max-width: 600px) {
  .triomphe-inner {
    padding: 16px;
    gap: 14px;
  }
  .triomphe-icon-wrap {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    border-radius: 14px;
  }
  .triomphe-badge {
    display: none;
  }
}

.artist-signal-card {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.artist-signal-card i {
  margin-top: 2px;
}

.artist-signal-card strong {
  display: block;
  font-size: 0.82rem;
}

.artist-signal-card p {
  margin: 2px 0 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.62);
}

.artist-signal-card small {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

.artist-signal-card.official {
  border-color: rgba(255, 207, 102, 0.35);
  background: rgba(255, 196, 64, 0.08);
}

.artist-signal-card.official i,
.artist-signal-card.official strong {
  color: #ffd566;
}

.artist-signal-card.algo {
  border-color: rgba(80, 175, 255, 0.32);
  background: rgba(80, 175, 255, 0.08);
}

.artist-signal-card.algo i,
.artist-signal-card.algo strong {
  color: #8dcbff;
}

.artist-news-card h3 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.artist-news-card-full {
  width: 100%;
}

.artist-news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.artist-news-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.artist-news-item-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
}

.artist-news-item-sub {
  margin-top: 2px;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
}

.artist-news-time {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.52);
  white-space: nowrap;
}

.artist-news-pill {
  font-size: 0.67rem;
  font-weight: 800;
  color: #dcb2ff;
  border: 1px solid rgba(162, 34, 249, 0.45);
  background: rgba(162, 34, 249, 0.14);
  border-radius: 999px;
  padding: 4px 9px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN - TABLETS & SMALL SCREENS
   ═══════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .sidebar {
    width: 240px;
    padding: 24px;
  }
  .main-wrapper {
    margin-left: 240px;
    padding: 32px 24px;
  }
  .dashboard-header h1 {
    font-size: 1.8rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-item {
    grid-template-columns: 24px 50px 1fr 80px auto;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 200px;
    padding: 20px;
  }
  .main-wrapper {
    margin-left: 200px;
    padding: 24px 20px;
  }
  .nav-item {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .nav-item i {
    width: 18px;
  }
  .logo {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .dashboard-header h1 {
    font-size: 1.6rem;
  }
  .btn-new-release {
    align-self: flex-start;
  }
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media(max-width: 768px) {
  .stats-two-col { grid-template-columns: 1fr; }
  .stats-bar-row { grid-template-columns: 90px 1fr 55px; }

  /* Hide sidebar on mobile — replaced by bottom nav */
  .sidebar {
    display: none;
  }
  .main-wrapper {
    margin-left: 0;
    padding: 16px 14px 80px 14px;
  }
  .stats-grid { 
    grid-template-columns: 1fr; 
    gap: 10px;
  }
  .form-row { flex-direction: column; gap:0;}

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .dashboard-header h1 {
    font-size: 1.4rem;
  }
  .dashboard-header p {
    font-size: 0.9rem;
  }
  .btn-new-release {
    width: 100%;
    justify-content: center;
  }

  .catalog-toolbar {
    padding: 10px;
    gap: 10px;
    flex-direction: column;
  }
  .catalog-search-wrap,
  .catalog-sort,
  .catalog-refresh-btn {
    width: 100%;
    min-width: 100%;
  }
  .catalog-item {
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
  }
  .catalog-item-rank,
  .catalog-streams-col,
  .catalog-list-header { display: none; }
  .catalog-actions {
    flex-direction: column;
    gap: 6px;
  }
  .catalog-action-btn {
    flex: 1;
    font-size: 0.82rem;
  }
  .catalog-cover-wrap {
    width: 48px;
    height: 48px;
  }
  .catalog-img {
    width: 48px;
    height: 48px;
  }

  .artist-news-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .artist-news-grid {
    grid-template-columns: 1fr;
  }

  .artist-news-kpi-value {
    font-size: 1.4rem;
  }

  .artist-news-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .artist-news-time {
    margin-top: 2px;
  }

  .listen-modal-card {
    padding: 20px 18px;
    border-radius: 20px;
    max-width: calc(100% - 20px);
  }
  .listen-modal-cover-wrap {
    max-width: 240px;
  }

  .albums-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .albums-section-title {
    width: 100%;
  }
  .btn-create-album {
    width: 100%;
    justify-content: center;
  }
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
  .album-card-body {
    padding: 10px 12px;
  }
  .album-card-title {
    font-size: 0.9rem;
  }
  .album-detail-header {
    padding: 20px;
    gap: 16px;
  }
  .album-detail-meta {
    flex-direction: column;
    gap: 14px;
  }
  .album-detail-cover-wrap {
    width: 120px;
    height: 120px;
  }
  .album-detail-info h2 {
    font-size: 1.6rem;
  }
  .album-modal-card {
    padding: 24px;
    max-width: 95vw;
  }

  .trophee-card {
    padding: 12px 13px;
    gap: 11px;
  }
  .trophee-pill {
    display: none;
  }
  .trophees-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .trophees-title {
    font-size: 1.4rem;
  }

  /* ── Mobile bottom nav (Spotify style) ─── */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 2, 20, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    border: none;
    background: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-item i {
    font-size: 1.2rem;
    transition: color 0.2s ease;
  }
  .mobile-nav-item.active {
    color: white;
  }
  .mobile-nav-item.active i {
    color: var(--primary);
    filter: drop-shadow(0 0 6px rgba(162, 34, 249, 0.8));
  }
}

@media(min-width: 769px) {
  .mobile-nav { display: none !important; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN - SMALL PHONES (max 480px)
   ═══════════════════════════════════════════════ */

@media (max-width: 480px) {
  .main-wrapper {
    padding: 12px 12px 80px 12px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stat-card {
    padding: 16px 18px;
  }
  .stat-card h3 {
    font-size: 0.7rem;
  }
  .stat-card .value {
    font-size: 1.6rem;
  }
  .dashboard-header h1 {
    font-size: 1.2rem;
  }
  .btn-new-release {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .form-row {
    gap: 0;
  }
  .form-group {
    margin-bottom: 16px;
  }
  label {
    font-size: 0.85rem;
  }
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  select,
  input[type="datetime-local"],
  textarea {
    padding: 12px 16px;
    font-size: 16px;
  }
  
  .release-type-selector {
    gap: 6px;
  }
  .release-type-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .upload-insights {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .upload-insight-card {
    padding: 12px;
  }

  .catalog-toolbar {
    padding: 8px;
    gap: 8px;
  }
  .catalog-search-wrap {
    height: 42px;
    padding: 0 12px;
  }
  .catalog-sort {
    height: 42px;
    min-width: 100%;
  }
  .catalog-refresh-btn {
    padding: 0 12px;
    height: 42px;
    font-size: 0.8rem;
  }
  .catalog-item {
    grid-template-columns: 40px 1fr 30px;
    padding: 6px 10px;
  }
  .catalog-cover-wrap {
    width: 40px;
    height: 40px;
  }
  .catalog-img {
    width: 40px;
    height: 40px;
  }
  .catalog-info h4 {
    font-size: 0.85rem;
  }
  .catalog-info p {
    font-size: 0.75rem;
  }
  .catalog-actions {
    gap: 4px;
  }
  .catalog-action-btn {
    padding: 0 8px;
    font-size: 0.75rem;
    height: 32px;
  }

  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  .album-card-title {
    font-size: 0.85rem;
  }
  .album-card-meta {
    font-size: 0.7rem;
  }

  .file-upload-box {
    padding: 24px 16px;
  }

  .listen-modal-card {
    padding: 18px 16px;
  }
  .listen-modal-cover-wrap {
    max-width: 220px;
    margin: 4px auto 14px;
  }
  #listenModalTitle {
    font-size: 1.1rem;
  }

  .upload-preview-content img {
    width: 60px;
    height: 60px;
  }

  .artist-news-kpis {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .artist-news-kpi-card {
    padding: 12px;
  }
  .artist-news-kpi-title {
    font-size: 0.7rem;
  }
  .artist-news-kpi-value {
    font-size: 1.2rem;
  }

  .triomphe-inner {
    padding: 14px;
    gap: 12px;
  }
  .triomphe-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .triomphe-title {
    font-size: 1rem;
  }
  .triomphe-desc {
    font-size: 0.75rem;
  }
  .triomphe-tags {
    gap: 4px;
  }
  .triomphe-tag {
    padding: 2px 8px;
    font-size: 0.6rem;
  }

  .trophee-card {
    padding: 10px 11px;
    gap: 10px;
  }
  .trophee-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .trophee-body strong {
    font-size: 0.8rem;
  }
  .trophee-body span {
    font-size: 0.7rem;
  }

  .profile-photo-upload {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .profile-photo-preview {
    width: 72px;
    height: 72px;
  }

  .btn-submit {
    padding: 14px;
    font-size: 0.95rem;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN - EXTRA SMALL PHONES (max 360px)
   ═══════════════════════════════════════════════ */

@media (max-width: 360px) {
  .main-wrapper {
    padding: 10px 10px 80px 10px;
  }
  .stat-card {
    padding: 14px 16px;
  }
  .dashboard-header h1 {
    font-size: 1rem;
  }
  .form-group {
    margin-bottom: 14px;
  }
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  select,
  input[type="datetime-local"],
  textarea {
    padding: 10px 14px;
    font-size: 15px;
  }
  .catalog-toolbar {
    padding: 6px;
  }
  .catalog-item {
    grid-template-columns: 36px 1fr 28px;
    padding: 4px 8px;
  }
  .catalog-cover-wrap {
    width: 36px;
    height: 36px;
  }
  .catalog-img {
    width: 36px;
    height: 36px;
  }
  .catalog-info h4 {
    font-size: 0.8rem;
  }
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  .btn-new-release {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .album-detail-header {
    padding: 16px;
  }
  .album-detail-cover-wrap {
    width: 100px;
    height: 100px;
  }
}

/* =========================================================
   ALBUMS SECTION
   ========================================================= */

/* Toolbar */
.albums-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.albums-section-title {
  font-size: 1.6rem;
  font-weight: 800;
}

.btn-create-album {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 20px rgba(162, 34, 249, 0.35);
}
.btn-create-album:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Album grid */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

.album-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glassBorder);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.album-card:hover {
  transform: translateY(-4px);
  border-color: rgba(162, 34, 249, 0.45);
  box-shadow: 0 8px 30px rgba(162, 34, 249, 0.2);
}

.album-card-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: rgba(255,255,255,0.05);
}
.album-card-cover-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(162,34,249,0.15), rgba(49,141,253,0.15));
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}

.album-card-body {
  padding: 14px 16px 18px;
}
.album-card-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-card-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.album-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 1.5rem;
  color: white;
}
.album-card:hover .album-card-overlay {
  opacity: 1;
}

/* ---- Album Detail Panel ---- */
.album-detail-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glassBorder);
  border-radius: 20px;
}

.album-back-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--glassBorder);
  color: white;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  align-self: flex-start;
}
.album-back-btn:hover { background: rgba(255,255,255,0.12); }

.album-detail-meta {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.album-detail-cover-wrap {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--glassBorder);
}
.album-detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.album-detail-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(162,34,249,0.2), rgba(49,141,253,0.2));
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}
.album-detail-info {
  flex: 1;
  min-width: 200px;
}
.album-detail-info h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.album-detail-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.album-detail-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.album-detail-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-delete-album {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  color: #e74c3c;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  align-self: flex-start;
}
.btn-delete-album:hover { background: rgba(231,76,60,0.2); }

/* Track picker (add tracks panel) */
.album-add-tracks-panel,
.album-tracks-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glassBorder);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.album-add-tracks-panel h3,
.album-tracks-panel h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.album-track-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.album-picker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.album-picker-item:hover { background: rgba(255,255,255,0.08); }
.album-picker-item.already-in { opacity: 0.5; pointer-events: none; }
.album-picker-item img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.album-picker-item-info {
  flex: 1;
  overflow: hidden;
}
.album-picker-item-title {
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-picker-item-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.album-picker-add-btn {
  flex-shrink: 0;
  background: rgba(49,141,253,0.15);
  border: 1px solid rgba(49,141,253,0.3);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
  white-space: nowrap;
}
.album-picker-add-btn:hover { background: rgba(49,141,253,0.28); }
.album-picker-item.already-in .album-picker-add-btn {
  background: rgba(46,204,113,0.1);
  border-color: rgba(46,204,113,0.3);
  color: #2ecc71;
}

/* Tracks inside the album */
.album-tracks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.album-track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid transparent;
  transition: background 0.15s ease;
}
.album-track-row:hover { background: rgba(255,255,255,0.07); }
.album-track-num {
  width: 22px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.album-track-row img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.album-track-info {
  flex: 1;
  overflow: hidden;
}
.album-track-title {
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-track-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.album-track-remove-btn {
  flex-shrink: 0;
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.25);
  color: #e74c3c;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
}
.album-track-remove-btn:hover { background: rgba(231,76,60,0.22); }

/* ---- Create Album Modal ---- */
.album-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}
.album-modal.open {
  display: flex;
}
.album-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.album-modal-card {
  position: relative;
  z-index: 201;
  background: #0d001e;
  border: 1px solid var(--glassBorder);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  margin: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: albumModalPop 0.28s cubic-bezier(.22,1,.36,1) both;
}
@keyframes albumModalPop {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.album-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.album-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}
.album-modal-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glassBorder);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}
.album-modal-close:hover { background: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════
   SECTION TROPHÉES
   ══════════════════════════════════════════════ */

.trophees-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trophees-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trophees-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(239,68,68,0.15));
  border: 1px solid rgba(245,158,11,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fcd34d;
  flex-shrink: 0;
}

.trophees-title {
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 900;
}

.trophees-subtitle {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}

.trophees-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(245,158,11,0.14);
  border: 1px solid rgba(245,158,11,0.4);
  color: #fcd34d;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Grille trophées */
.trophees-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trophee-category-label {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.38);
  display: flex;
  align-items: center;
  gap: 7px;
}

.trophee-category-label:first-child {
  margin-top: 0;
}

/* Carte trophée */
.trophee-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.trophee-card.trophee-featured {
  border-color: rgba(245,158,11,0.18);
  background: rgba(245,158,11,0.04);
}

/* État verrouillé */
.trophee-card.trophee-locked {
  opacity: 0.45;
  filter: grayscale(0.6);
}

.trophee-card.trophee-locked .trophee-icon-wrap::after {
  content: '\f023';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 0.7rem;
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.6);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* État débloqué */
.trophee-card.trophee-unlocked {
  border-color: rgba(245,158,11,0.45);
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(239,68,68,0.05));
  box-shadow: 0 4px 20px rgba(245,158,11,0.12);
  opacity: 1;
  filter: none;
  animation: tropheeUnlock 0.5s cubic-bezier(.22,.68,0,1.3) both;
}

.trophee-card.trophee-unlocked.trophee-featured {
  border-color: rgba(245,158,11,0.75);
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(239,68,68,0.1));
  box-shadow: 0 6px 32px rgba(245,158,11,0.25);
}

.trophee-card.trophee-unlocked:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,0.2);
}

/* Icône trophée */
.trophee-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  position: relative;
}

.trophee-unlocked .trophee-icon-wrap {
  background: rgba(245,158,11,0.18);
  border-color: rgba(245,158,11,0.5);
  color: #fcd34d;
}

/* Texte */
.trophee-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trophee-body strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(255,255,255,0.72);
}

.trophee-unlocked .trophee-body strong {
  color: #fff;
}

.trophee-body span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.4;
}

.trophee-unlocked .trophee-body span {
  color: rgba(255,255,255,0.65);
}

/* Pill condition */
.trophee-pill {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.64rem;
  font-weight: 900;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.trophee-unlocked .trophee-pill {
  background: rgba(245,158,11,0.2);
  border-color: rgba(245,158,11,0.55);
  color: #fcd34d;
}

.trophee-pill-gold {
  background: rgba(245,158,11,0.18) !important;
  border-color: rgba(245,158,11,0.5) !important;
  color: #fcd34d !important;
}

/* Checkmark débloqué */
.trophee-unlocked::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(245,158,11,0.25);
  border: 1px solid rgba(245,158,11,0.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd34d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes tropheeUnlock {
  0%   { transform: scale(0.94); opacity: 0; }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
  .trophees-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .trophee-card {
    padding: 12px 13px;
    gap: 11px;
  }
  .trophee-pill {
    display: none;
  }
}
