/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  font-size : 14px;
  background: rgba(25, 25, 25, 0.95);
  
  height:100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  color: #ffffff;
}

p {
  color: #ffffff;
}

main {
  flex:1;
  padding-top: 60px;
  margin-bottom: 30px;
}

/* 768px 이하 (모바일)에서만 세로 중앙 정렬용 스타일 적용 */
@media (max-width: 768px), (max-width: 991px) {
  .row {
    align-items: center !important;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: rgba(25, 25, 25, 0.95);
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  position: fixed;
  width: 100%;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  display: flex;
  align-items: center;
  flex-shrink: 0;
}
#header .logo a {
  color: #fff;
}
#header .logo img {
  max-height: 50px;
  transition: all 0.3s;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 600px;
}

/* 검색 컨테이너 */
.search-container {
  position: relative;
  width: 100%;
}

/* 검색 입력창 */
.search-input {
  background: #1f1f1f;
  color: #fff;
  width: 100%;
  padding: 12px 25px 12px 42px;
  font-size: 0.9375rem;
  border: 2px solid #444;
  border-radius: 25px;
  transition: all 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  background: #2a2a2a;
}

.search-input::placeholder {
  color: #888;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  width: 20px;
  height: 20px;
}


/*--------------------------------------------------------------
# 검색, 검색 결과 드롭다운
--------------------------------------------------------------*/
/* 검색 컨테이너 */
.search-container {
    position: relative;
    /* max-width: 800px;
    min-width: 450px; */
    width: 100%;
}

/* 검색 입력창 */
.search-input {
  background:#1f1f1f;
  color:#fff;
  width: 100%;
  padding: 10px 25px 10px 45px;
  font-size: 1rem;
  border: 2px solid #666;
  border-radius: 10px;
  transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input::placeholder {
  color: #aaa;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none; /* 클릭 방지 */
}

/* 검색 결과 드롭다운 */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #999;
    border-radius: 10px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
}

/* 결과 섹션 */
.result-section {
    padding: 10px 0;
}

.result-section:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.result-section-title {
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color:#000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 결과 아이템 */
.result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.result-item:hover,
.result-item.active {
    background: #eee;
}

.result-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-artwork {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.result-cover-placeholder {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  font-size:20px;
  border-radius: 8px;
  flex-shrink: 0;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    font-size: 0.9rem;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 검색 결과 하이라이트 */
mark {
    background: #d2d2d2;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* 검색 결과 없음 */
.no-results {
    padding: 40px 20px;
    text-align: center;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-results-text {
    color: #718096;
}

/* 에러 메시지 */
.error-message {
    padding: 20px;
    text-align: center;
    color: #e53e3e;
}

/* 스크롤바 스타일 */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 0 16px 16px 0;
}

.search-results::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 30px 0;
  overflow: hidden;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #aaa;
}

.section-title h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  text-transform: none; /* uppercase 제거*/
}

/* Tracklist */
.tracklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #222;;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.track-item:hover {
  background: #333;
  transform: translateX(4px);
}

/* Track Number */
.track-number {
  min-width: 30px;
  text-align: center;
  font-size: 0.875rem;
  color: #999;
  font-weight: 500;
}

/* Track Cover */
.track-cover {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-cover .artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-cover .cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-cover .cover-placeholder svg {
  opacity: 0.5;
}

/* Track Info */
.track-info {
  flex: 1;
  min-width: 0; /* 텍스트 오버플로우 처리를 위해 필요 */
}

.track-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-artists {
  font-size: 0.875rem;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* .artist-separator {
  color: #666;
} */

.artist-name {
  color: #ccc;
}

/* 반응형 */
@media (max-width: 768px) {
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .track-item {
    gap: 0.75rem;
    padding: 0.5rem;
  }
  
  .track-number {
    min-width: 24px;
    font-size: 0.75rem;
  }
  
  .track-cover {
    width: 40px;
    height: 40px;
  }
  
  .track-title {
    font-size: 0.9375rem;
  }
  
  .track-artists {
    font-size: 0.8125rem;
  }
  
  .track-sample-badge {
    display: none; /* 모바일에서는 숨김 */
  }
}

@media (max-width: 480px) {
  .track-title,
  .track-artists {
    max-width: 180px; /* 작은 화면에서 너비 제한 */
  }
}

/*--------------------------------------------------------------
# 메인 화면
--------------------------------------------------------------*/

.popular-card {
    /* background: #222; */
    /* border-radius: 15px; */
    padding: 25px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    /* background: rgba(25, 25, 25, 0.95); */
}

.popular-card h2 {
    color: #FFF;
    margin-bottom: 20px;
    font-size: 22px;
    /* border-bottom: 2px solid #667eea; */
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.popular-list {
    list-style: none;
}

.popular-item {
    padding: 12px;
    margin-bottom: 8px;
    /* background: #f9f9f9; */
    background: #222;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.popular-item:hover {
    /* background: #e8f0fe; */
    background: #333;
    transform: translateX(5px);
}

.popular-item a {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.popular-item img {
  width: 50px;
  border-radius: 5px;
  flex-shrink: 0;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-weight: bold;
    color: #FFF;
    margin-bottom: 3px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-meta {
    color: #aaa;
    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-keyword {
    font-weight: 500;
    color: #333;
}

.search-count {
    color: #999;
    font-size: 12px;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .popular-section {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: rgba(25, 25, 25, 0.95);
  padding: 10px 0;
  color: #fff;
  font-size: 14px;  
}

#footer .copyright {
  text-align: center;
}

@media (max-width: 575px) {
  #footer .footer-top .footer-info {
    margin: -20px 0 30px 0;
  }
}

/*--------------------------------------------------------------
# Artist, Album Detail Page Header
--------------------------------------------------------------*/
.pageinfo .page-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0;
  padding: 10px 0;
  overflow: hidden;
}
.pageinfo .page-artistmember, 
.page-artistgroupname {
  margin-bottom: 0.5rem;
  font-size: 14px;
}
.pageinfo .page-songartist {
  margin-right: 0.5rem ;
  font-size: 14px;
}

.pageinfo .pageheader {
  background: #222;
  border-radius: 10px;
  padding: 2rem;
}

.pageinfo .pageheader a:hover {
  text-decoration: underline;
}

.cover {
  border-radius: 10px;
  aspect-ratio: 1 / 1; /* 1:1 비율 유지 */
  overflow: hidden;
  position: relative;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover .artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover .artwork.list {
  width: 50px;
  border-radius: 5px;
}

.cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #181818;
}

.cover-placeholder svg {
  width: 40%;
  height: 40%;
  opacity: 0.6;
}

/* Artist Detail */
.artist-stats {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.875rem;
  color: #999;
}

.song-breakdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #999;
}

.breakdown-divider {
  color: #666;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.track-indicator {
  min-width: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Album Filters */
.album-filters {
  margin-bottom: 2rem;
}

/* Discography Grid */
.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

/* Album Card */
.album-card {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

/* Album Cover */
.album-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: #333;
  margin-bottom: 0.75rem;
}

.album-cover .artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-cover .cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #181818;
}

.album-cover .cover-placeholder svg {
  opacity: 0.5;
}

/* Album Card Info */
.album-card-info {
  padding: 0 0.25rem;
}

.album-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  min-height: 2.6em; /* 2줄 높이 확보 */
}

.album-card-type {
  font-size: 0.8125rem;
  color: #999;
  margin: 0 0 0.5rem 0;
}

.album-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.album-card-year {
  color: #ccc;
}

.album-card-sample-count {
  background-color: #FFF;
  border-radius: 10px;
  padding:5px;
  /* color: #3fdb4c; */
  color:#000;
  font-size: 14px;
  font-weight: 600;
}

/* Album Detail 상단  */
.page-albumartist {
  margin: 0.5rem 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.page-albumartist a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.page-albumartist a:hover {
  text-decoration: none;
}

/* .artist-separator {
  color: #999;
} */

/* 앨범 메타 정보 */
.album-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #999;
  flex-wrap: wrap;
}

.meta-item {
  color: #ccc;
}

.meta-divider {
  color: #666;
}

/* 앨범 통계 */
.album-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}


/* 반응형 */
@media (max-width: 992px) {
  .discography-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .pageinfo .page-title {
    font-size: 2rem;
  }
  
  .artist-stats {
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.25rem;
  }

  .page-albumartist {
    font-size: 1rem;
  }
  
  .album-meta {
    font-size: 0.8125rem;
  }
  
  .album-stats {
    gap: 1rem;
  }

  .content-section {
    margin-bottom: 2rem;
  }
  
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  #album-filters li {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .discography-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
  }
  
  .album-title {
    font-size: 0.875rem;
  }
  
  .album-type {
    font-size: 0.75rem;
  }
}
@media (max-width: 576px) {
  .discography-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/*--------------------------------------------------------------
# Artist, Album Contents
--------------------------------------------------------------*/
.contents {
  padding: 0;
  margin: 0;
  align-items: flex-start !important;
}

.contents img{
  max-width: 100%;
  height: auto;
}

.contents section {
  margin-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px;
}

.contents .songlist {
  background: #222;
  padding: 18px 30px;
  color: #b3b3b3;
  border-radius: 8px;

  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.contents .songlist a {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.contents .songlist span {
  color: #aaaaaa;
  font-size: 13px;
  margin: 0;
  padding: 0;
}
.contents .songlist h4 {
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  margin:0;
  color: #ffffff;
}
.contents .songlist p {
  color: #aaaaaa;
  font-size: 13px;
  margin: 0;
  padding: 0;
}

.contents .songlist:hover {
  background: #333;
  transform: translateX(5px);
  transition: all 0.1s ease;
}


/*--------------------------------------------------------------
# Album Discography Filter
--------------------------------------------------------------*/
#album-filters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  border-radius: 50px;
}
#album-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin-bottom: 5px;
  transition: all 0.1s ease-in-out;
  background-color: #333;
  border-radius: 5px;
}
#album-filters li:hover, #album-filters li.filter-active {
  background-color: #666;
}

 .contents-item {
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 10px;
  background: #222;
}

 .contents-item h5 {
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  margin:10px 0;
  color: #ffffff;
  overflow:hidden;
}

 .contents-item p {
  color: #aaaaaa;
  font-size: 13px;
  margin: 0;
  padding: 0;
}

 .contents-item .contents-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


 .contents-item:hover {
  background: #333;
  transform: translateY(-5px);
  transition: all 0.1s ease;
}

.samplecount {
  background-color: #FFF;
  border-radius: 10px;
  padding:5px;
  color:#000;
  font-size: 14px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Detail Page Top Bar
--------------------------------------------------------------*/
#pagetopbar {
  position: fixed;
  width: 100%;
  height: auto;
  padding: 2px 0;
  z-index: 990;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  opacity: 0;
  overflow:hidden;
}

#pagetopbar.fixed{
  background: rgba(25, 25, 25, 0.95);
  opacity: 1;
  transition: all 0.5s ease;
}

/*--------------------------------------------------------------
# Song Detail Page Header
--------------------------------------------------------------*/
.song-artists {
  margin: 0.75rem 0;
  font-size: 1.25rem;
  line-height: 1.6;
  overflow: hidden;
}

.artist-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.artist-link:hover {
  text-decoration: underline;
}

.artist-link.main-artist {
  font-weight: 600;
}

.artist-link.feat-artist {
  font-weight: 500;
}

.feat-label {
  margin: 0 0.25rem;
}

.song-artists .artist-separator {
  color: #fff;
  /* margin: 0 0.25rem; */
}

/* Song Album */
.song-album {
  margin: 0.5rem 0 1rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.album-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.album-link:hover {
  color: #fff;
  text-decoration: underline;
}

.album-divider {
  color: #ccc;
}

.album-year {
  color: #ccc;
  font-size: 0.875rem;
}

/* Song Producers */
.song-producers {
  margin: 0.5rem 0 1rem 0;
  color: #ccc;
}

.producer-label {
  margin-right: 0.1rem;
}

.artist-link.producer {
  color: #ccc;
  font-weight: 400;
}

/* Song Sample Stats */
.sample-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

/* 반응형 */
@media (max-width: 768px) {
  .song-artists {
    font-size: 1.125rem;
  }
  
  .song-album {
    font-size: 0.9375rem;
  }
  
  .song-producers {
    font-size: 0.8125rem;
  }
  
  .song-stats {
    margin-top: 1rem;
    padding-top: 0.75rem;
  }
}

/*--------------------------------------------------------------
# 곡 비교 페이지
--------------------------------------------------------------*/
/* Compare Section */
.compare {
  padding: 10px 0;
  /* background: #0a0a0a; */
}

.compare-header {
  text-align: center;
  margin-bottom: 2rem;
}

.compare-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.compare-description {
  color: #999;
  font-size: 0.9375rem;
  margin: 0;
}

.compare-grid {
  margin: 0 -0.75rem;
}

/* Song Card */
.song-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #2a2a2a;
  transition: border-color 0.2s;
}

.song-card:hover {
  border-color: #3a3a3a;
}

/* Song Badge */
.song-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.sampling-badge {
  background: rgba(29, 185, 84, 0.15);
  color: #1db954;
  border: 1px solid rgba(29, 185, 84, 0.3);
}

.original-badge {
  background: rgba(29, 161, 242, 0.15);
  color: #1da1f2;
  border: 1px solid rgba(29, 161, 242, 0.3);
}

.song-badge svg {
  stroke: currentColor;
}

/* Media Wrapper */
.media-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.media-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
  gap: 1rem;
}

.media-placeholder svg {
  opacity: 0.5;
}

.media-placeholder p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Timestamp Section */
.timestamp-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #0f0f0f;
  border-radius: 8px;
}

.timestamp-label {
  display: block;
  font-size: 0.8125rem;
  color: #999;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.timestamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timestamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: #222;
  border: 1px solid #333;
  border-radius: 6px;
  color: #1db954;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.2s;
}

.timestamp-btn:hover {
  background: #2a2a2a;
  border-color: #1db954;
  transform: translateY(-2px);
}

.timestamp-btn:active {
  transform: translateY(0);
}

.timestamp-btn svg {
  fill: #1db954;
}

/* Song Info */
.song-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.song-info .song-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.song-info .song-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.song-info .song-title a:hover {
  text-decoration: underline;
}

.song-info .song-artists {
  font-size: 1rem;
  line-height: 1.5;
}

.song-info .artist-link.feat {
  color: #fff;
}

.song-info .feat-text {
  color: #fff;
  /* margin: 0 0.25rem; */
}

.song-info .separator {
  color: #fff;
}

.song-info .song-album {
  font-size: 0.9375rem;
}

.song-info .album-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.song-info .album-link:hover {
  color: #fff;
  text-decoration: underline;
}

.song-info .song-producer {
  font-size: 0.875rem;
  color: #ccc;
}

.song-info .song-producer .label {
  margin-right: 0.1rem;
}

.song-info .producer-link,
.song-info .producer-name {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

.song-info .producer-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Contributor Info */
.contributor-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #0f0f0f;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #ccc;
  margin-top: auto;
}

.contributor-info svg {
  stroke: #ccc;
  flex-shrink: 0;
}

/* 반응형 */
@media (max-width: 991px) {
  .compare-grid {
    margin: 0;
  }
  
  .song-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .compare-header h2 {
    font-size: 1.5rem;
  }
  
  .song-card {
    padding: 1rem;
  }
  
  .song-info .song-title {
    font-size: 1.125rem;
  }
  
  .timestamp-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
}

/*--------------------------------------------------------------
# 제보하기
--------------------------------------------------------------*/
.floating-report-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #8d8d8d, #3f3f3f);
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  z-index: 9999; /* 항상 위에 */
}

.floating-report-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #686868, #2b2b2b);
}

.floating-report-btn svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

@media (max-width: 768px) {
  .floating-report-btn {
    bottom: 15px;
    right: 15px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .floating-report-btn svg {
    width: 18px;
    height: 18px;
  }

  .floating-report-btn span {
    display: none;
  }
}