@charset "UTF-8";

/* ==========================================
   01. 디스코그래피 페이지 기본 레이아웃
   ========================================== */
.discography-page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 60px 20px;
  color: #ffffff;
  box-sizing: border-box;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1rem;
  color: #a0a0a0;
  font-weight: 300;
}

/* ==========================================
   02. 3D 커버플로우 슬라이더 섹션 (1:1 정사각형)
   ========================================== */
.coverflow-section {
  width: 100%;
  padding: 20px 0 40px 0;
  overflow: hidden;
}

.coverflow-swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
}

.coverflow-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 320px;
  height: 320px;
  aspect-ratio: 1 / 1;
  filter: blur(1px) brightness(0.6);
  transition: all 0.3s ease;
}

.coverflow-swiper .swiper-slide-active {
  filter: blur(0) brightness(1);
  transform: scale(1.05);
}

.cover-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  background: #11131f;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 18px 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 11, 18, 0.92) 100%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slide-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #ccff00;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slide-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-date {
  font-size: 0.8rem;
  color: #8a8f9d;
}

.coverflow-swiper .swiper-button-next,
.coverflow-swiper .swiper-button-prev {
  color: #00f2fe;
  transition: transform 0.2s ease;
}

.coverflow-swiper .swiper-button-next:hover,
.coverflow-swiper .swiper-button-prev:hover {
  transform: scale(1.2);
}

.coverflow-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.3;
}

.coverflow-swiper .swiper-pagination-bullet-active {
  background: #00f2fe;
  opacity: 1;
  width: 20px;
  border-radius: 5px;
}

/* ==========================================
   03. 접기/펼치기 토글 바
   ========================================== */
.list-toggle-container {
  display: flex;
  justify-content: center;
  margin: 20px 0 40px 0;
}

.list-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.list-toggle-btn:hover {
  background: #00f2fe;
  color: #000;
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.toggle-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* ==========================================
   04. 상세 앨범 카드 리스트
   ========================================== */
.album-list-wrapper {
  max-height: 10000px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease;
  opacity: 1;
}

.album-list-wrapper.collapsed {
  max-height: 0;
  opacity: 0;
}

.album-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.album-card {
  display: flex;
  background-color: #11131f;
  border: 1px solid #1e2235;
  border-radius: 16px;
  padding: 28px;
  gap: 28px;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.album-cover-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #ccff00;
  color: #000000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.album-info-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.album-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.album-type {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #b052ff;
  text-transform: uppercase;
}

.album-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0 4px 0;
  line-height: 1.2;
}

.release-date {
  font-size: 0.85rem;
  color: #8a8f9d;
}

/* PC 버전: 빨간 줄 왼쪽, 글씨 왼쪽 정렬 */
.track-summary {
  background-color: #181a28;
  padding: 14px 18px;
  border-radius: 8px;
  border-left: 3px solid #ff2e74;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.title-song-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ff2e74;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.title-song-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================
   05. 음원 스트리밍 버튼
   ========================================== */
.streaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stream-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  background-color: #1c1f2e;
  border: 1px solid #282c40;
  transition: all 0.2s ease;
}

.stream-btn:hover {
  background-color: #282c40;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.stream-btn.melon:hover { background-color: #00d344; border-color: #00d344; }
.stream-btn.spotify:hover { background-color: #1db954; border-color: #1db954; }
.stream-btn.genie:hover { background-color: #0096ff; border-color: #0096ff; }
.stream-btn.apple:hover { background-color: #fc3c44; border-color: #fc3c44; }

/* ==========================================
   06. 모바일 반응형 미디어 쿼리 (통합)
   ========================================== */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }

  .coverflow-swiper .swiper-slide {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1;
  }

  .album-card {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .album-cover-wrapper {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .album-title {
    font-size: 1.3rem;
  }

  /* 모바일: 타이틀 트랙 박스 글씨 가운데 정렬 (왼쪽 빨간 줄 유지) */
  .track-summary {
    text-align: center;
  }

  .streaming-links {
    width: 100%;
  }

  .stream-btn {
    flex: 1 1 calc(50% - 5px);
    text-align: center;
  }
}