.page-header {
  text-align: center;
  padding: 3rem 0 2rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.personnel-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.tab-btn svg {
  flex-shrink: 0;
}

.tab-content {
  display: none;
  animation: fadeTabIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeTabIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.team-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.team-grid {
  display: grid;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.team-category h2 {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  font-size: 1.3rem;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--glass-shadow);
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.member-avatar {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.member-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}

.member-avatar svg {
  width: 80px;
  height: 80px;
  color: var(--bg-primary);
  opacity: 0.7;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.member-info {
  padding: 1.25rem;
}

.member-name {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.member-role {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.member-bio {
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.member-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  opacity: 0.8;
}

.member-stats span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.member-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-link {
  color: var(--text-primary);
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--accent);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.artist-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.artist-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}

.artist-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.artist-card:hover img {
  transform: scale(1.05);
}

.artist-card .artist-name {
  padding: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 1rem;
}

.artist-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  cursor: pointer;
}

.artist-overlay.active {
  display: block;
}

.artist-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  z-index: 210;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.artist-modal.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.artist-modal img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid var(--accent);
}

.artist-modal h3 {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.artist-info p {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.artist-info strong {
  color: var(--accent);
}

.artist-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.artist-buttons a {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s;
}

.artist-buttons a:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: #fff;
  border-color: transparent;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-modal:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.join-team {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--glass-shadow);
}

.join-team h2 {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.join-team p {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .personnel-tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .team-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }

  .artist-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .artist-modal {
    width: 95%;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .artist-card img {
    height: 160px;
  }
}
