:root {
  --bg:       #FEFCE8;
  --surface:  #FFFFFF;
  --lav:      #D8C9FF;
  --lav-dk:   #A78BDB;
  --lav-lt:   #F3EEFF;
  --yellow:   #FDE68A;
  --pink:     #FFD6EC;
  --pink-lt:  #FFF4FA;
  --text:     #3D2F60;
  --text-sub: #9183B0;
  --text-mut: #C0B6D6;
  --border:   #EDE6FF;
  --shadow:   rgba(167,139,219,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: 'Noto Sans KR', sans-serif; color: var(--text); }

/* NAV */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254,252,232,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner-wrap {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.nav-inner-wrap a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  color: var(--text-sub); padding: 14px 18px;
  position: relative; transition: color .2s;
}
.nav-inner-wrap a::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px; background: var(--lav-dk);
  border-radius: 2px; transition: width .25s;
}
.nav-inner-wrap a:hover { color: var(--lav-dk); }
.nav-inner-wrap a:hover::after { width: 60%; }
.nav-inner-wrap a.active { color: var(--lav-dk); }
.nav-inner-wrap a.active::after { width: 100%; }

/* SECTION WRAP */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 32px 20px 60px; }

/* SEC LABEL */
.sec-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-mut); text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::after { content:''; flex:1; height:1px; background:var(--border); }

/* CARD BASE */
.card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 14px 18px;
  transition: all .25s ease;
  box-shadow: 0 2px 8px var(--shadow);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--lav);
}

/* EMPTY / LOADING */
.empty-box {
  background: var(--surface); border: 1.5px dashed var(--border);
  border-radius: 16px; padding: 32px;
  text-align: center; font-size: 13px; color: var(--text-mut);
}
.loading { text-align:center; padding:32px; font-size:13px; color:var(--text-mut); }

/* BADGE */
.badge {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 100px; flex-shrink: 0;
}

/* FOOTER */
.page-footer {
  border-top: 1.5px solid var(--border);
  text-align: center; padding: 20px; font-size: 12px; color: var(--text-mut);
}

/* FADE UP */
.fade-up { opacity:0; transform:translateY(16px); transition:opacity .5s ease,transform .5s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--lav); border-radius: 3px; }
