:root {
    /* 배경 변경 방법:파일 업로드에 배경으로 사용할 이미지 업로드 후 배경 이미지에 맞춰 아래의 파일 명 수정 */ 
    --bg-image: url('./images/back_ground.png'); 
    --main-color: #6b0000; 
}
* { margin: 0; padding: 0; box-sizing: border-box; color: rgb(255, 255, 255) !important; }
body, html { width: 100%; height: 100%; overflow: hidden; font-family: 'Nanum myeongjo', sans-serif; background-color: rgb(100, 0, 0); }

/* 폰트 변경 방법: 나눔 고딕 외에는 아직 적용을 안 해봐서.. */
/* 'Nanum myeongjo'-->nanu mgothic으로 변경시 나눔고딕 됩니다 */

#music-skin-container { position: relative; width: 100%; height: 100vh; overflow: hidden; }

/* 기본 배경 */
.bg-main {
    position: fixed; width: 100%; height: 100%; top: 0; left: 0;
    background-image: var(--bg-image); background-size: cover; background-position: center;
    z-index: 1;
}

/* 그라데이션 블러 레이어 */
.bg-blur { 
    position: fixed; width: 110%; height: 110%; top: -5%; left: -5%; 
    background-image: var(--bg-image); background-size: cover; background-position: center; 
    filter: blur(30px); /* 블러 강도를 조금 높여야 그라데이션이 잘 보입니다 */
    z-index: 2; 
    opacity: 0.9;
    
    /* 위는 투명하게, 아래는 불투명하게 마스크 적용 */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

#contents { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 20; width: 100%; max-width: 600px; }

.player-card { display: none; flex-direction: column; align-items: center; text-align: center; }
.player-card.active-card { display: flex !important; animation: fadeIn 0.5s ease; }

#playlist-area { position: absolute; right: 60px; top: 0; width: 300px; height: 100vh; display: flex; flex-direction: column; justify-content: center; z-index: 10; }
#side-list { list-style: none; text-align: right; overflow-y: auto; max-height: 80vh; }
#side-list::-webkit-scrollbar { width: 0; }

.side-item { color: rgba(255, 255, 255, 0.4) !important; padding: 12px 0; cursor: pointer; transition: 0.3s; font-size: 11pt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item:hover { color: #fff !important; transform: translateX(-5px); }
.side-item.active { color: #fff !important; font-weight: 700; border-right: 3px solid var(--main-color); padding-right: 15px; }

.custom-btn { background: transparent; border: 1px solid #7b0000; border-radius: 25px; padding: 8px 20px; cursor: pointer; transition: all 0.3s ease; font-weight: bold; font-size: 10pt; outline: none; }
.custom-btn:hover, .custom-btn:active, .btn-active, .playing-btn { background-color: #7b0000 !important; color: rgb(0, 0, 0) !important; mix-blend-mode: screen; border-color: #7b0000; }

/* 앨범 색상 부분 수정 용도 */
/* decoration-box, disk-hole 옆 백그라운드 색상 코드를 수정해야 박스 색상이 변경 */
.album-decoration-box { background: #7b0000; padding: 35px; border-radius: 20px; display: inline-block; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.album-disk-outer { width: 250px; height: 250px; background: var(--main-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; position: relative; }
.album-disk { width: 100%; height: 100%; border-radius: 50%; background: #000000; animation: disk-rotate 15s linear infinite; animation-play-state: paused !important; overflow: hidden; position: relative; }
.album-disk.playing { animation-play-state: running !important; }

.album-disk img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.disk-shine { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: conic-gradient(from 0deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%); z-index: 2; }
.disk-rings { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 35%, rgba(255,255,255,0.01) 40%, transparent 60%); z-index: 3; }
.disk-hole { position: absolute; width: 40px; height: 40px; background: #000000; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; }

.top-settings { margin-bottom: 50px; display: flex; gap: 12px; justify-content: center; }
.info-text-area { margin-top: 40px; }
.music-title { font-size: 17pt; font-weight: 700; margin-bottom: 25px; }
.action-buttons { margin-bottom: 20px; }
.load-btn { border-color: var(--main-color); padding: 10px 40px; font-size: 11pt; }
.individual-controls { display: flex; gap: 15px; justify-content: center; }
.individual-controls .custom-btn { font-size: 12pt; padding: 6px 18px; line-height: 1; }


@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes disk-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }