/* ================================================================
   무황 (Muhwang) — 공식 다운로드 사이트 (PC 런처 + Google Play + App Store)
   다크 / 금색 / 묵직한 무림 톤
   ================================================================ */

:root {
  --bg: #0a0607;
  --surface: rgba(255, 255, 255, 0.04);
  --card: rgba(8, 4, 6, 0.84);
  --border: rgba(212, 168, 74, 0.18);
  --border-strong: rgba(212, 168, 74, 0.38);
  --text: #ebe3d1;
  --text-strong: #ffffff;
  --muted: #8a7b60;
  --dim: #5a4f3f;
  --gold: #d4a84a;
  --gold-bright: #f5d26e;
  --gold-dim: #7a6035;
  --gold-ink: #1a0f05;
  --max: 1160px;
}

* { box-sizing: border-box; }

img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

html { background: var(--bg); scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', serif;
  font-weight: 500;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body { background: transparent; }

h1, h2, h3, h4,
.brand-name, .hero-eyebrow, .section-tag, .feature-num, .step-num,
.btn-pc b, .req-col h4, .world-punch {
  font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif;
}

a { color: inherit; text-decoration: none; }

section[id] { scroll-margin-top: 72px; }

/* 전체 배경 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('bg.jpg') center top/cover no-repeat;
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center 35%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 70%, rgba(10,6,7,0.92) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(10,6,7,0.88) 100%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- 네비 -------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  background: rgba(10, 6, 7, 0.74);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(212, 168, 74, 0.25);
}
.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-strong);
  letter-spacing: 0.15em;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-bright); }

/* -------------------- 히어로 -------------------- */
.hero {
  padding: 64px 0 24px;
  text-align: center;
}
.hero-title {
  display: block;
  width: min(46vw, 400px);
  height: auto;
  margin: 0 auto -6px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.7));
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  padding: 7px 18px;
  border: 1px solid var(--border-strong);
  margin: 4px 0 22px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--text-strong);
}
.hero-accent {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--muted);
  margin: 0 0 40px;
  font-size: 1.02rem;
}

/* -------------------- 다운로드 패널 -------------------- */
.dl {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  text-align: left;
}
.panel {
  position: relative;
  padding: 30px 30px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel::before, .panel::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
}
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel.is-mine {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 18px 50px rgba(0, 0, 0, 0.5);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.panel-head svg { width: 26px; height: 26px; fill: var(--text-strong); flex: none; }
.panel-head h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-strong);
}
.badge-mine {
  display: none;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: 'Pretendard', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.is-mine .badge-mine { display: inline-block; }
.panel-desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* PC 다운로드 버튼 */
.btn-pc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--gold-ink);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 8px 26px rgba(212, 168, 74, 0.25);
  transition: all 0.25s;
}
.btn-pc:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 168, 74, 0.4);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
}
.btn-pc svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.btn-pc b {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.btn-pc small {
  display: block;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.78rem;
  color: rgba(26, 15, 5, 0.7);
}
.btn-arrow { margin-left: auto; font-size: 1.3rem; }
.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}
.panel-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.82rem;
}
.panel-links a { border-bottom: 1px solid var(--border-strong); transition: color 0.2s; }
.panel-links a:hover { color: var(--gold-bright); }

/* 스토어 버튼 */
.stores { display: grid; gap: 12px; }
.btn-store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-store:hover { border-color: #fff; transform: translateY(-1px); }
.btn-store svg { width: 28px; height: 28px; flex: none; }
.btn-store small {
  display: block;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.68rem;
  opacity: 0.75;
  line-height: 1.2;
}
.btn-store b {
  display: block;
  font-family: 'Pretendard', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}
.btn-store.is-mine { border-color: var(--gold-bright); box-shadow: 0 0 0 2px var(--gold-dim); }

/* 준비 중 팝업 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal-box {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 36px 30px 28px;
  text-align: center;
  background: #120b0d;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  animation: modal-in 0.2s ease-out;
}
.modal-box::before, .modal-box::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
}
.modal-box::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.modal-box::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.modal-tag {
  display: block;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
}
.modal-box h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-strong);
}
.modal-box p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.modal-close {
  min-width: 140px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--gold-ink);
  border: 1px solid var(--gold-bright);
  font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.modal-close:hover { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.qr img {
  width: 88px;
  height: 88px;
  padding: 4px;
  background: #fff;
  flex: none;
}
.qr p {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.qr p b { color: var(--text-strong); font-weight: 600; }

/* -------------------- 섹션 공통 -------------------- */
.section { padding: 110px 0 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-strong);
}
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto 0;
}
.section-lead {
  margin: 28px 0 0;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
}
.section-lead em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-bright);
}

/* -------------------- 무황이란 (특징 쇼케이스) -------------------- */
.section-lead { font-size: clamp(1.15rem, 2vw, 1.45rem); }

.showcase { position: relative; }
.showcase-stage {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 16 / 7.4;
  min-height: 420px;
  overflow: hidden;
  background: #000;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.slide.is-active img { transform: scale(1); }
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,6,7,0.95) 0%, rgba(10,6,7,0.82) 34%, rgba(10,6,7,0.25) 62%, rgba(10,6,7,0.05) 100%),
    linear-gradient(to top, rgba(10,6,7,0.9) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(10,6,7,0.6) 0%, transparent 18%);
}
.slide-copy {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100% - var(--max)) / 2 + 24px));
  bottom: 14%;
  max-width: 440px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s 0.25s, transform 0.6s 0.25s;
}
.slide.is-active .slide-copy { opacity: 1; transform: none; }
.slide-num {
  display: block;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.7;
  margin-bottom: 6px;
}
.slide-kicker {
  display: inline-block;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold-bright);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-dim);
  margin-bottom: 18px;
}
.slide-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-strong);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}
.slide-copy p {
  margin: 0;
  color: var(--text);
  opacity: 0.85;
  font-size: 0.98rem;
  line-height: 1.8;
}
.showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 6, 7, 0.55);
  color: var(--gold-bright);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.showcase-arrow:hover { background: rgba(212, 168, 74, 0.2); border-color: var(--gold); }
.showcase-arrow.prev { left: 20px; }
.showcase-arrow.next { right: 20px; }

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: -54px;
  position: relative;
  z-index: 3;
}
.tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(10, 6, 7, 0.9);
  border: 1px solid var(--border);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s;
}
.tab img {
  width: 76px;
  height: 44px;
  object-fit: cover;
  flex: none;
  filter: grayscale(0.8) brightness(0.6);
  transition: filter 0.25s;
}
.tab span {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}
.tab i {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
}
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab:hover img { filter: none; }
.tab.is-active { color: var(--text-strong); border-color: var(--gold); }
.tab.is-active img { filter: none; }
.tab.is-active i { color: var(--gold); }
.tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
}
.tab.is-active .tab-bar { animation: tab-progress var(--slide-ms, 6000ms) linear forwards; }
.showcase.is-paused .tab.is-active .tab-bar { animation-play-state: paused; }
@keyframes tab-progress { from { width: 0; } to { width: 100%; } }

/* -------------------- 이야기 -------------------- */
.world {
  position: relative;
  margin-top: 110px;
  padding: 90px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.world {
  isolation: isolate;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.world-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 20%;
  z-index: -1;
}
.world::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,6,7,1) 0%, rgba(10,6,7,0.97) 26%, rgba(10,6,7,0.55) 46%, rgba(10,6,7,0) 66%),
    linear-gradient(to top, rgba(10,6,7,0.7) 0%, transparent 25%);
  z-index: -1;
}
.world-inner { width: 100%; }
.world-text { max-width: 500px; }
.world-text h2 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-strong);
}
.world-text blockquote {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-strong);
}
.world-text p { margin: 0 0 26px; color: var(--muted); font-size: 0.95rem; }
.world-text p b { color: var(--text-strong); }
.world-punch {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--gold-bright);
}

/* -------------------- 설치 안내 -------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--border);
}
.step-num { font-size: 0.8rem; letter-spacing: 0.3em; color: var(--gold); }
.step h4 { margin: 8px 0; font-size: 1.1rem; color: var(--text-strong); }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* -------------------- 사양 -------------------- */
.req-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.req-tabs button {
  padding: 9px 26px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-family: 'Pretendard', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.req-tabs button:hover { color: var(--gold-bright); }
.req-tabs button.on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.req-grid[hidden] { display: none; }
.req-col {
  padding: 30px 30px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.req-col h4 {
  margin: 0 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 700;
}
.req-col ul { list-style: none; padding: 0; margin: 0; }
.req-col li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.req-col li:first-child { border-top: none; }
.req-key { color: var(--muted); font-size: 0.84rem; white-space: nowrap; }
.req-val { color: var(--text-strong); text-align: right; }

/* -------------------- 하단 CTA -------------------- */
.cta-bottom {
  margin-top: 110px;
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, transparent, rgba(212, 168, 74, 0.04));
}
.cta-bottom h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: var(--text-strong);
}
.cta-bottom p { margin: 0 0 32px; color: var(--muted); font-size: 1.02rem; }
.cta-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-pc-sm { padding: 14px 24px; text-align: left; }
.cta-row .btn-store { padding: 10px 20px; text-align: left; }

/* -------------------- 푸터 -------------------- */
.footer {
  padding: 44px 0 18px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
}
.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.footer-sep { color: var(--dim); }
.footer-line a { transition: color 0.2s; }
.footer-line a:hover { color: var(--gold); }
.footer-sub, .footer-address { color: var(--dim); font-size: 0.76rem; }
.footer-logo {
  display: block;
  margin: 14px auto 0;
  height: 76px;
  width: auto;
  filter: invert(1) brightness(0.8);
  opacity: 0.45;
}

/* -------------------- 게임이용등급 -------------------- */
.rating-trigger {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
.rating-trigger:hover { color: var(--gold); }
.rating-wrap {
  position: relative;
  display: inline-block;
}
.rating-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: rgba(14, 10, 14, 0.98);
  color: var(--text);
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6);
  padding: 14px 14px 12px;
  width: 720px;
  max-width: calc(100vw - 32px);
  font-size: 12px;
}
.rating-popup[hidden] { display: none; }
.rating-popup::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(14, 10, 14, 0.98);
}
.rating-body {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.rating-table {
  flex: 1;
  border-collapse: collapse;
  font-size: 11.5px;
  line-height: 1.4;
  font-family: 'Pretendard', sans-serif;
}
.rating-table th,
.rating-table td {
  padding: 6px 10px;
  border: 1px solid rgba(212, 168, 74, 0.25);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.rating-table th {
  background: rgba(122, 96, 53, 0.6);
  color: var(--text-strong);
  font-weight: 700;
  width: 1%;
  letter-spacing: -0.01em;
}
.rating-table td {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.rating-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: stretch;
}
.rating-badge-img {
  height: auto;
  width: 68px;
  display: block;
  flex-shrink: 0;
  align-self: stretch;
  object-fit: contain;
}
@media (max-width: 760px) {
  .rating-popup {
    width: calc(100vw - 32px);
  }
  .rating-body { flex-direction: column; }
  .rating-table th, .rating-table td { white-space: normal; }
  .rating-badges { justify-content: center; }
  .rating-badge-img { width: 76px; align-self: auto; }
}

/* -------------------- 반응형 -------------------- */
@media (max-width: 860px) {
  .dl, .req-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  /* 쇼케이스: 화면 위·글 아래로, 탭은 2x2 */
  .showcase-stage { aspect-ratio: auto; min-height: 0; overflow: visible; border: 0; background: transparent; }
  .slide { position: relative; display: none; }
  .slide.is-active { display: block; }
  .slide img { position: relative; height: auto; aspect-ratio: 16 / 9; transform: none; }
  .slide::after { display: none; }
  .slide-copy {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    padding: 18px 24px 0;
  }
  .slide-num { font-size: 2.6rem; }
  .showcase-arrow { top: 28vw; margin-top: -20px; width: 40px; height: 40px; font-size: 1.3rem; }
  .showcase-arrow.prev { left: 10px; }
  .showcase-arrow.next { right: 10px; }
  .showcase-tabs { grid-template-columns: repeat(5, 1fr); margin-top: 22px; gap: 6px; }
  .tab { flex-direction: column; align-items: stretch; gap: 6px; padding: 6px; }
  .tab img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .tab span { font-size: 0.8rem; text-align: center; }
  .nav-links { gap: 18px; }
  .section { padding-top: 80px; }
  /* 이야기: 키아트를 위에, 글은 아래로 */
  .world { display: block; min-height: 0; margin-top: 80px; padding: 0 0 56px; }
  .world-bg { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: 60% 20%; }
  .world::after { background: linear-gradient(to top, rgba(10,6,7,1) 0%, rgba(10,6,7,0.95) calc(100% - 56vw), transparent calc(100% - 30vw)); }
  .world-text { max-width: none; margin-top: -40px; position: relative; }
  .cta-bottom { margin-top: 80px; padding: 64px 0; }
  /* 모바일 접속이면 스토어 칸을 먼저 */
  body.is-mobile .panel-mo { order: -1; }
}

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-inner { height: 60px; }
  .hero { padding-top: 40px; }
  .hero-title { width: 64vw; }
  .panel { padding: 24px 18px; }
  .btn-pc { padding: 18px 18px; }
  .cta-row > a { width: 100%; justify-content: center; }
  .req-col { padding: 22px 18px; }
  .slide-copy { padding: 16px 16px 0; }
  .showcase-arrow { top: 28vw; }
  .tab img { display: none; }
  .tab { padding: 8px 2px; }
  .tab span { font-size: 0.74rem; }
  .tab i { font-size: 0.62rem; letter-spacing: 0.1em; }
  .req-col li { flex-direction: column; gap: 2px; }
  .req-val { text-align: left; }
}

/* -------------------- Install 안내 페이지 -------------------- */
.install-page {
  padding-top: 40px;
  padding-bottom: 80px;
}
.install-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.install-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-strong);
  margin: 12px 0 0;
  letter-spacing: -0.02em;
  font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif;
}
.install-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 28px 0 0;
}
.install-lead strong { color: var(--gold); font-weight: 700; }

.install-steps {
  padding: 40px 0 60px;
}
.install-steps .step {
  background: rgba(8, 4, 6, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 40px 36px;
  margin-bottom: 36px;
  text-align: left;
  display: block;
}
.install-steps .step-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 14px;
}
.install-steps .step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Nanum Myeongjo', serif;
  letter-spacing: 0.02em;
  background: none;
  -webkit-text-fill-color: var(--gold);
}
.install-steps .step h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.01em;
}
.install-steps .step-desc {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 28px;
}
.install-steps .step-desc strong {
  color: var(--gold-bright);
  font-weight: 700;
}
.step-figure {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.step-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.arrow {
  position: absolute;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arrow svg {
  width: 120px;
  height: 80px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}
.arrow-label {
  position: absolute;
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  background: rgba(10, 6, 7, 0.9);
  padding: 4px 10px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  white-space: nowrap;
  font-family: 'Nanum Myeongjo', serif;
}
.arrow-step1 {
  top: -16px;
  right: -100px;
}
.arrow-step1 .arrow-label {
  top: -4px;
  right: -8px;
}
.arrow-step2 {
  top: -16px;
  left: -100px;
}
.arrow-step2 .arrow-label {
  top: -4px;
  left: -8px;
}

.install-note {
  padding: 40px 0 20px;
}
.note-card {
  background: rgba(212, 168, 74, 0.05);
  border: 1px solid var(--border-strong);
  padding: 32px 28px;
  margin-bottom: 40px;
}
.note-card h3 {
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.note-card p {
  color: var(--text);
  line-height: 1.85;
  margin: 0 0 10px;
}
.note-card p strong {
  color: var(--gold-bright);
  font-weight: 700;
}
.note-sub {
  color: var(--muted) !important;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 16px !important;
}
.install-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 820px) {
  .install-steps .step { padding: 28px 22px; }
  .install-steps .step-num { font-size: 1.6rem; }
  .install-steps .step h2 { font-size: 1.25rem; }
  .arrow { display: none; }
  .step-figure { max-width: 100%; }
}
