@font-face {
    font-family: 'SCHG';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2506-1@1.0/SacheonHangGong-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

:root {
    --bg-dark: #0B1D51;
    --point-purple: #725CAD;
    --point-blue: #8CCDEB;
    --point-gold: #FFE3A9;
    --text-light: #f8f9fa;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    /* 폰트 교체 */
    font-family: 'SCHG', sans-serif;
    margin: 0; padding: 20px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 검색창 및 버튼 폰트 적용 */
input, select, button {
    font-family: 'SCHG', sans-serif !important;
}

/* 나머지 노래 아이템 스타일 유지 */
.song-title {
    font-size: 1.4rem;
    color: var(--point-gold);
    letter-spacing: 0.5px;
}

header {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 중앙 정렬 */
    text-align: center;
}

/* 중앙 타이틀 스타일 */
header h1 {
    font-family: 'SCHG', sans-serif;
    font-size: clamp(3rem, 10vw, 5.5rem);
    color: var(--point-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.filters {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.search-wrap { width: 100%; max-width: 600px; }
#search-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid var(--point-purple);
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
}

.select-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.select-group select, #reset-filters {
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--point-purple);
    background: var(--bg-dark);
    color: white;
    font-family: inherit;
    cursor: pointer;
}

/* Flexbox Masonry-like 레이아웃 */
.category-container {
    display: block;
    column-count: 3;
    column-gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 가수 섹션 단위 */
/* 가수명 (카테고리 제목) 아웃라인 적용 */
/* 가늘어진 아웃라인이 적용된 가수명 */
.artist-title {
    font-family: 'SCHG', sans-serif;
    font-size: 2.3rem;
    color: #FFFFFF;
    font-weight: normal; /* 단정해 폰트는 자체 두께감이 있어 normal이 깔끔합니다 */
    
    /* 요청하신 대로 아주 가느다란 아웃라인 */
    -webkit-text-stroke: 0.4px var(--point-purple); 
    
    /* 가독성을 위한 최소한의 그림자 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    
    border-bottom: 2px solid var(--point-purple);
    margin-bottom: 25px;
    padding-bottom: 8px;
    display: inline-block;
    width: 100%;
    letter-spacing: 0.5px;
}

/* 섹션 분리 방지 */
.artist-section {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 50px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 나머지 노래 아이템 스타일 유지 */
.song-item {
    margin-bottom: 35px;
}

.item-main { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.song-title { font-size: 1.4rem; color: var(--point-gold); flex-shrink: 0; }
.line-dots { flex-grow: 1; border-bottom: 1px dotted rgba(140,205,235,0.3); margin-bottom: 6px; }
.level-stars { color: var(--point-gold); font-size: 1.1rem; }

.item-sub { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 8px; }
.info-group { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.info-text { color: var(--point-blue); font-size: 1rem; }
.note-text { color: var(--point-purple); font-size: 0.9rem; font-style: italic; }

.copy-btn {
    background: transparent; border: 1px solid var(--point-blue);
    color: var(--point-blue); padding: 4px 12px; border-radius: 6px;
    font-family: inherit; cursor: pointer; margin-left: 15px;
    transition: 0.2s;
}
.copy-btn:hover { background: var(--point-blue); color: var(--bg-dark); }

#back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--point-purple); color: white;
    border: none; cursor: pointer; display: none; font-size: 1.5rem;
}

/* 반응형 설정 */
@media (max-width: 1200px) { .category-container { column-count: 2; } }
@media (max-width: 800px) { .category-container { column-count: 1; } }