/* 항로일지 — 사이트 (게임 UI 와 같은 재료: 남색 바다 · 황동 · 양피지, 갈무리 픽셀 글꼴) */
@font-face { font-family: "Galmuri11"; src: url("../assets/fonts/Galmuri11-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Galmuri11"; src: url("../assets/fonts/Galmuri11.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #06111c;
  --bg2: #0a1a2a;
  --panel: #0e2234;
  --panel2: #12304a;
  --line: rgba(244, 236, 216, .10);
  --line2: rgba(244, 236, 216, .18);
  --ink: #f4ecd8;
  --ink2: #c9d3dd;
  --muted: #8fa0b2;
  --gold: #f4d38a;
  --gold2: #e8a93a;
  --brass: #c98f3a;
  --sea: #5ac8fa;
  --coral: #ff8a65;
  --pixel: "Galmuri11", "Pretendard Variable", Pretendard, sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1180px;
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.75; letter-spacing: -.01em; word-break: keep-all; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* 아주 옅은 필름 알갱이 */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: inherit; }
b { font-weight: 700; color: var(--ink); }
kbd { font-family: var(--pixel); font-size: .8em; padding: .05em .45em; border-radius: 4px; background: var(--panel2); border: 1px solid var(--line2); border-bottom-width: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: #1d1205; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.gold { color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--pixel); font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--gold);
}
.eyebrow img { width: 26px; height: auto; }
.h2 {
  margin: 0 0 22px; font-family: var(--pixel); font-weight: 700; line-height: 1.35; letter-spacing: 0;
  font-size: clamp(30px, 4.2vw, 48px); color: var(--ink);
  text-shadow: 0 3px 0 rgba(4, 12, 20, .8);
}
.h2.big { font-size: clamp(34px, 5.6vw, 64px); }
section { position: relative; }
p { margin: 0 0 14px; color: var(--ink2); }

/* ------------------------------------------------------------ 황동 버튼 (게임 버튼 그림 그대로, 3배) */
.btn {
  --s: 3;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: calc(22px * var(--s)); padding: 0 calc(10px * var(--s));
  border-style: solid; border-width: calc(7px * var(--s));
  border-image: url("../assets/ui/btn_normal.png") 7 fill / calc(7px * var(--s)) stretch;
  image-rendering: pixelated;
  font-family: var(--pixel); font-weight: 700; font-size: 20px; color: #3a2410; text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .5);
  transition: transform .15s var(--ease), filter .2s;
  filter: drop-shadow(0 8px 18px rgba(232, 169, 58, .25));
}
.btn > span { margin: calc(-7px * var(--s)) 0; }
.btn img { width: 24px; height: 24px; margin: calc(-7px * var(--s)) 0; filter: brightness(.25) sepia(1) saturate(3) hue-rotate(-10deg); }
.btn:hover { border-image-source: url("../assets/ui/btn_hover.png"); transform: translateY(-2px); filter: drop-shadow(0 12px 24px rgba(232, 169, 58, .38)); }
.btn:active { border-image-source: url("../assets/ui/btn_down.png"); transform: translateY(1px); }
.btn-sm { --s: 2; font-size: 15px; padding: 0 14px; }
.btn-lg { font-size: 22px; }
.btn.wide, .btn-outline.wide { width: 100%; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; border: 1px solid var(--line2);
  background: rgba(6, 17, 28, .35); backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(244, 236, 216, .1); border-color: rgba(244, 236, 216, .35); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 10px;
  border: 2px solid rgba(244, 211, 138, .45); color: var(--gold); text-decoration: none;
  font-family: var(--pixel); font-weight: 700; font-size: 18px; transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(244, 211, 138, .08); border-color: var(--gold); }

/* ------------------------------------------------------------ 위 막대 */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; padding: 0 max(16px, calc((100vw - var(--wrap)) / 2));
  display: flex; align-items: center; gap: 28px; transition: background .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(6, 17, 28, .78); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--pixel); font-weight: 700; font-size: 20px; }
.brand img { width: 28px; height: 28px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink2); font-size: 15px; font-weight: 600; position: relative; padding: 4px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left; }
.links a:hover { color: var(--ink); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.links a.on { color: var(--ink); }

/* ------------------------------------------------------------ 첫 화면 */
.hero { min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 30% 40%; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 17, 28, .55) 0%, rgba(6, 17, 28, 0) 22%),
    radial-gradient(ellipse 70% 55% at 50% 62%, rgba(6, 17, 28, .62) 0%, rgba(6, 17, 28, .25) 60%, rgba(6, 17, 28, 0) 100%),
    linear-gradient(180deg, rgba(6, 17, 28, 0) 55%, rgba(6, 17, 28, .85) 88%, var(--bg) 100%);
}
.hero-inner { text-align: center; padding: 120px 16px 150px; max-width: 900px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(6, 17, 28, .55); border: 1px solid var(--line2); backdrop-filter: blur(10px);
  font-family: var(--pixel); font-weight: 700; font-size: 14px; color: var(--ink);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #58e0a0; box-shadow: 0 0 0 0 rgba(88, 224, 160, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(88, 224, 160, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(88, 224, 160, 0); } }
.hero-emblem { width: 64px; height: 64px; margin: 0 auto 6px; filter: drop-shadow(0 4px 0 rgba(4, 12, 20, .8)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.title {
  position: relative; margin: 0; font-family: var(--pixel); font-weight: 700; line-height: 1.05; letter-spacing: .02em;
  font-size: clamp(64px, 13vw, 168px);
  background: linear-gradient(180deg, #fff6d8 0%, #ffe29a 42%, #f2b54a 60%, #d98a2b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 #0b2236) drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}
.title::after { /* 지나가는 빛 */
  content: attr(data-text); position: absolute; inset: 0; color: transparent;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 6s ease-in-out 1.2s infinite;
}
@keyframes shine { 0% { background-position: 120% 0; } 40%, 100% { background-position: -120% 0; } }
.tagline { margin: 18px 0 14px; font-family: var(--pixel); font-weight: 700; font-size: clamp(17px, 2.2vw, 24px); color: #eaf4f8; text-shadow: 0 2px 0 rgba(4, 12, 20, .9); }
.lede { font-size: clamp(16px, 1.7vw, 19px); color: #dbe6ee; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); margin-bottom: 34px; }
.cta { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

.scroll-hint { position: absolute; bottom: 40px; left: 50%; width: 22px; height: 36px; margin-left: -11px; border: 2px solid rgba(244, 236, 216, .45); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------ 소개 */
.intro { padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); text-align: center; }
.statement { margin: 0 auto 70px; font-family: var(--pixel); font-weight: 700; line-height: 1.3; font-size: clamp(34px, 5.4vw, 66px); }
.statement span { display: block; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.pillar {
  position: relative; padding: 34px 30px 30px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 48, 74, .55), rgba(14, 34, 52, .35)); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(244, 211, 138, .35); }
.pillar h3 { margin: 18px 0 8px; font-family: var(--pixel); font-weight: 700; font-size: 26px; }
.pillar p { margin: 0; }
.porthole-icon {
  width: 80px; height: 80px; display: grid; place-items: center; image-rendering: pixelated;
  background: url("../assets/ui/porthole.png") center / 80px 80px no-repeat, radial-gradient(circle, #1d5a86 0 42%, transparent 43%);
}
.porthole-icon img { width: 39px; height: auto; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .4)); }

/* ------------------------------------------------------------ 기능 공통 */
.feature { padding: clamp(60px, 8vw, 110px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev .copy { order: 0; }
.copy p { font-size: 17.5px; }
.shot, .shot-wide { margin: 0; position: relative; }
.shot img, .shot-wide img { width: 100%; border-radius: var(--r); cursor: zoom-in; transition: transform .6s var(--ease), filter .6s; }
.shot { border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px var(--line2); }
.shot:hover img { transform: scale(1.03); }
.shot-wide { width: min(1680px, 100% - 32px); margin: 0 auto clamp(40px, 6vw, 70px); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px var(--line2); }
.shot-wide img { border-radius: 0; aspect-ratio: 1920 / 900; object-fit: cover; }
.shot-wide:hover img { transform: scale(1.02); }
figcaption { position: absolute; left: 18px; bottom: 18px; }
.tag {
  display: inline-block; padding: 7px 14px; border-radius: 8px; background: rgba(6, 17, 28, .72); backdrop-filter: blur(8px);
  border: 1px solid var(--line2); font-family: var(--pixel); font-weight: 700; font-size: 14px; color: var(--ink);
}
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats li { padding: 26px 18px; border-radius: 16px; text-align: center; background: rgba(14, 34, 52, .6); border: 1px solid var(--line); }
.stats b { display: block; font-family: var(--pixel); font-size: clamp(36px, 4vw, 52px); line-height: 1.1; color: var(--gold); text-shadow: 0 3px 0 rgba(4, 12, 20, .8); }
.stats span { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ 낚시 도감 (둥근 창으로 바다 속을 엿봄) */
.fishing { background: radial-gradient(ellipse 55% 38% at 70% 40%, rgba(30, 90, 140, .22), transparent 70%); }
.dex { margin-top: clamp(50px, 7vw, 90px); padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: linear-gradient(180deg, rgba(14, 34, 52, .75), rgba(8, 22, 36, .6)); border: 1px solid var(--line); }
.dex-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.dex-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--pixel); font-size: 24px; }
.dex-head h3 img { width: 26px; }
.dex-count { margin: 0; font-family: var(--pixel); font-weight: 700; color: var(--muted); }
.dex-count b { font-size: 28px; }
.portholes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.ph { text-align: center; outline: none; }
.ph .glass {
  position: relative; aspect-ratio: 1; margin-bottom: 10px; display: grid; place-items: center; image-rendering: pixelated;
  background: url("../assets/ui/porthole.png") center / 100% 100% no-repeat, radial-gradient(circle at 50% 40%, #2a7fb4 0, #12476e 40%, #0a2a44 55%, transparent 56%);
  transition: transform .35s var(--ease);
}
.ph .glass::after { /* 유리 반짝임 */ content: ""; position: absolute; inset: 14%; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 40%); pointer-events: none; }
.ph .glass img { width: 56%; height: 56%; object-fit: contain; image-rendering: auto; animation: swim 4s ease-in-out infinite; }
.ph:nth-child(2n) .glass img { animation-delay: -1.3s; }
.ph:nth-child(3n) .glass img { animation-delay: -2.6s; }
@keyframes swim { 50% { transform: translate(3px, -4px) rotate(-2deg); } }
.ph b { display: block; font-family: var(--pixel); font-size: 15px; }
.ph span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.ph.unknown .glass { background: url("../assets/ui/porthole.png") center / 100% 100% no-repeat, radial-gradient(circle at 50% 40%, #0f2e48 0, #07192a 55%, transparent 56%); }
.ph.unknown b { color: #6f8196; letter-spacing: .2em; }
.ph.unknown .hint { opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; color: var(--ink2); }
.ph.unknown:hover .hint, .ph.unknown:focus .hint { opacity: 1; transform: none; }
.ph.unknown:hover .glass, .ph.unknown:focus .glass { transform: scale(1.06); }
.ph.legend b { color: #b99650; }
.ph.legend .glass { filter: drop-shadow(0 0 14px rgba(255, 206, 90, .22)); }
.dex-foot { margin: 22px 0 0; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------ 직업 · 스킬 */
.classes { background: radial-gradient(ellipse 50% 32% at 20% 55%, rgba(90, 200, 250, .08), transparent 70%); }
.shot-wide.skill figcaption { left: 22px; bottom: 22px; }
.skill-card {
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 14px;
  background: rgba(6, 17, 28, .75); backdrop-filter: blur(10px); border: 1px solid var(--line2);
}
.skill-card .slot { width: 56px; height: 56px; }
.skill-card .wave { width: 40px; height: 40px; margin-left: -62px; margin-right: 8px; }
.skill-card b { display: block; font-family: var(--pixel); font-size: 18px; }
.skill-card i { font-style: normal; font-size: 13px; color: var(--sea); font-family: var(--pixel); }
.class-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.class-chips li {
  position: relative; overflow: hidden; padding: 22px 22px 20px; border-radius: 16px; background: rgba(14, 34, 52, .65); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s;
}
.class-chips li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.class-chips li::after { content: "?"; position: absolute; right: 16px; top: 10px; font-family: var(--pixel); font-size: 44px; color: var(--c); opacity: .12; }
.class-chips li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.class-chips b { display: block; font-family: var(--pixel); font-size: 24px; color: var(--c); }
.class-chips span { font-size: 14px; color: var(--muted); }

.evolve { margin-top: clamp(50px, 7vw, 90px); }
.evolve-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.evolve-head h3 { margin: 0; font-family: var(--pixel); font-size: 24px; }
.evolve-head p { margin: 0; color: var(--muted); }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: t; }
.tier { text-align: center; }
.tier .stage {
  position: relative; height: 260px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 70%, rgba(90, 200, 250, .12), transparent 65%), rgba(14, 34, 52, .55); border: 1px solid var(--line);
}
.tier .stage img { max-height: 220px; width: auto; transition: transform .5s var(--ease); }
.tier.known .stage { border-color: rgba(244, 211, 138, .4); background: radial-gradient(ellipse at 50% 70%, rgba(244, 211, 138, .16), transparent 65%), rgba(14, 34, 52, .7); }
.tier.known .stage img { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(2deg); } }
.tier.unknown .stage::after { content: "?"; position: absolute; font-family: var(--pixel); font-size: 64px; color: rgba(244, 236, 216, .08); }
.tier.unknown:hover .stage img { transform: scale(1.05); }
.tier b { display: block; font-family: var(--pixel); font-size: 16px; }
.tier.unknown b { color: #6f8196; letter-spacing: .2em; }
.tier span { font-size: 13px; color: var(--muted); }
.tier.c3 .stage { background: radial-gradient(ellipse at 50% 70%, rgba(90, 200, 250, .16), transparent 65%), rgba(14, 34, 52, .55); }
.tier.c4 .stage { background: radial-gradient(ellipse at 50% 70%, rgba(200, 170, 255, .16), transparent 65%), rgba(14, 34, 52, .55); }
.tier.c5 .stage { background: radial-gradient(ellipse at 50% 70%, rgba(255, 206, 90, .2), transparent 65%), rgba(14, 34, 52, .55); }

/* ------------------------------------------------------------ 수평선 너머 (안개) */
.beyond {
  padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, #0b2438 40%, #0d2a40 60%, var(--bg) 100%);
}
.fog { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.fog i {
  position: absolute; width: 140%; height: 60%; left: -20%; border-radius: 50%; filter: blur(40px); opacity: .5;
  background: radial-gradient(ellipse at center, rgba(180, 210, 230, .22), transparent 65%); animation: drift 26s ease-in-out infinite alternate;
}
.fog i:nth-child(1) { top: 10%; }
.fog i:nth-child(2) { top: 40%; animation-duration: 34s; animation-direction: alternate-reverse; opacity: .4; }
.fog i:nth-child(3) { top: 62%; animation-duration: 40s; opacity: .35; }
@keyframes drift { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.sail { position: absolute; width: 128px; height: 128px; top: 58%; left: -140px; opacity: .55; filter: brightness(.7) blur(.3px); animation: sail 38s linear infinite; }
@keyframes sail { from { transform: translateX(0) translateY(0); } 50% { transform: translateX(60vw) translateY(-6px); } to { transform: translateX(calc(100vw + 280px)) translateY(0); } }
.compass { width: 52px; height: 52px; margin: 0 auto 22px; animation: spin 14s linear infinite; filter: drop-shadow(0 0 12px rgba(244, 211, 138, .5)); }
@keyframes spin { to { transform: rotate(360deg); } }
.beyond p { font-size: 18px; }
.soon { margin-top: 34px; }
.soon span {
  display: inline-block; padding: 10px 22px; border-radius: 999px; border: 1px dashed rgba(244, 211, 138, .55);
  font-family: var(--pixel); font-weight: 700; color: var(--gold); letter-spacing: .1em; animation: glow 3s ease-in-out infinite;
}
@keyframes glow { 50% { box-shadow: 0 0 24px rgba(244, 211, 138, .25); } }

/* ------------------------------------------------------------ 로드맵 (항로) */
.roadmap { padding: clamp(80px, 10vw, 130px) 0; }
.route { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); position: relative; }
.route::before { content: ""; position: absolute; top: 11px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, rgba(244, 236, 216, .25) 0 8px, transparent 8px 16px); }
.route li { position: relative; text-align: center; padding: 0 6px; }
.route i { position: relative; display: block; width: 24px; height: 24px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(244, 236, 216, .3); }
.route .done i { background: var(--gold2); border-color: var(--gold); }
.route .done i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #2a1804; }
.route .now i { background: var(--sea); border-color: #bfeaff; box-shadow: 0 0 0 6px rgba(90, 200, 250, .18); animation: ping2 2s infinite; }
@keyframes ping2 { 0% { box-shadow: 0 0 0 0 rgba(90, 200, 250, .5); } 100% { box-shadow: 0 0 0 14px rgba(90, 200, 250, 0); } }
.route b { display: block; font-family: var(--pixel); font-size: 16px; line-height: 1.4; }
.route span { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.route em { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 700; color: #06243a; background: var(--sea); }
.route li:not(.done):not(.now) b { color: var(--ink2); }
.route .final b { color: var(--gold); }

/* ------------------------------------------------------------ 다운로드 */
.download { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(ellipse 50% 34% at 50% 40%, rgba(244, 211, 138, .07), transparent 70%); }
.download .sub { font-size: 18px; margin-bottom: 40px; }
.dl-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: stretch; }
.dl-card {
  display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 20px;
  background: rgba(14, 34, 52, .6); border: 1px solid var(--line);
}
.dl-card.main {
  border: 18px solid transparent; border-image: url("../assets/ui/dialog_panel.png") 12 fill / 36px stretch; image-rendering: pixelated;
  padding: 16px 20px; border-radius: 0; background: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.dl-top { display: flex; align-items: center; gap: 16px; }
.dl-top img { width: 52px; height: 52px; flex: none; }
.dl-card h3 { margin: 0; font-family: var(--pixel); font-size: 22px; line-height: 1.3; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.meta span { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: rgba(244, 236, 216, .07); color: var(--ink2); border: 1px solid var(--line); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.checks li { position: relative; padding-left: 30px; color: var(--ink2); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 5px; background: rgba(88, 224, 160, .16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2358e0a0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/13px no-repeat; }
.checks.muted li::before { background: rgba(143, 160, 178, .14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='2.2' fill='%238fa0b2'/></svg>") center/13px no-repeat; }
.steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { display: flex; gap: 16px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 26, 42, .6); }
.steps li > b { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(244, 211, 138, .14); color: var(--gold); font-family: var(--pixel); font-size: 20px; }
.steps h4 { margin: 4px 0 6px; font-family: var(--pixel); font-size: 18px; }
.steps p { margin: 0; font-size: 15px; }
.server-row { margin-top: 26px; }
.server-row .note { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 20px; border-radius: 14px; font-size: 15px; color: var(--ink2); background: rgba(90, 200, 250, .06); border: 1px solid rgba(90, 200, 250, .18); }
.server-row .note img { width: 26px; height: 26px; flex: none; }

/* ------------------------------------------------------------ 자주 묻는 것 */
.faq { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-size: 18px; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--pixel); font-size: 24px; color: var(--gold); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 22px; margin: 0; }

/* ------------------------------------------------------------ 아래 */
.foot { padding: 50px 0 70px; border-top: 1px solid var(--line); background: #040c14; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 26px; height: 26px; }
.foot-brand b { font-family: var(--pixel); font-size: 18px; }
.foot-brand span { font-size: 13px; color: var(--muted); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); }
.foot p { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; }
.foot .credit { opacity: .7; }

/* ------------------------------------------------------------ 크게 보기 */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(2, 8, 14, .92); backdrop-filter: blur(6px); padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1920px, 100%); max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: pop .35s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.lightbox button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(6, 17, 28, .7); color: var(--ink); font-size: 26px; cursor: pointer; }

/* ------------------------------------------------------------ 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.pillars .reveal:nth-child(2), .steps.reveal li:nth-child(2) { transition-delay: .12s; }
.pillars .reveal:nth-child(3) { transition-delay: .24s; }
.statement.reveal span { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.statement.reveal.in span { opacity: 1; transform: none; }
.statement.reveal.in span:nth-child(2) { transition-delay: .15s; }
.statement.reveal.in span:nth-child(3) { transition-delay: .3s; }

/* ------------------------------------------------------------ 좁은 화면 */
@media (max-width: 1080px) {
  .portholes { grid-template-columns: repeat(4, 1fr); }
  .route { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .route::before { display: none; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .split { grid-template-columns: 1fr; }
  .split.rev .shot { order: -1; }
  .pillars, .dl-grid, .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(5, 150px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .tier { scroll-snap-align: start; }
  .shot-wide img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-inner { padding: 110px 16px 170px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats li { padding: 18px 8px; }
  .portholes { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .class-chips { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: repeat(2, 1fr); }
  .scroll-hint { display: none; }
  .sail { top: 86%; width: 80px; height: 80px; }
  .btn-lg { font-size: 19px; }
  .dl-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .statement.reveal span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 560px) {
  .hero-bg img { object-position: 18% 50%; }
  .dl-top { align-items: flex-start; }
  .dl-top img { width: 40px; height: 40px; margin-top: 4px; }
  .dl-card.main { padding: 12px 10px; }
}
.dl-grid.single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.download > .wrap > .eyebrow, .download > .wrap > .h2, .download .sub { text-align: center; }
.download > .wrap > .eyebrow { display: flex; justify-content: center; }
/* 출시 전: 봉인된 다운로드 */
.dl-card.sealed { position: relative; }
.dl-card.sealed .seal { position: absolute; top: -26px; right: -20px; width: 72px; height: 72px; transform: rotate(14deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); animation: sealbob 4s ease-in-out infinite; }
@keyframes sealbob { 50% { transform: rotate(8deg) translateY(-3px); } }
.btn.locked { cursor: not-allowed; border-image-source: url("../assets/ui/btn_off.png"); color: #e8e0d0; text-shadow: none; filter: none; }
.btn.locked:hover { transform: none; border-image-source: url("../assets/ui/btn_off.png"); filter: none; }
.btn.locked img { width: 26px; height: 26px; filter: none; }
@media (max-width: 560px) { .dl-card.sealed .seal { width: 52px; height: 52px; top: -22px; right: -12px; } .dl-card.sealed h3 { padding-right: 34px; } }
