/* 공통 캐러셀 컴포넌트 스타일 */

/* 캐러셀 외부 컨테이너 */
.carousel-outer {
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  position: relative;
}

/* 캐러셀 내부 컨테이너 */
.carousel-inner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* 캐러셀 트랙 */
.carousel-track {
  width: max-content;
  min-width: 100%;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* 캐러셀 카드 공통 스타일 */
.carousel-card {
  transition: transform 0.2s;
}

.carousel-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(124,60,237,0.10);
}

/* 캐러셀 화살표 버튼 */
.carousel-arrow {
  background: #fff;
  border: 1px solid #eee;
  color: #7C3AED;
  font-size: 1.5rem;
  opacity: 0.85;
  z-index: 10;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.carousel-arrow:hover {
  background: #7C3AED;
  color: #fff;
  opacity: 1;
}

/* 마퀴 애니메이션 */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 마퀴 호버 시 일시정지 */
.marquee-container:hover .marquee-track,
.marquee-container.is-paused .marquee-track {
  animation-play-state: paused !important;
}

/* 스크롤바 숨기기 */
.carousel-track::-webkit-scrollbar { 
  display: none; 
}
.carousel-track { 
  scrollbar-width: none; 
}

/* 반응형 스타일 */
@media (max-width: 1199.98px) {
  .carousel-outer { 
    max-width: 100vw; 
  }
  .carousel-arrow { 
    left: -20px !important; 
    right: -20px !important; 
  }
}

@media (max-width: 575.98px) {
  .carousel-card { 
    width: 90vw; 
    min-width: 220px; 
  }
  .carousel-track { 
    gap: 1rem; 
  }
  .carousel-arrow { 
    width: 32px; 
    height: 32px; 
    font-size: 1.2rem; 
  }
}

/* 아티스트 이미지 래퍼 스타일 */
.artist-image-wrapper {
  position: relative;
  display: inline-block;
  padding: 4px;
  background: linear-gradient(45deg, #FFC700, #7C3AED);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(255,199,0,0.2);
}

.artist-image-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FFC700, #7C3AED);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artist-item:hover .artist-image-wrapper::before {
  opacity: 1;
  animation: rotate 2s linear infinite;
}

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

/* 아티스트 아이템 호버 효과 */
.artist-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

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

/* 아티스트 링크 스타일 */
.artist-link {
  text-decoration: none;
  color: inherit;
}

.artist-link:hover {
  text-decoration: none;
  color: inherit;
}

/* 앨범 이미지 래퍼 */
.album-img-wrap { 
  aspect-ratio: 1/1; 
} 