@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #08090b;
    --panel: #111318;
    --panel-soft: #151820;
    --line: rgba(255,255,255,.09);
    --text: #f6f7fb;
    --muted: #9096a4;
    --accent: #a8ff3e;
    --accent-dark: #0d1308;
    --purple: #9c7cff;
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 5%, rgba(168,255,62,.08), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(156,124,255,.08), transparent 25%),
        var(--bg);
    color: var(--text);
    font-family: "Manrope", "Noto Sans KR", sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.noise {
    pointer-events: none;
    position: fixed; inset: 0; opacity: .025; z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.site-header {
    width: min(1280px, calc(100% - 40px));
    height: 88px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}
.brand-mark {
    width: 42px; height: 42px;
    display: flex; align-items: end; justify-content: center; gap: 3px;
    padding: 10px 8px;
    background: var(--accent);
    border-radius: 12px;
}
.brand-mark i { display:block; width:4px; border-radius:4px; background:#0a0d07; }
.brand-mark i:nth-child(1){height:10px}
.brand-mark i:nth-child(2){height:20px}
.brand-mark i:nth-child(3){height:15px}
.brand-mark i:nth-child(4){height:7px}
.brand b { display:block; font-size:16px; }
.brand small { display:block; color:var(--muted); font-size:11px; margin-top:1px; }
.header-status {
    font-size: 12px; color: var(--muted);
    display:flex; align-items:center; gap:8px;
}
.status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(168,255,62,.1);
}
main { width:min(1280px, calc(100% - 40px)); margin:auto; }
.hero {
    min-height: 580px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center;
}
.hero-copy {
    color: var(--accent); font-size: 13px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
}
.hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 1.02;
    letter-spacing: -.06em;
}
.hero h1 em { color:var(--muted); font-style:normal; font-weight:500; }
.hero-description { color:var(--muted); max-width:620px; line-height:1.7; }
.search-shell {
    width:min(700px, 100%); margin-top:34px; position:relative;
    display:flex; align-items:center; gap:12px;
    padding:8px 8px 8px 20px;
    background:rgba(20,22,28,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    box-shadow:0 24px 80px rgba(0,0,0,.34);
}
.search-shell:focus-within { border-color:rgba(168,255,62,.6); }
.search-shell svg { width:22px; fill:none; stroke:var(--muted); stroke-width:1.8; }
.search-shell input {
    min-width:0; flex:1; border:0; outline:0; color:var(--text);
    background:transparent; height:48px; font-size:16px;
}
.search-shell input::placeholder { color:#646977; }
.search-shell button {
    border:0; background:var(--accent); color:var(--accent-dark);
    height:48px; min-width:94px; border-radius:12px; font-weight:800;
}
.quick-search {
    display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap;
    margin-top:18px; color:var(--muted); font-size:12px;
}
.quick-search button {
    border:1px solid var(--line); background:transparent; color:#b7bbc4;
    padding:7px 11px; border-radius:999px;
}
.quick-search button:hover { border-color:var(--accent); color:var(--accent); }
.workspace { padding:40px 0 100px; }
.section-heading {
    display:flex; justify-content:space-between; align-items:end;
    margin-bottom:24px;
}
.section-heading p {
    margin:0 0 6px; color:var(--accent); font-size:11px;
    text-transform:uppercase; letter-spacing:.16em; font-weight:700;
}
.section-heading h2 { margin:0; font-size:28px; letter-spacing:-.04em; }
.section-heading > span { color:var(--muted); font-size:13px; }
.section-heading.compact { margin-top:34px; }
.artist-results {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:12px;
}
.artist-card {
    width:100%; text-align:left; color:var(--text);
    border:1px solid var(--line); background:rgba(17,19,24,.75);
    border-radius:18px; padding:20px;
    transition:.2s ease;
}
.artist-card:hover {
    transform:translateY(-3px); border-color:rgba(168,255,62,.45);
    background:var(--panel-soft);
}
.artist-card-top { display:flex; gap:14px; align-items:center; }
.artist-avatar {
    flex:0 0 50px; height:50px; display:grid; place-items:center;
    border-radius:15px; color:#0c1008; font-weight:800; font-size:20px;
    background:linear-gradient(135deg, var(--accent), #d6ff99);
}
.artist-card h3 { margin:0; font-size:17px; }
.artist-card p { margin:5px 0 0; color:var(--muted); font-size:12px; min-height:18px; }
.artist-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:17px; }
.tag {
    display:inline-flex; padding:5px 8px; border:1px solid var(--line);
    border-radius:7px; color:#aeb3be; font-size:11px;
}
.score { margin-left:auto; color:var(--accent); font-size:12px; }
.back-button {
    display:flex; align-items:center; gap:7px; border:0; background:transparent;
    color:var(--muted); padding:0; margin-bottom:22px;
}
.back-button svg { width:20px; fill:none; stroke:currentColor; stroke-width:2; }
.artist-profile {
    min-height:280px; display:grid; grid-template-columns:230px 1fr;
    align-items:end; gap:42px; padding:38px;
    border:1px solid var(--line); border-radius:26px;
    overflow:hidden; position:relative;
    background:
        radial-gradient(circle at 12% 30%, rgba(168,255,62,.2), transparent 25%),
        linear-gradient(135deg, #171a20, #0e1014);
}
.artist-profile:after {
    content:""; position:absolute; width:340px; height:340px; right:-80px; top:-130px;
    border:1px solid rgba(255,255,255,.06); border-radius:50%;
    box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.012);
}
.profile-avatar {
    width:210px; height:210px; border-radius:50%;
    display:grid; place-items:center; font-size:76px; font-weight:800;
    color:#0c1008; background:var(--accent); position:relative; z-index:1;
}
.profile-content { position:relative; z-index:1; }
.profile-kicker { color:var(--accent); font-size:12px; letter-spacing:.15em; text-transform:uppercase; }
.profile-content h2 { margin:9px 0 10px; font-size:clamp(42px,6vw,78px); letter-spacing:-.06em; line-height:1; }
.profile-content > p { color:var(--muted); line-height:1.6; }
.profile-facts { display:flex; gap:8px; flex-wrap:wrap; margin-top:20px; }
.profile-facts span {
    padding:8px 11px; border:1px solid var(--line); border-radius:9px;
    background:rgba(0,0,0,.2); color:#c8ccd5; font-size:12px;
}
.genre-list { display:flex; gap:7px; flex-wrap:wrap; margin-top:16px; }
.genre-list span {
    color:var(--accent); background:rgba(168,255,62,.08);
    border:1px solid rgba(168,255,62,.2); padding:6px 9px; border-radius:999px; font-size:11px;
}
.tabs {
    display:flex; gap:28px; margin-top:28px; border-bottom:1px solid var(--line);
}
.tabs button {
    border:0; background:transparent; color:var(--muted);
    padding:17px 0; position:relative; font-weight:600;
}
.tabs button.is-active { color:var(--text); }
.tabs button.is-active:after {
    content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--accent);
}
.timeline { display:flex; overflow:auto; gap:0; padding:22px 0 34px; }
.timeline-item {
    min-width:150px; position:relative; padding-top:25px;
}
.timeline-item:before {
    content:""; position:absolute; top:5px; left:0; width:100%; height:1px; background:var(--line);
}
.timeline-item:after {
    content:""; position:absolute; top:1px; left:0; width:9px; height:9px;
    background:var(--accent); border-radius:50%; box-shadow:0 0 0 5px rgba(168,255,62,.1);
}
.timeline-item strong { display:block; font-size:18px; }
.timeline-item span { display:block; color:var(--muted); font-size:11px; margin-top:4px; padding-right:16px; }
.album-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:20px; }
.album-cover {
    aspect-ratio:1; border-radius:15px; overflow:hidden; background:#191c22;
    border:1px solid var(--line); position:relative;
}
.album-cover img { width:100%; height:100%; object-fit:cover; }
.album-placeholder {
    width:100%; height:100%; display:grid; place-items:center;
    background:linear-gradient(135deg,#20242d,#111318); color:#555b68; font-size:34px;
}
.album-card h3 { font-size:14px; margin:11px 0 5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.album-card p { margin:0; color:var(--muted); font-size:11px; }
.network {
    height:650px; border:1px solid var(--line); border-radius:20px;
    background:radial-gradient(circle at 50% 50%, rgba(168,255,62,.05), transparent 40%), #0d0f13;
    overflow:hidden;
}
.network-empty { height:100%; display:grid; place-items:center; color:var(--muted); }
.metadata-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.metadata-card {
    border:1px solid var(--line); background:var(--panel);
    border-radius:17px; padding:20px;
}
.metadata-card h3 { margin:0 0 14px; font-size:14px; }
.data-list { margin:0; display:grid; gap:10px; }
.data-list div { display:grid; grid-template-columns:120px 1fr; gap:16px; }
.data-list dt { color:var(--muted); font-size:12px; }
.data-list dd { margin:0; font-size:13px; word-break:break-all; }
.link-list { display:flex; flex-direction:column; gap:8px; }
.link-list a {
    color:#c9ccd5; text-decoration:none; padding:10px 12px;
    border:1px solid var(--line); border-radius:10px; font-size:12px;
}
.link-list a:hover { border-color:var(--accent); color:var(--accent); }
.loading {
    position:fixed; inset:0; z-index:90; background:rgba(5,6,8,.78);
    backdrop-filter:blur(10px); display:flex; flex-direction:column;
    align-items:center; justify-content:center; gap:18px; color:#cfd2da;
}
.loader-bars { display:flex; align-items:end; gap:5px; height:36px; }
.loader-bars i { width:5px; background:var(--accent); border-radius:5px; animation:bars .8s ease-in-out infinite alternate; }
.loader-bars i:nth-child(1){height:12px}
.loader-bars i:nth-child(2){height:27px;animation-delay:.1s}
.loader-bars i:nth-child(3){height:36px;animation-delay:.2s}
.loader-bars i:nth-child(4){height:22px;animation-delay:.3s}
.loader-bars i:nth-child(5){height:10px;animation-delay:.4s}
@keyframes bars { to { height:8px; opacity:.35; } }
.toast {
    position:fixed; right:24px; bottom:24px; z-index:120;
    max-width:360px; padding:14px 18px; border-radius:12px;
    background:#20232b; border:1px solid var(--line); color:#fff;
    transform:translateY(30px); opacity:0; pointer-events:none; transition:.25s;
}
.toast.is-visible { transform:translateY(0); opacity:1; }
.empty-state {
    grid-column:1/-1; padding:70px 20px; text-align:center;
    border:1px dashed var(--line); border-radius:20px; color:var(--muted);
}
@media (max-width: 980px) {
    .artist-results { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .album-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .artist-profile { grid-template-columns:160px 1fr; gap:28px; }
    .profile-avatar { width:150px; height:150px; font-size:52px; }
}
@media (max-width: 680px) {
    .site-header, main { width:min(100% - 24px, 1280px); }
    .site-header { height:72px; }
    .hero { min-height:520px; }
    .hero h1 { font-size:44px; }
    .search-shell { padding-left:14px; }
    .search-shell button { min-width:72px; }
    .artist-results { grid-template-columns:1fr; }
    .artist-profile { grid-template-columns:1fr; padding:25px; align-items:start; }
    .profile-avatar { width:110px; height:110px; font-size:38px; }
    .profile-content h2 { font-size:48px; }
    .tabs { gap:18px; overflow:auto; }
    .tabs button { white-space:nowrap; }
    .album-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
    .metadata-grid { grid-template-columns:1fr; }
    .section-heading { align-items:start; gap:12px; }
    .section-heading > span { text-align:right; }
    .network { height:520px; }
}
