/* 기본 설정 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; /* 폰트 설정 */
    color: white; /* 모든 텍스트 기본 색상을 흰색으로 */
}

/* 전체 컨테이너 (배경 이미지 설정) */
.container {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* **[필수 수정]** 여기에 가지고 계신 배경 이미지 경로를 넣어주세요. */
    background-image: url('후야_PC_1.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 배경 스크롤 X */
    
    /* 배경 이미지가 어둡게 보이도록 검은색 오버레이 추가 */
    background-color: rgba(0, 0, 0, 0.7); 
    background-blend-mode: darken; 
    
    position: relative;
    overflow: hidden; /* 눈 효과가 화면 밖으로 나가지 않게 */
}

/* 중앙 프로필 카드 스타일 */
.profile-card {
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
    background: rgba(18, 18, 18, 0.95); /* 거의 검은색에 약간의 투명도 */
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); /* 그림자 */
    text-align: center;
    z-index: 10;
    
    /* 카드 디자인: 약간의 유리 효과 */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* 원형 프로필 */
    border: 3px solid #6c757d; /* 회색 테두리 */
    margin-bottom: 15px;
    object-fit: cover;
}

.username {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.bio {
    font-size: 1rem;
    color: #a0a0a0; /* 회색 텍스트 */
    margin-bottom: 20px;
}

.links {
    margin-bottom: 15px;
}

.links a {
    display: inline-block;
    margin: 0 10px;
}

/* style.css 파일 */
.links .icon {
    width: 24px;    
    height: 24px;
    
    /* 찌그러짐 방지 및 비율 유지 */
    object-fit: contain; /* <-- 이 부분을 추가하거나 수정합니다 */
    opacity: 0.8;
    transition: opacity 0.3s;
}
.links .icon:hover {
    opacity: 1;
}

.views {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 음악 플레이어 스타일 */
.music-player {
    position: absolute;
    bottom: 40px;
    width: 90%;
    max-width: 400px;
    background: rgba(30, 30, 30, 0.95); /* 어두운 배경 */
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.track-info {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.album-art {
    /* [핵심] 웹사이트에 표시될 최종 크기 (매우 작게) */
    width: 30px;
    height: 30px; 
    
    /* 찌그러짐 방지 및 공간 꽉 채우기 */
    object-fit: cover; 
    
    border-radius: 4px; /* 모서리를 둥글게 */
    margin-right: 10px; /* 트랙 이름과의 간격 */
}
.track-name {
    font-size: 0.9rem;
    font-weight: 700;
}

/* HTML5 기본 오디오 플레이어 스타일 조정 */
.music-player audio {
    width: 100%;
    height: 30px;
    filter: invert(90%); /* 플레이어를 밝게 하여 어두운 배경에서 보이게 함 */
}