/* =====================
   ARTISTS PAGE STYLES
   ===================== */

.artists-header {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.artists-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%2300ffdd" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="%2300ffdd" opacity="0.2"/><circle cx="60" cy="80" r="1" fill="%2300ffdd" opacity="0.4"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.artists-stats {
  background: rgba(0, 255, 221, 0.1);
  border: 1px solid var(--accent-cyan);
  border-radius: 15px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

/* =====================
   FILTER BAR
   ===================== */

.filter-bar {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-cyan);
}

.search-input {
  border: 2px solid var(--border-gray);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
  outline: none;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.filter-chip {
  background: var(--light-gray);
  color: var(--medium-gray);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  user-select: none;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--accent-cyan);
  color: var(--primary-black);
  border-color: var(--accent-cyan-dark);
  transform: translateY(-2px);
}

/* =====================
   ARTISTS GRID
   ===================== */

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.artist-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.artist-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-cyan);
}

/* =====================
   ARTIST CARD COVER
   ===================== */

.artist-cover {
  height: 120px;
  background: var(--gradient-accent);
  position: relative;
  overflow: hidden;
}

.artist-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 50%,
    transparent 75%,
    rgba(255, 255, 255, 0.1) 75%
  );
  background-size: 20px 20px;
  animation: move 10s linear infinite;
}

@keyframes move {
  0% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(20px);
  }
}

.artist-avatar {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-black);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.artist-avatar .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.artist-avatar .avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-black);
  background: var(--gradient-accent);
  border-radius: 50%;
}

/* =====================
   ARTIST CARD INFO
   ===================== */

.artist-info {
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}

.artist-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-black);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  min-height: 1.5rem;
}

.artist-username {
  color: var(--medium-gray);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  min-height: 1rem;
}

.artist-bio {
  color: var(--medium-gray);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.2rem;
  max-height: 2.2rem;
}

/* =====================
   ARTIST STATS
   ===================== */

.artist-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
  background: var(--light-gray);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border-gray);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.stat-number {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-black);
  display: block;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  word-break: break-all;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  line-height: 1;
}

/* =====================
   ARTIST BADGES
   ===================== */

.artist-badges {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  min-height: 1.5rem;
  align-items: center;
}

.badge-featured {
  background: var(--warning);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  white-space: nowrap;
}

.badge-new {
  background: var(--success);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  white-space: nowrap;
}

.badge-active {
  background: var(--accent-cyan);
  color: var(--primary-black);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  white-space: nowrap;
}

/* =====================
   SOCIAL LINKS
   ===================== */

.social-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-cyan);
  color: var(--primary-black);
  transform: scale(1.1);
  text-decoration: none;
}

/* =====================
   EMPTY STATE
   ===================== */

.no-artists {
  text-align: center;
  padding: 3rem;
  color: var(--medium-gray);
  grid-column: 1 / -1;
}

.no-artists i {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-artists h4 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.no-artists p {
  margin-bottom: 1.5rem;
}

/* =====================
   FLOATING ACTION BUTTON
   ===================== */

.floating-action {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  color: var(--primary-black);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  z-index: 1000;
}

.floating-action:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 255, 221, 0.4);
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 768px) {
  .artists-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }

  .filter-chips {
    justify-content: center;
  }

  .artists-header {
    padding: 2rem 0;
  }

  .artist-card {
    margin: 0 auto;
    max-width: 350px;
  }

  .filter-bar {
    padding: 1rem;
  }

  .floating-action {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 576px) {
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .filter-chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .artist-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
  }

  .artist-info {
    padding: 2rem 1rem 1rem;
  }
}
