/* /css/pages/repertoire/repertoire-new.css */
/* Repertoire Page - Complete Redesign */

.repertoire-page-new {
  background: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
}

/* Container */
.rep-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== PREMIUM HERO 2026 ===== */
.rep-hero-premium {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  padding: 8rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.rep-hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.rep-hero-content-premium {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.rep-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.05);
}

/* Titoli unificati - eredita da .page-title in base.css */
.rep-hero-title-premium {
  /* Stile uniforme con gradient bianco → oro */
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.rep-hero-subtitle-premium {
  /* Eredita da .page-claim in base.css */
  margin: 0 0 3rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Premium */
.rep-stats-premium {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.rep-stat-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.rep-stat-premium:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-4px);
}

.rep-stat-number-premium {
  font-size: 3rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
}

.rep-stat-label-premium {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rep-stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* Hero CTA Buttons */
.rep-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.rep-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #d4af37;
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid #d4af37;
}

.rep-btn-primary:hover {
  background: #e8c54a;
  border-color: #e8c54a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.rep-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: #d4af37;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.rep-btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateY(-2px);
}

/* ===== SIMPLE CONTACT CTA ===== */
.rep-contact-cta {
  padding: 3rem 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.rep-contact-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.rep-contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.rep-contact-icon i {
  font-size: 1.5rem;
  color: #d4af37;
}

.rep-contact-content {
  flex: 1;
}

.rep-contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.rep-contact-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.rep-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: #d4af37;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.rep-contact-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
}

.rep-contact-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.rep-contact-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .rep-contact-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .rep-contact-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== COLLABORATORS SECTION ===== */
.rep-collaborators-section {
  padding: 4rem 0;
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rep-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.rep-section-title-clean {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.rep-section-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.rep-collab-showcase {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.rep-collab-group {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem 2rem;
}

.rep-collab-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rep-collab-group-title i {
  font-size: 0.9rem;
}

.rep-collab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rep-collab-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rep-collab-chip:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  color: #fff;
}

.rep-collab-chip-inst {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.rep-collab-chip-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.rep-collab-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rep-collab-more:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

.rep-collab-full {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .rep-collaborators-section {
    padding: 3rem 0;
  }

  .rep-collab-group {
    padding: 1.25rem 1rem;
  }

  .rep-section-title-clean {
    font-size: 1.5rem;
  }
}

/* ===== PREMIUM TABS ===== */
.rep-tabs-premium {
  display: flex;
  gap: 0.5rem;
  margin: 3rem 0 2rem 0;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rep-tabs-premium::-webkit-scrollbar {
  display: none;
}

/* Responsive Premium Hero */
@media (max-width: 768px) {
  .rep-hero-premium {
    padding: 5rem 0 4rem;
  }

  /* Titoli responsive gestiti da .page-title e .page-claim in base.css */
  .rep-hero-subtitle-premium {
    padding: 0 1rem;
  }

  .rep-stats-premium {
    gap: 1rem;
  }

  .rep-stat-premium {
    padding: 1rem 1.5rem;
    flex: 1 1 140px;
  }

  .rep-stat-number-premium {
    font-size: 2rem;
  }

  .rep-hero-actions {
    flex-direction: column;
    padding: 0 1rem;
  }

  .rep-btn-primary,
  .rep-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .rep-cta-card {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    text-align: center;
  }

  .rep-cta-features {
    justify-content: center;
  }

  .rep-cta-title {
    font-size: 1.5rem;
  }
}

/* ===== UPCOMING CONCERT BANNER ===== */
.rep-upcoming-banner {
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.rep-upcoming-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.rep-upcoming-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  border-radius: 12px;
  flex-shrink: 0;
}

.rep-upcoming-icon i {
  font-size: 1.75rem;
  color: #d4af37;
}

.rep-upcoming-content {
  flex: 1;
}

.rep-upcoming-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 0.25rem;
}

.rep-upcoming-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.rep-upcoming-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.rep-upcoming-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rep-upcoming-meta i {
  color: #d4af37;
  font-size: 0.85rem;
}

.rep-upcoming-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: #d4af37;
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.rep-upcoming-btn:hover {
  background: #e8c54a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.rep-upcoming-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.rep-upcoming-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .rep-upcoming-card {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .rep-upcoming-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .rep-upcoming-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ORIGINAL HERO (kept for fallback) ===== */
.rep-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 5rem 0 4rem;
  border-bottom: 2px solid #d4af37;
  text-align: center;
}

.rep-hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.rep-hero-subtitle {
  font-size: 1.5rem;
  color: #999;
  font-weight: 300;
  margin: 0 0 3rem 0;
  font-style: italic;
}

.rep-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.rep-stat-card {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.rep-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.rep-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.rep-stat-label {
  font-size: 0.9rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ===== COLLABORATORS SECTION ===== */
.rep-collaborators {
  background: #111;
  padding: 4rem 0;
  border-bottom: 1px solid #222;
}

.rep-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rep-section-title i {
  color: #d4af37;
  font-size: 2rem;
}

.rep-section-subtitle {
  font-size: 1.1rem;
  color: #999;
  margin: 0 0 3rem 0;
}

.rep-collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.rep-collab-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.rep-collab-category:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.3);
}

.rep-collab-cat-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #d4af37;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rep-collab-cat-title i {
  font-size: 1.1rem;
}

.rep-collab-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rep-collab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: all 0.25s ease;
}

.rep-collab-item:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.rep-collab-name {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  flex: 1;
}

.rep-collab-instrument {
  font-size: 0.85rem;
  color: #999;
  margin-left: 0.75rem;
  font-style: italic;
}

.rep-collab-badge {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  margin-left: 1rem;
  white-space: nowrap;
}

.rep-collab-hidden {
  display: none;
}

.rep-collab-count {
  font-size: 0.9rem;
  color: #999;
  font-weight: 400;
}

.rep-collab-toggle {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #d4af37;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rep-collab-toggle:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
}

/* ===== TOP COMPOSERS SECTION ===== */
.rep-top-composers {
  background: #0f0f0f;
  padding: 4rem 0;
  border-bottom: 1px solid #222;
}

.rep-section-title-center {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 0.5rem 0;
}

.rep-section-subtitle-center {
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  margin: 0 0 3rem 0;
}

.rep-top-composers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.rep-top-composer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible;
}

.rep-top-composer-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 175, 55, 0.3);
}

.rep-top-composer-card[data-rank="1"] {
  border-color: rgba(255, 215, 0, 0.4);
}

.rep-top-composer-card[data-rank="1"]:hover {
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.4);
}

.rep-top-composer-rank {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37 0%, #f0d478 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #000;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.rep-top-composer-card[data-rank="1"] .rep-top-composer-rank {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
}

.rep-top-composer-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #f0d478 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(212, 175, 55, 0.3);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.rep-top-composer-card[data-rank="1"] .rep-top-composer-avatar {
  width: 140px;
  height: 140px;
  border-width: 5px;
  border-color: rgba(255, 215, 0, 0.5);
}

.rep-top-composer-card:hover .rep-top-composer-avatar {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  transform: scale(1.1);
}

.rep-top-composer-avatar.has-portrait {
  background: #1a1a1a;
  padding: 0;
}

.rep-top-composer-portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.rep-top-composer-card:hover .rep-top-composer-portrait {
  transform: scale(1.15);
}

.rep-top-composer-initials {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
}

.rep-top-composer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.rep-top-composer-stats {
  display: flex;
  flex-direction: column;
  gap: 0.4rem; /* Ridotto per gestire 4 righe */
}

.rep-top-composer-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem; /* Ridotto leggermente */
  color: #999;
  line-height: 1.3;
}

.rep-top-composer-stat i {
  color: #d4af37;
  font-size: 0.8rem;
}

/* ===== TABS ===== */
.rep-tabs {
  display: flex;
  gap: 1rem;
  margin: 3rem 0 2rem 0;
  border-bottom: 2px solid #222;
  padding-bottom: 0;
}

.rep-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #999;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: -2px;
}

.rep-tab:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
}

.rep-tab.active {
  color: #d4af37;
  border-bottom-color: #d4af37;
}

.rep-tab i {
  font-size: 1rem;
}

/* ===== VIEWS ===== */
.rep-view {
  display: none;
  padding: 2rem 0 4rem 0;
}

.rep-view.active {
  display: block;
}

.rep-subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.5rem 0;
}

/* ===== WORK CARDS (Highlights) ===== */
.rep-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.rep-work-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.rep-work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d4af37 0%, #f0d478 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rep-work-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.rep-work-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(212, 175, 55, 0.2);
}

.rep-work-card:hover::before {
  opacity: 1;
}

.rep-work-card:hover::after {
  width: 400px;
  height: 400px;
}

.rep-work-card-new {
  border-color: rgba(100, 200, 255, 0.5);
  background: rgba(100, 200, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.rep-work-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #64c8ff 0%, #4dabf7 100%);
  box-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}

.rep-work-header {
  margin-bottom: 1rem;
}

.rep-work-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.rep-work-composer {
  font-size: 0.95rem;
  color: #d4af37;
  margin: 0;
  font-weight: 500;
}

.rep-work-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.rep-work-perf-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #999;
}

.rep-work-perf-count i {
  color: #d4af37;
}

.rep-work-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(100, 200, 255, 0.2) 0%, rgba(77, 171, 247, 0.2) 100%);
  color: #64c8ff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  border: 1.5px solid rgba(100, 200, 255, 0.4);
  box-shadow: 0 0 15px rgba(100, 200, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 15px rgba(100, 200, 255, 0.3);
    border-color: rgba(100, 200, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(100, 200, 255, 0.5);
    border-color: rgba(100, 200, 255, 0.6);
  }
}

/* Badge compatto per liste */
.rep-work-badge-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(100, 200, 255, 0.2) 0%, rgba(77, 171, 247, 0.2) 100%);
  color: #64c8ff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(100, 200, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== COMPOSERS VIEW ===== */
.rep-composers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.rep-composer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.rep-composer-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.3);
}

.rep-composer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rep-composer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #f0d478 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.rep-composer-avatar.has-portrait {
  background: #1a1a1a;
  padding: 0;
}

.rep-composer-portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.rep-composer-card:hover .rep-composer-portrait {
  transform: scale(1.1);
}

.rep-composer-card:hover .rep-composer-avatar {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.rep-composer-info {
  flex: 1;
}

.rep-composer-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.rep-composer-years {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

.rep-composer-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #999;
}

.rep-composer-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rep-composer-stats i {
  color: #d4af37;
}

.rep-composer-toggle {
  width: 100%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #d4af37;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rep-composer-toggle:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

.rep-composer-toggle i {
  transition: transform 0.3s ease;
}

.rep-composer-works {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rep-work-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.rep-work-item:last-child {
  border-bottom: none;
}

.rep-work-item.upcoming {
  background: rgba(100, 200, 255, 0.03);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(100, 200, 255, 0.2);
  margin: 0.5rem 0;
}

.rep-work-item.upcoming::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #64c8ff 0%, #4dabf7 100%);
  border-radius: 8px 0 0 8px;
}

.rep-work-item-title {
  font-size: 0.95rem;
  color: #e0e0e0;
  flex: 1;
}

.rep-work-item-cat {
  font-size: 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  margin-left: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badge colorati per categoria */
.rep-work-item-cat[data-category="1"],
.rep-work-row-cat[data-category="1"] {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
}

.rep-work-item-cat[data-category="2"],
.rep-work-row-cat[data-category="2"] {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.3);
}

.rep-work-item-cat[data-category="3"],
.rep-work-row-cat[data-category="3"] {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.3);
}

.rep-work-item-cat[data-category="4"],
.rep-work-row-cat[data-category="4"] {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
}

.rep-work-item-cat[data-category="5"],
.rep-work-row-cat[data-category="5"] {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}

.rep-work-item-cat[data-category="6"],
.rep-work-row-cat[data-category="6"] {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.3);
}

/* ===== TIMELINE VIEW ===== */
.rep-timeline {
  padding: 2rem 0;
}

.rep-timeline-header {
  text-align: center;
  margin-bottom: 3rem;
}

.rep-timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.rep-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #d4af37 10%, #d4af37 90%, transparent);
  transform: translateX(-50%);
}

.rep-timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  animation: fadeInTimeline 0.6s ease-out;
}

@keyframes fadeInTimeline {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.rep-timeline-item:nth-child(even) .rep-timeline-content {
  margin-left: auto;
}

.rep-timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #d4af37;
  border: 4px solid #0a0a0a;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.rep-timeline-item:hover .rep-timeline-dot {
  width: 24px;
  height: 24px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.rep-timeline-item.current .rep-timeline-dot {
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.2); }
}

.rep-timeline-item.future .rep-timeline-dot {
  background: #64c8ff;
  border-color: rgba(100, 200, 255, 0.3);
}

.rep-timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  width: 45%;
  transition: all 0.3s ease;
  position: relative;
}

.rep-timeline-item:hover .rep-timeline-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.rep-timeline-item.current .rep-timeline-content {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.05);
}

.rep-timeline-item.future .rep-timeline-content {
  opacity: 0.7;
  border-color: rgba(100, 200, 255, 0.3);
}

.rep-timeline-period-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.rep-timeline-years {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Colori periodi storici */
.rep-timeline-item.period-baroque .rep-timeline-dot {
  background: #8b4513;
  box-shadow: 0 0 20px rgba(139, 69, 19, 0.4);
}

.rep-timeline-item.period-baroque .rep-timeline-period-name {
  color: #cd853f;
}

.rep-timeline-item.period-classical .rep-timeline-dot {
  background: #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.rep-timeline-item.period-classical .rep-timeline-period-name {
  color: #d4af37;
}

.rep-timeline-item.period-romantic .rep-timeline-dot {
  background: #dc143c;
  box-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
}

.rep-timeline-item.period-romantic .rep-timeline-period-name {
  color: #ff6b6b;
}

.rep-timeline-item.period-modern .rep-timeline-dot {
  background: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.rep-timeline-item.period-modern .rep-timeline-period-name {
  color: #60a5fa;
}

.rep-timeline-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rep-timeline-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #999;
  font-size: 0.95rem;
}

.rep-timeline-stat i {
  color: #d4af37;
  font-size: 1rem;
}

/* Timeline expand button */
.rep-timeline-expand-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: #d4af37;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rep-timeline-expand-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

.rep-timeline-expand-btn i {
  transition: transform 0.3s ease;
}

/* Timeline details (expanded content) */
.rep-timeline-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rep-timeline-decade {
  margin-bottom: 2rem;
}

.rep-timeline-decade:last-child {
  margin-bottom: 0;
}

.rep-timeline-decade-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rep-timeline-decade-count {
  font-size: 0.9rem;
  color: #999;
  font-weight: 400;
}

.rep-timeline-works-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rep-timeline-work-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.rep-timeline-work-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(4px);
}

.rep-timeline-work-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: #d4af37;
  min-width: 45px;
  padding: 0.25rem 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 4px;
  text-align: center;
}

.rep-timeline-work-info {
  flex: 1;
}

.rep-timeline-work-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.25rem;
}

.rep-timeline-work-composer {
  font-size: 0.85rem;
  color: #999;
}

/* ===== ALL WORKS VIEW ===== */
.rep-search-box {
  position: relative;
  margin-bottom: 2rem;
  max-width: 600px;
}

.rep-search-box i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.1rem;
}

.rep-search-box input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 1.5rem 1rem 3.5rem;
  transition: all 0.25s ease;
}

.rep-search-box input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.rep-search-box input::placeholder {
  color: #666;
}

.rep-works-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rep-work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: all 0.25s ease;
}

.rep-work-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(4px);
}

.rep-work-row.upcoming {
  background: rgba(100, 200, 255, 0.03);
  border-color: rgba(100, 200, 255, 0.3);
  position: relative;
}

.rep-work-row.upcoming::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #64c8ff 0%, #4dabf7 100%);
  border-radius: 10px 0 0 10px;
}

.rep-work-row.upcoming:hover {
  background: rgba(100, 200, 255, 0.05);
  border-color: rgba(100, 200, 255, 0.5);
}

.rep-work-row-main {
  flex: 1;
}

.rep-work-row-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.rep-work-row-composer {
  font-size: 0.9rem;
  color: #d4af37;
  margin: 0;
}

.rep-work-row-cat {
  font-size: 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .rep-container {
    padding: 0 1rem;
  }

  .rep-hero {
    padding: 3rem 0 2.5rem;
  }

  .rep-hero-title {
    font-size: 2.5rem;
  }

  .rep-hero-subtitle {
    font-size: 1.1rem;
  }

  .rep-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rep-stat-card {
    padding: 1.5rem 1rem;
  }

  .rep-stat-number {
    font-size: 2.5rem;
  }

  .rep-collaborators {
    padding: 3rem 0;
  }

  .rep-section-title {
    font-size: 2rem;
  }

  .rep-collab-grid {
    grid-template-columns: 1fr;
  }

  .rep-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rep-tab {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
    white-space: nowrap;
  }

  .rep-works-grid {
    grid-template-columns: 1fr;
  }

  .rep-composers-grid {
    grid-template-columns: 1fr;
  }

  .rep-work-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .rep-work-row-cat {
    align-self: flex-start;
  }

  /* Timeline mobile */
  .rep-timeline-line {
    left: 2rem;
  }

  .rep-timeline-dot {
    left: 2rem;
  }

  .rep-timeline-content {
    width: calc(100% - 5rem);
    margin-left: 5rem !important;
  }

  .rep-timeline-period-name {
    font-size: 1.4rem;
  }

  .rep-timeline-years {
    font-size: 0.85rem;
  }

  .rep-timeline-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Top composers mobile */
  .rep-top-composers {
    padding: 3rem 0;
  }

  .rep-section-title-center {
    font-size: 2rem;
  }

  .rep-section-subtitle-center {
    font-size: 1rem;
  }

  .rep-top-composers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .rep-top-composer-card {
    padding: 1.5rem 1rem;
  }

  .rep-top-composer-avatar {
    width: 100px;
    height: 100px;
  }

  .rep-top-composer-card[data-rank="1"] .rep-top-composer-avatar {
    width: 110px;
    height: 110px;
  }

  .rep-top-composer-name {
    font-size: 1rem;
  }

  .rep-top-composer-stat {
    font-size: 0.85rem;
  }
}

/* /css/pages/repertoire/repertoire-collaborators-compact.css */
/* ===== COLLABORATORS COMPACT & ELEGANT STYLE ===== */
/* Less invasive but still inviting to explore */

/* Move collaborators section styling to be more subtle */
.rep-collaborators {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(212, 175, 55, 0.01));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
  transition: all 0.4s ease;
}

.rep-collaborators:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Compact section title */
.rep-collaborators .rep-section-title {
  font-size: 1.8rem !important;
  margin-bottom: 0.5rem !important;
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rep-collaborators .rep-section-title i {
  font-size: 1.5rem;
  opacity: 0.8;
}

/* Subtitle with invitation */
.rep-collaborators .rep-section-subtitle {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 1.5rem !important;
  font-style: italic;
}

/* Collapsible by default - add expand button */
.rep-collaborators .rep-collab-grid {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

.rep-collaborators.expanded .rep-collab-grid {
  max-height: 5000px;
  opacity: 1;
}

/* Expand button - inviting and clear */
.rep-collaborators-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.15));
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  color: #d4af37;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rep-collaborators-toggle:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.25));
  border-color: #d4af37;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.rep-collaborators-toggle i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.rep-collaborators.expanded .rep-collaborators-toggle i {
  transform: rotate(180deg);
}

.rep-collaborators-toggle .toggle-text-show {
  display: inline;
}

.rep-collaborators-toggle .toggle-text-hide {
  display: none;
}

.rep-collaborators.expanded .rep-collaborators-toggle .toggle-text-show {
  display: none;
}

.rep-collaborators.expanded .rep-collaborators-toggle .toggle-text-hide {
  display: inline;
}

/* Compact category titles */
.rep-collab-cat-title {
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
  padding-left: 0.5rem !important;
}

/* Compact item styling */
.rep-collab-item {
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.5rem !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.rep-collab-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(4px);
}

.rep-collab-name {
  font-size: 0.95rem !important;
}

.rep-collab-instrument {
  font-size: 0.85rem !important;
}

/* Stats badge - more subtle */
.rep-collab-badge {
  font-size: 0.8rem !important;
  padding: 0.25rem 0.6rem !important;
  background: rgba(212, 175, 55, 0.15) !important;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Compact grid spacing */
.rep-collab-grid {
  gap: 2rem !important;
  margin-top: 1.5rem;
}

.rep-collab-category {
  margin-bottom: 1.5rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rep-collaborators {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .rep-collaborators .rep-section-title {
    font-size: 1.5rem !important;
  }

  .rep-collaborators-toggle {
    font-size: 0.95rem;
    padding: 0.875rem 1.5rem;
  }

  .rep-collab-cat-title {
    font-size: 1.1rem !important;
  }
}

/* Animation for expand/collapse */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rep-collaborators.expanded .rep-collab-grid {
  animation: slideDown 0.4s ease-out;
}

/* Accessibility */
.rep-collaborators-toggle:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .rep-collab-grid,
  .rep-collaborators-toggle i,
  .rep-collaborators.expanded .rep-collab-grid {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

/* /css/pages/repertoire/repertoire-base.css */
/* frontend/css/pages/repertoire/repertoire.css */

:root {
  --repertoire-primary: #2c3e50;
  --repertoire-secondary: #34495e;
  --repertoire-accent: #3498db;
  --repertoire-gold: #d4af37;
  --repertoire-text: #2c3e50;
  --repertoire-text-light: #7f8c8d;
  --repertoire-bg: #ffffff;
  --repertoire-bg-alt: #f8f9fa;
  --repertoire-border: #e0e0e0;
  --repertoire-shadow: 0 2px 8px rgba(0,0,0,0.1);
  --repertoire-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
  --repertoire-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Layout Grid */
.repertoire-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: calc(100vh - 200px);
}

/* Hero Column */
.repertoire-hero-col {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.repertoire-hero-figure {
  width: 100%;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--repertoire-shadow);
}

.repertoire-hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--repertoire-transition);
}

.repertoire-hero-img:hover {
  transform: scale(1.05);
}

/* Main Column */
.repertoire-main-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Header */
.repertoire-header {
  text-align: center;
  margin-bottom: 1rem;
}

.repertoire-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--repertoire-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.claim-text {
  font-size: 1.25rem;
  color: var(--repertoire-text-light);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Tabs Navigation */
.repertoire-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--repertoire-border);
}

.repertoire-tabs .tab {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--repertoire-border);
  border-radius: 50px;
  background: var(--repertoire-bg);
  color: var(--repertoire-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--repertoire-transition);
  text-transform: capitalize;
}

.repertoire-tabs .tab:hover {
  border-color: var(--repertoire-accent);
  color: var(--repertoire-accent);
  transform: translateY(-2px);
  box-shadow: var(--repertoire-shadow);
}

.repertoire-tabs .tab.is-active {
  background: var(--repertoire-accent);
  border-color: var(--repertoire-accent);
  color: var(--repertoire-bg);
  box-shadow: var(--repertoire-shadow);
}

/* Composer Pills */
.composer-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  justify-content: center;
}

.composer-pill {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--repertoire-border);
  border-radius: 20px;
  background: var(--repertoire-bg);
  color: var(--repertoire-text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--repertoire-transition);
}

.composer-pill:hover {
  border-color: var(--repertoire-gold);
  color: var(--repertoire-gold);
  transform: translateY(-1px);
}

.composer-pill.is-active {
  background: var(--repertoire-gold);
  border-color: var(--repertoire-gold);
  color: var(--repertoire-bg);
}

/* Repertoire List */
.repertoire-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.repertoire-category {
  display: none;
  animation: fadeIn 0.5s ease;
}

.repertoire-category[aria-hidden="false"] {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Work Card */
.work-card {
  background: var(--repertoire-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--repertoire-shadow);
  transition: var(--repertoire-transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid transparent;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--repertoire-shadow-hover);
  border-color: var(--repertoire-accent);
}

.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.work-composer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--repertoire-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-composer-years {
  font-size: 0.75rem;
  opacity: 0.8;
}

.work-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.work-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-executions {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.badge-movements {
  background: rgba(52, 152, 219, 0.15);
  color: var(--repertoire-accent);
}

.work-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--repertoire-primary);
  line-height: 1.4;
  margin: 0;
}

.work-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--repertoire-text-light);
}

.work-catalogue {
  font-weight: 600;
  color: var(--repertoire-accent);
}

.work-key {
  font-style: italic;
}

.work-year {
  opacity: 0.8;
}

.work-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--repertoire-text);
}

.work-category i {
  color: var(--repertoire-accent);
}

/* Movements Section */
.work-movements {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--repertoire-border);
}

.movements-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--repertoire-bg-alt);
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--repertoire-text);
  cursor: pointer;
  transition: var(--repertoire-transition);
}

.movements-toggle:hover {
  background: #e8eaed;
}

.movements-toggle.active i {
  transform: rotate(180deg);
}

.movements-toggle i {
  transition: transform 0.3s;
}

.movements-list {
  margin-top: 0.75rem;
  display: none;
}

.movements-list.is-visible {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.movement {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--repertoire-bg-alt);
  border-radius: 8px;
  border-left: 3px solid var(--repertoire-accent);
}

.movement:last-child {
  margin-bottom: 0;
}

.movement-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: var(--repertoire-accent);
  color: var(--repertoire-bg);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.movement-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.movement-info strong {
  color: var(--repertoire-primary);
  font-size: 0.95rem;
}

.movement-info em {
  color: var(--repertoire-text-light);
  font-size: 0.85rem;
  font-style: italic;
}

.movement-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--repertoire-text-light);
}

/* Media Links */
.work-media {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--repertoire-border);
}

.media-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--repertoire-bg-alt);
  color: var(--repertoire-text);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--repertoire-transition);
}

.media-link:hover {
  background: var(--repertoire-accent);
  color: var(--repertoire-bg);
  transform: translateY(-2px);
}

.media-link i {
  font-size: 1.1rem;
}

/* Empty State */
#repertoire_empty_msg {
  text-align: center;
  padding: 4rem 2rem;
  font-size: 1.25rem;
  color: var(--repertoire-text-light);
}

/* Loading State */
.repertoire-loading {
  text-align: center;
  padding: 4rem 2rem;
}

.repertoire-loading i {
  font-size: 3rem;
  color: var(--repertoire-accent);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .repertoire-layout {
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .repertoire-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .repertoire-hero-col {
    position: relative;
    top: 0;
  }
  
  .repertoire-hero-figure {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .repertoire-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .repertoire-layout {
    padding: 2rem 1rem;
  }
  
  .repertoire-header h1 {
    font-size: 2rem;
  }
  
  .claim-text {
    font-size: 1.1rem;
  }
  
  .repertoire-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .repertoire-tabs .tab {
    text-align: center;
  }
  
  .works-grid {
    grid-template-columns: 1fr;
  }
  
  .composer-pills {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .repertoire-header h1 {
    font-size: 1.75rem;
  }
  
  .work-title {
    font-size: 1.2rem;
  }
  
  .movement {
    flex-direction: column;
  }
  
  .movement-number {
    align-self: flex-start;
  }
}
/* /css/pages/repertoire/repertoire-modern.css */
/* repertoire-modern.css - Modern professional repertoire page */

:root {
  --repertoire-accent: #d4af37;
  --repertoire-bg: #0a0a0a;
  --repertoire-card-bg: #1a1a1a;
  --repertoire-text: #e0e0e0;
  --repertoire-meta: #999;
  --repertoire-border: #333;
}

/* Modern Hero Section */
.repertoire-hero-modern {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1514 50%, #2a2220 100%);
  padding: 5rem 0 4rem;
  border-bottom: 3px solid var(--repertoire-accent);
  overflow: hidden;
}

.repertoire-hero-modern .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.repertoire-hero-modern .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.3) 100%);
}

.repertoire-hero-modern .container {
  position: relative;
  z-index: 1;
}

.repertoire-hero-modern .hero-content {
  text-align: center;
  margin-bottom: 3rem;
}

.repertoire-hero-modern .hero-title-modern {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.repertoire-hero-modern .hero-subtitle-modern {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* Old Hero Section (fallback) */
.repertoire-hero {
  background: linear-gradient(135deg, var(--repertoire-bg) 0%, #1a1514 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--repertoire-border);
}

.repertoire-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.repertoire-hero .hero-content {
  text-align: center;
  margin-bottom: 2rem;
}

.repertoire-hero .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--repertoire-accent);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.05em;
}

.repertoire-hero .hero-title i {
  margin-right: 0.5rem;
}

.repertoire-hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--repertoire-meta);
  font-style: italic;
}

/* Stats */
.repertoire-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Filters Section */
.repertoire-filters {
  background: var(--repertoire-card-bg);
  border-bottom: 1px solid var(--repertoire-border);
  padding: 2rem 0;
}

.repertoire-filters .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.75rem 1.25rem;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 6px;
  color: var(--repertoire-meta);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-tab:hover {
  background: var(--repertoire-card-bg);
  border-color: var(--repertoire-accent);
  color: var(--repertoire-text);
}

.filter-tab.active {
  background: var(--repertoire-accent);
  color: var(--repertoire-bg);
  border-color: var(--repertoire-accent);
  font-weight: 600;
}

.filter-tab i {
  font-size: 1rem;
}

.search-container {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 6px;
  color: var(--repertoire-text);
  font-size: 0.95rem;
}

.search-container input:focus {
  outline: none;
  border-color: var(--repertoire-accent);
}

.search-container i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--repertoire-meta);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--repertoire-card-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--repertoire-accent);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--repertoire-accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--repertoire-meta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* View Mode Switcher */
.repertoire-controls {
  background: var(--repertoire-card-bg);
  border-bottom: 1px solid var(--repertoire-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.repertoire-controls .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Timeline Sort Options */
.timeline-sort-options {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 6px;
  flex-wrap: wrap;
}

.timeline-sort-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--repertoire-meta);
  font-size: 0.9rem;
  white-space: nowrap;
  margin: 0;
}

.timeline-sort-label i {
  color: var(--repertoire-accent);
}

.timeline-sort-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeline-sort-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--repertoire-border);
  border-radius: 4px;
  color: var(--repertoire-meta);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.timeline-sort-btn:hover {
  background: var(--repertoire-card-bg);
  border-color: var(--repertoire-accent);
  color: var(--repertoire-text);
}

.timeline-sort-btn.active {
  background: var(--repertoire-accent);
  color: var(--repertoire-bg);
  border-color: var(--repertoire-accent);
  font-weight: 600;
}

.timeline-sort-btn i {
  font-size: 0.85rem;
}

.view-mode-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--repertoire-bg);
  padding: 0.25rem;
  border-radius: 6px;
  border: 1px solid var(--repertoire-border);
}

.view-mode-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--repertoire-meta);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-mode-btn:hover {
  background: var(--repertoire-card-bg);
  color: var(--repertoire-text);
}

.view-mode-btn.active {
  background: var(--repertoire-accent);
  color: var(--repertoire-bg);
  font-weight: 600;
}

.view-mode-btn i {
  font-size: 1rem;
}

/* Search */
.repertoire-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.repertoire-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 6px;
  color: var(--repertoire-text);
  font-size: 0.95rem;
}

.repertoire-search input:focus {
  outline: none;
  border-color: var(--repertoire-accent);
}

.repertoire-search i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--repertoire-meta);
}

/* Content */
.repertoire-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.repertoire-section {
  display: none;
}

.repertoire-section.active {
  display: block;
}

/* Work Cards - Grid View (default) */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.work-card {
  background: var(--repertoire-card-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  border-color: var(--repertoire-accent);
}

.work-card__header {
  margin-bottom: 1rem;
}

.work-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--repertoire-text);
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
}

.work-card__subtitle {
  font-size: 0.9rem;
  color: var(--repertoire-meta);
  font-style: italic;
  margin: 0;
}

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.work-card__meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  color: var(--repertoire-meta);
}

.work-card__meta-item i {
  color: var(--repertoire-accent);
  font-size: 0.8rem;
}

.work-card__composer {
  font-weight: 500;
  color: var(--repertoire-text);
}

.work-card__media {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--repertoire-border);
}

.work-card__media-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 4px;
  color: var(--repertoire-text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.work-card__media-link:hover {
  border-color: var(--repertoire-accent);
  color: var(--repertoire-accent);
}

.work-card__media-link--video i {
  color: #ff0000;
}

.work-card__media-link--audio i {
  color: #1db954;
}

.work-card__notes {
  margin-top: 1rem;
  padding: 0.875rem;
  background: var(--repertoire-bg);
  border-left: 3px solid var(--repertoire-accent);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--repertoire-meta);
  line-height: 1.5;
}

/* List View */
.works-grid.view-list {
  grid-template-columns: 1fr;
}

.view-list .work-card {
  display: grid;
  grid-template-columns: 2fr 3fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem 1.5rem;
}

.view-list .work-card__header {
  margin-bottom: 0;
}

.view-list .work-card__meta {
  margin-bottom: 0;
}

/* Timeline View */
.works-grid.view-timeline {
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.view-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--repertoire-border);
}

.view-timeline .work-card {
  margin-bottom: 2rem;
  width: calc(50% - 2rem);
  margin-left: 0;
  margin-right: auto;
  position: relative;
}

.view-timeline .work-card::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--repertoire-accent);
  border: 3px solid var(--repertoire-bg);
}

.view-timeline .work-card:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
}

.view-timeline .work-card:nth-child(even)::after {
  right: auto;
  left: -1.5rem;
}

/* Composer & Genre Cards */
.composers-grid,
.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.composer-card,
.genre-card {
  background: var(--repertoire-card-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.composer-card:hover,
.genre-card:hover {
  border-color: var(--repertoire-accent);
  transform: translateY(-2px);
}

.composer-header,
.genre-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.composer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--repertoire-accent);
  color: var(--repertoire-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.genre-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.genre-icon i {
  font-size: 1.5rem;
  color: var(--repertoire-accent);
}

.composer-info,
.genre-info {
  flex: 1;
}

.composer-name,
.genre-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--repertoire-text);
  margin: 0 0 0.25rem 0;
}

.composer-years,
.genre-count {
  font-size: 0.9rem;
  color: var(--repertoire-meta);
  margin: 0;
}

.composer-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.composer-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  color: var(--repertoire-meta);
}

.composer-stat i {
  color: var(--repertoire-accent);
  font-size: 0.8rem;
}

.composer-expand-btn,
.genre-expand-btn {
  width: 100%;
  padding: 0.625rem 1rem;
  background: var(--repertoire-bg);
  border: 1px solid var(--repertoire-border);
  border-radius: 6px;
  color: var(--repertoire-text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.composer-expand-btn:hover,
.genre-expand-btn:hover {
  background: var(--repertoire-card-bg);
  border-color: var(--repertoire-accent);
  color: var(--repertoire-accent);
}

.composer-works,
.genre-works {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--repertoire-border);
}

.composer-works .works-grid,
.genre-works .works-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--repertoire-accent);
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--repertoire-meta);
  margin: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--repertoire-meta);
}

.empty-state i {
  font-size: 3rem;
  color: var(--repertoire-border);
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .repertoire-hero-modern {
    padding: 3rem 0 2.5rem;
  }

  .repertoire-hero-modern .hero-title-modern {
    font-size: 2.5rem;
  }

  .repertoire-hero-modern .hero-subtitle-modern {
    font-size: 1.1rem;
  }

  .repertoire-hero {
    padding: 3rem 0 2rem;
  }

  .repertoire-hero .hero-title {
    font-size: 2rem;
  }

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

  .view-list .work-card {
    grid-template-columns: 1fr;
  }

  .view-timeline .work-card {
    width: 100%;
    margin-left: 2rem !important;
    margin-right: 0 !important;
  }

  .view-timeline::before {
    left: 0;
  }

  .view-timeline .work-card::after {
    left: -1.5rem !important;
    right: auto !important;
  }

  .repertoire-controls .container {
    flex-direction: column;
    align-items: stretch;
  }

  .repertoire-search {
    max-width: 100%;
  }

  .view-mode-switcher {
    justify-content: center;
  }
}

/* Critical iPhone breakpoint */
@media (max-width: 420px) {
  .repertoire-hero-modern .hero-title-modern {
    font-size: 1.8rem;
  }

  .repertoire-hero-modern .hero-subtitle-modern {
    font-size: 1rem;
  }

  .repertoire-hero .hero-title {
    font-size: 1.6rem;
  }
}

/* /css/pages/repertoire/repertoire-guide.css */
/* ===== REPERTOIRE QUICK GUIDE & ENHANCED TABS ===== */

/* Quick Guide Section */
.rep-quick-guide {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(212, 175, 55, 0.03) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rep-guide-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, #c9a227 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #1a1a1a;
  box-shadow:
    0 4px 16px rgba(212, 175, 55, 0.4),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.rep-guide-content {
  min-width: 0;
}

.rep-guide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--accent-color);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.01em;
}

.rep-guide-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: rgba(244, 238, 212, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Tabs with Badges */
.rep-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.rep-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: rgba(25, 25, 30, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  color: rgba(244, 238, 212, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.rep-tab i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.rep-tab-label {
  white-space: nowrap;
}

.rep-tab-badge,
.rep-tab-count {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.rep-tab-badge {
  background: linear-gradient(135deg, var(--accent-color) 0%, #c9a227 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.rep-tab-count {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-color);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.rep-tab:hover {
  background: rgba(25, 25, 30, 0.8);
  border-color: rgba(212, 175, 55, 0.35);
  color: rgba(244, 238, 212, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.rep-tab:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

.rep-tab.active {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.08) 100%
  );
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow:
    0 4px 20px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rep-tab.active i {
  color: var(--accent-color);
  transform: scale(1.15);
}

.rep-tab.active .rep-tab-badge {
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 2px 16px rgba(212, 175, 55, 0.6);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rep-quick-guide {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .rep-guide-icon {
    margin: 0 auto;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .rep-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .rep-tab {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .rep-tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .rep-tab i {
    font-size: 1em;
  }

  .rep-tab-badge,
  .rep-tab-count {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rep-quick-guide,
  .rep-guide-icon,
  .rep-tab,
  .rep-tab i,
  .rep-tab-badge {
    transition: none !important;
    animation: none !important;
  }
}

/* /css/pages/repertoire/repertoire-ux-enhancements.css */
/* ===== REPERTOIRE UX ENHANCEMENTS 2025 ===== */
/* Sticky navigation and better section accessibility */

/* Sticky Tab Navigation - Always visible while scrolling */
.rep-tabs {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 3rem 0 0 0 !important;
  padding: 1.5rem 0 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 0;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
  transition: all 0.3s ease;
}

/* Enhanced sticky state when scrolled */
.rep-tabs.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(212, 175, 55, 0.2);
  border-bottom-color: rgba(212, 175, 55, 0.5) !important;
}

/* More prominent tabs */
.rep-tab {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  padding: 1.25rem 2rem !important;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}

/* Tab icon enhancements */
.rep-tab i {
  font-size: 1.1rem !important;
  transition: transform 0.3s ease;
}

.rep-tab:hover i {
  transform: scale(1.15) rotate(5deg);
}

.rep-tab.active i {
  transform: scale(1.1);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Badge/count styling improvements */
.rep-tab-badge,
.rep-tab-count {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.3)) !important;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.rep-tab.active .rep-tab-badge,
.rep-tab.active .rep-tab-count {
  background: linear-gradient(135deg, #d4af37, rgba(212, 175, 55, 0.8)) !important;
  color: #000;
  border-color: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Enhanced hover effect with underline slide */
.rep-tab::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.rep-tab:hover::before {
  transform: scaleX(0.7);
}

.rep-tab.active::before {
  transform: scaleX(1);
}

/* Tab label visibility */
.rep-tab-label {
  display: inline-block;
  transition: all 0.3s ease;
}

.rep-tab:hover .rep-tab-label {
  letter-spacing: 0.02em;
}

/* Quick scroll hint for mobile - appears when tabs become sticky */
.rep-scroll-hint {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.85));
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  z-index: 90;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none; /* Shown via JS when needed */
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.rep-scroll-hint:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
}

.rep-scroll-hint i {
  font-size: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Enhanced view transitions */
.rep-view {
  animation: fadeSlideIn 0.5s ease-out forwards;
  padding: 3rem 0 4rem 0 !important;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container adjustments for better spacing with sticky tabs */
.rep-container {
  position: relative;
}

/* Improved quick guide prominence */
.rep-quick-guide {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.04));
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin: 3rem auto 2rem;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
  transition: all 0.4s ease;
}

.rep-quick-guide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

.rep-guide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.rep-guide-icon i {
  font-size: 1.8rem;
  color: #d4af37;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rep-guide-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f4eed4;
  text-align: center;
  margin: 0 0 1rem 0;
}

.rep-guide-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet and below */
@media (max-width: 992px) {
  .rep-tabs {
    top: 70px; /* Adjust for smaller navbar */
    padding: 1rem 0 0 0;
    gap: 0.5rem;
  }

  .rep-tab {
    font-size: 1rem !important;
    padding: 1rem 1.25rem !important;
  }

  .rep-tab i {
    font-size: 1rem !important;
  }

  .rep-tab-label {
    font-size: 0.95rem;
  }
}

/* Mobile Select Dropdown - NASCOSTO su desktop */
.rep-mobile-select {
  display: none;
}

/* Mobile - SELECT DROPDOWN invece di tabs */
@media (max-width: 768px) {
  .rep-tabs {
    display: none !important; /* Nascondi i tab su mobile */
  }

  /* Mostra il select dropdown su mobile - Stile professionale */
  .rep-mobile-select {
    display: block;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    padding: 1.125rem 3.5rem 1.125rem 1.25rem;
    margin: 0 0 2rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary, #f4eed4);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='%23d4af37' d='M8 10L0 2L2 0L8 6L14 0L16 2Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 14px auto;
  }

  .rep-mobile-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6),
                0 0 0 4px rgba(212, 175, 55, 0.15);
  }

  .rep-mobile-select:active {
    transform: scale(0.99);
  }

  .rep-mobile-select option {
    background: #1a1a1a;
    color: #f4eed4;
    padding: 1rem;
    font-weight: 500;
  }
}

  /* Show scroll hint on mobile when tabs are scrollable */
  .rep-scroll-hint {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .rep-quick-guide {
    padding: 1.5rem;
  }

  .rep-guide-icon {
    width: 50px;
    height: 50px;
  }

  .rep-guide-icon i {
    font-size: 1.5rem;
  }

  .rep-guide-title {
    font-size: 1.25rem;
  }

  .rep-guide-text {
    font-size: 0.95rem;
  }
}

/* Small mobile - keep icons visible */
@media (max-width: 480px) {
  .rep-tab {
    padding: 0.75rem 1rem !important;
  }

  .rep-tab i {
    font-size: 1.1rem !important;
  }

  .rep-tab-badge,
  .rep-tab-count {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }
}

/* ===== ACCESSIBILITY ===== */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .rep-tabs,
  .rep-tab,
  .rep-tab i,
  .rep-view,
  .rep-quick-guide {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .rep-scroll-hint i {
    animation: none !important;
  }

  .rep-guide-icon i {
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .rep-tabs {
    border-bottom-width: 3px !important;
  }

  .rep-tab.active {
    border-bottom-width: 4px;
  }

  .rep-quick-guide {
    border-width: 3px;
  }
}

/* Focus states for keyboard navigation */
.rep-tab:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 4px;
  border-radius: 8px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for smooth animations */
.rep-tabs,
.rep-tab,
.rep-quick-guide {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Remove will-change when not needed */
@media (hover: hover) {
  .rep-tab:not(:hover):not(.active),
  .rep-quick-guide:not(:hover) {
    will-change: auto;
  }
}

/* /css/pages/repertoire/repertoire-responsive.css */
/* repertoire-responsive.css - Responsive styles for repertoire page */

/* Tablet */
@media (max-width: 768px) {
  .repertoire-filters .filters-container {
    flex-direction: column;
    gap: 1rem;
  }

  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-tab {
    flex: 1 1 45%;
    min-width: 120px;
  }

  .view-mode-switcher {
    flex-direction: column;
    width: 100%;
  }

  .view-mode-btn {
    width: 100%;
  }

  .repertoire-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .composers-grid,
  .genres-grid {
    grid-template-columns: 1fr;
  }

  .works-grid.view-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .repertoire-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    min-width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .filter-tab {
    flex: 1 1 100%;
  }

  .filter-tab span {
    font-size: 0.9rem;
  }

  .works-grid.view-grid {
    grid-template-columns: 1fr;
  }

  .repertoire-hero h1 {
    font-size: 2rem;
  }

  .work-card {
    padding: 1rem;
  }

  .composer-card,
  .genre-card {
    padding: 1rem;
  }
}

