/* ========================= GLOBAL ========================= */
.artist-page {
  padding: 20px;
  color: #fff;
}

/* ========================= HERO SECTION ========================= */
.artist-hero {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.artist-hero-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #DFFF00;
}

.artist-hero-info {
  flex: 1;
}

.artist-hero-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.artist-bio {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* ========================= STATS ========================= */
.artist-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.artist-stats div {
  background: #111;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
}

.artist-stats strong {
  display: block;
  font-size: 16px;
  color: #DFFF00;
}

.artist-stats span {
  font-size: 12px;
  color: #aaa;
}

/* ========================= SOCIAL LINKS ========================= */
.artist-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.artist-social a {
  background: #222;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.artist-social a:hover {
  background: #DFFF00;
  color: #000;
}

/* ========================= SECTIONS ========================= */
.artist-section {
  margin-bottom: 30px;
}

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

.section-header h2 {
  font-size: 20px;
}

/* ========================= SONG GRID ========================= */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

/* ========================= ALBUM GRID ========================= */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

/* ========================= CARD (shared) ========================= */
.card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ========================= CARD IMAGE ========================= */
.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* ========================= PLAY OVERLAY ========================= */
.play-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.play-btn {
  background: #DFFF00;
  border: none;
  border-radius: 50%;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
}

/* ========================= CARD INFO ========================= */
.card-info {
  padding: 10px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
}

/* Responsive Design */

/* Tablets and small desktops (768px - 991px) */
@media (max-width: 991px) {
  .songs-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* Mobile devices (481px - 767px) */
@media (max-width: 767px) {
  .artist-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .artist-hero-image img {
    width: 140px;
    height: 140px;
  }
  .artist-hero-info h1 {
    font-size: 22px;
  }
  .artist-stats {
    justify-content: center;
  }
  .songs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .albums-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

/* Small screens (320px - 480px) */
@media (max-width: 480px) {
  .artist-page {
    padding: 15px;
  }
  .artist-hero-image img {
    width: 120px;
    height: 120px;
  }
  .card-image img {
    height: 120px;
  }
  .artist-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 9px;
    flex-wrap: wrap;
  }
  .artist-stats div {
    background: #111;
    padding: 5px 8px;
    border-radius: 8px;
    text-align: center;
  }
  
  .artist-stats strong {
    display: block;
    font-size: 16px;
    color: #DFFF00;
  }
  
  .artist-stats span {
    font-size: 12px;
    color: #aaa;
  }
  artist-hero {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
  
  /* ========================= SECTIONS ========================= */
  .artist-section {
    margin-bottom: 10px;
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .section-header h2 {
    font-size:24px;
  }


  .card-title {
    font-size: 13px;
  }
  .play-all-btn {
    background: #DFFF00;
    border: none;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
  }
}

/* Very small screens (max-width: 319px) */
@media (max-width: 319px) {
  .songs-grid {
    grid-template-columns: 1fr;
  }
  .albums-grid {
    grid-template-columns: 1fr;
  }
}
