/* Weavyr 콘텐츠 허브 공용 스타일 (게임 톤: 다크 아케인 + 금색) */
:root {
  --bg: #0a0a0c;
  --bg2: #111016;
  --panel: #14131a;
  --border: #2a2a32;
  --gold: #c9a14a;
  --gold-light: #f3e3b0;
  --text: #e9e2d0;
  --text-dim: #9a93b0;
  --purple: #a98fd4;
  --link: #d8b86a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(80% 50% at 50% -8%, #1a1430 0%, transparent 60%),
    linear-gradient(160deg, #100d18, #060409);
  color: var(--text);
  font-family: 'Pretendard', system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px; }

/* 헤더 / 네비게이션 */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 6, 14, 0.7);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand {
  font-weight: 900; font-size: 20px; letter-spacing: 3px;
  background: linear-gradient(180deg, #f3e3b0, #c9a14a 60%, #9c7a32);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand small { display: block; font-size: 10px; letter-spacing: 2px; color: var(--purple); -webkit-text-fill-color: var(--purple); }
.nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { color: var(--text-dim); }
.nav a:hover, .nav a.active { color: var(--gold-light); text-decoration: none; }
.play-btn {
  display: inline-block; padding: 7px 16px; border-radius: 10px; font-weight: 800; font-size: 14px;
  color: #241b08; background: linear-gradient(180deg, #dcc178, #b8923c); border: 1px solid #8a6c30;
}
.play-btn:hover { text-decoration: none; filter: brightness(1.06); }

/* 본문 */
main { padding: 28px 0 10px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
h1 { font-size: 27px; font-weight: 800; line-height: 1.3; margin: 0 0 6px; color: #fff; letter-spacing: -0.3px; }
.lead { color: var(--text-dim); font-size: 15px; margin: 0 0 26px; }
h2 { font-size: 20px; font-weight: 800; margin: 32px 0 10px; color: var(--gold-light); border-left: 3px solid var(--gold); padding-left: 10px; }
h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: #efe6cf; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }
strong { color: #fff; }
em { color: var(--purple); font-style: normal; font-weight: 700; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
th { background: #17151f; color: var(--gold-light); font-weight: 700; }
.note {
  background: #15131e; border: 1px solid #34304a; border-radius: 10px;
  padding: 12px 14px; margin: 16px 0; font-size: 14px; color: #d6cfe6;
}
.note b { color: var(--gold-light); }

/* 카드형 링크 (허브/관련 글) */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.card {
  display: block; background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; color: var(--text);
}
.card:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); transition: .12s; }
.card .t { font-weight: 800; color: #efe6cf; margin-bottom: 4px; }
.card .d { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.related { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); }
.related h2 { border: 0; padding: 0; font-size: 16px; margin-bottom: 12px; }

/* 푸터 */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--border); background: #08070d;
  font-size: 13px; color: var(--text-dim);
}
.site-footer .wrap { padding: 22px 18px; }
.site-footer nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .biz { line-height: 1.9; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; font-size: 12px; }
