:root {
  --bg: #0a0b0f;
  --bg-2: #101219;
  --panel: rgba(20, 22, 30, 0.86);
  --line: rgba(212, 175, 95, 0.22);
  --line-strong: rgba(212, 175, 95, 0.55);
  --gold: #d4af5f;
  --gold-2: #f0d48a;
  --text: #ece6d8;
  --muted: #a39c8d;
  --ok: #57c78a;
  --bad: #d06a5a;
  --radius: 14px;
  --serif: "Noto Serif KR", "Batang", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  /* 한글이 단어 중간("클라/이언트")에서 줄바꿈되지 않게 하고, 아주 긴 단어만 넘치지 않게 끊는다 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0; letter-spacing: -0.01em; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ----- navigation ----- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 11, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  font-family: var(--serif); font-weight: 900; font-size: 22px;
  color: var(--gold); letter-spacing: 0.04em;
}
.nav__links { display: flex; gap: 28px; flex: 1; }
.nav__links a {
  color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  padding: 20px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-2); border-bottom-color: var(--gold); }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408; box-shadow: 0 8px 24px rgba(212, 175, 95, 0.25);
}
.btn--gold:hover { box-shadow: 0 10px 30px rgba(212, 175, 95, 0.4); }
.btn--ghost { border-color: var(--line-strong); color: var(--gold-2); background: rgba(10, 11, 15, 0.4); }
.btn--ghost:hover { background: rgba(212, 175, 95, 0.1); }
.btn--small { height: 38px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; margin-top: 18px; }
.btn[aria-disabled="true"] {
  background: #2a2b31; color: #77736a; box-shadow: none; cursor: not-allowed; transform: none;
}

/* ----- hero ----- */
.eyebrow {
  margin: 0 0 10px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.32em;
}
.hero {
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 11, 15, 0.94) 0%, rgba(10, 11, 15, 0.65) 45%, rgba(10, 11, 15, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 11, 15, 0) 35%),
    /* 배너 왼쪽(인물)이 제목 뒤로, 그림 속 로고는 오른쪽에 오도록 왼쪽 기준으로 맞춘다 */
    url("../img/banner.png") left center / cover no-repeat;
}
.hero--download { min-height: 440px; }
.hero__inner { max-width: 1180px; width: 100%; margin: 0 auto; padding: 72px 24px; }
.hero__title {
  /* 글자 모양으로 그라데이션을 오려 내므로 줄 높이·여백이 작으면 글자 위아래가 잘린다 */
  font-size: clamp(44px, 9vw, 104px); font-weight: 900; line-height: 1.22; padding: 0.04em 0.04em 0.06em 0;
  overflow-wrap: anywhere;
  color: var(--gold-2);
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold) 70%, #8a6a2c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(212, 175, 95, 0.18);
}
.hero__title--small { font-size: clamp(40px, 6vw, 68px); }
.hero__title--small + .hero__desc { margin-top: 18px; }
.hero__tagline { margin: 22px 0 6px; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.hero__desc { margin: 0; max-width: 520px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ----- sections ----- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px 72px; }
.section-head { text-align: center; padding: 72px 0 32px; }
.section-head h2 { font-size: 34px; }
.section-head p.muted { margin: 10px 0 0; }
.page-head { text-align: center; padding: 80px 24px 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px;
  background: radial-gradient(ellipse at top, rgba(212, 175, 95, 0.12), transparent 70%); }
.page-head h1 { font-size: 40px; }

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.panel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.panel__head h3 { font-size: 16px; letter-spacing: 0.12em; color: var(--gold-2); }
.link { color: var(--gold); font-size: 13px; }
.link:hover { color: var(--gold-2); }

.news { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; }

/* notices */
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.notice-list li:first-child { border-top: 0; }
.notice__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #1a1408; background: var(--gold);
}
.tag--안내 { background: #8fb3d9; }
.notice__title { margin: 6px 0 2px; font-weight: 700; }
.notice__body { margin: 0; color: var(--muted); font-size: 14px; }
.notice-list--full li { padding: 22px 26px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.notice-list--full li:first-child { border-top: 1px solid var(--line); }

/* status + info */
.status { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 16px; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #666; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05); }
.status.is-online .status__dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(87, 199, 138, 0.18); }
.status.is-online .status__text { color: var(--ok); }
.status.is-offline .status__dot { background: var(--bad); box-shadow: 0 0 0 4px rgba(208, 106, 90, 0.18); }
.status.is-offline .status__text { color: var(--bad); }
.info-list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; text-align: right; }

/* band */
.band {
  text-align: center; padding: 80px 24px; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(212, 175, 95, 0.14), transparent 65%), var(--bg-2);
}
.band h2 { font-size: 34px; margin-bottom: 10px; }
.band .btn { margin-top: 24px; }

/* download page */
.quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.quick__item {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 20px; border-radius: 12px; cursor: pointer;
  background: rgba(10, 11, 15, 0.6); border: 1px solid var(--line); color: var(--text); font: inherit;
}
.quick__item:hover { border-color: var(--line-strong); }
.quick__icon { color: var(--gold); font-size: 20px; }
.quick__item strong { display: block; }
.quick__item small { color: var(--muted); }

.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: -60px; position: relative; }
.download {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, rgba(30, 27, 20, 0.95), rgba(18, 19, 25, 0.95));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.download__step { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.28em; }
.download h3 { font-size: 24px; }
.download__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.download__meta b { color: var(--text); font-weight: 500; }
.download .btn { margin-top: auto; align-self: flex-start; }
.download__note { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step__no { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; }
.step h4 { margin: 10px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.checks { margin-top: 20px; }
.checks h3 { font-size: 17px; margin-bottom: 10px; color: var(--gold-2); }
.checks ul { margin: 0; padding-left: 20px; color: var(--muted); }
.checks li + li { margin-top: 6px; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spec { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec caption { caption-side: top; text-align: left; padding: 0 0 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gold-2); }
.spec th, .spec td { padding: 13px 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: left; font-size: 14px; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; }
.spec th { width: 34%; color: var(--muted); font-weight: 500; }

.footer {
  text-align: center; padding: 34px 24px; color: var(--muted); font-size: 13px; letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
}

/* ----- responsive ----- */
@media (max-width: 900px) {
  .news, .downloads, .specs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .downloads { margin-top: -40px; }
}
@media (max-width: 640px) {
  /* 좁은 화면: 로고 한 줄, 메뉴 한 줄로 나눠 잘리지 않게 한다 */
  .nav__inner { flex-wrap: wrap; height: auto; gap: 0; padding: 10px 16px 0; }
  .nav__logo { width: 100%; text-align: center; font-size: 20px; }
  .nav__links { width: 100%; justify-content: space-around; gap: 0; }
  .nav__links a { font-size: 13px; padding: 10px 4px 12px; white-space: nowrap; }
  .nav__cta { display: none; }
  .hero { min-height: 480px; }
  .hero__inner { padding: 56px 16px; }
  .container { padding: 0 16px 56px; }
  .steps { grid-template-columns: 1fr; }
  .quick__item { flex: 1 1 100%; }
  .panel, .download { padding: 22px; }
  .info-list dd { text-align: left; }
}
