/* ZeroVault Games — shared site styles (studio + game pages) */
:root {
  --bg: #07090c;
  --bg-2: #0b0f14;
  --panel: #10161c;
  --panel-2: #141c23;
  --line: rgba(220, 235, 245, .09);
  --line-strong: rgba(220, 235, 245, .18);
  --ink: #eef2f4;
  --muted: #a3afb7;
  --dim: #6b7880;
  --ember: #ff6b3d;
  --ember-deep: #e2501f;
  --teal: #33e4d2;
  --display: 'Barlow Condensed', 'Noto Sans KR', 'Arial Narrow', sans-serif;
  --body: 'Be Vietnam Pro', 'Noto Sans KR', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: .01em; text-transform: uppercase; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: #fff; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ember); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(7, 9, 12, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .32em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang-switch button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dim); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 107, 61, .7); }
.btn-primary:hover { background: var(--ember-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 620px; }
.accent { color: var(--ember); }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 5.5vw, 68px); }
.section-head .lead { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 64px) 0 72px; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7, 9, 12, .65) 0%, rgba(7, 9, 12, .15) 30%, rgba(7, 9, 12, .55) 62%, var(--bg) 100%),
  linear-gradient(90deg, rgba(7, 9, 12, .82) 0%, rgba(7, 9, 12, .25) 60%, rgba(7, 9, 12, 0) 100%); }
.hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(52px, 8.4vw, 112px); margin-bottom: 24px; }
.hero .lead { color: #c9d2d8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); }
.hero-meta b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.game-title { font-size: clamp(64px, 11vw, 148px) !important; letter-spacing: .04em !important; line-height: .9 !important; }
.game-title span { display: block; font-size: max(.24em, 18px); letter-spacing: .28em; color: var(--muted); margin-top: 14px; font-weight: 600; line-height: 1.2; }

.featured-pill { position: absolute; right: max(24px, calc((100% - 1200px) / 2)); bottom: 72px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; background: rgba(16, 22, 28, .78); border: 1px solid var(--line-strong); border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 320px; transition: border-color .2s; }
.featured-pill:hover { border-color: var(--ember); }
.featured-pill img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.featured-pill small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.featured-pill strong { font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 32px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 52px); font-weight: 800; line-height: 1; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Games ---------- */
.games-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.game-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.game-card:hover { border-color: var(--line-strong); }
.game-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.game-card:hover .game-card-media img { transform: scale(1.03); }
.game-card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.game-card h3 { font-size: 40px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag-live { border-color: rgba(51, 228, 210, .45); color: var(--teal); }
.game-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.games-side { display: grid; gap: 20px; }
.game-card.is-upcoming { border-style: dashed; justify-content: center; align-items: flex-start; padding: 28px; min-height: 200px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .015) 14px 28px), var(--panel); }
.game-card.is-upcoming h3 { font-size: 30px; color: var(--muted); margin: 12px 0 8px; }
.game-card.is-upcoming p { color: var(--dim); font-size: 14px; }
.code-name { font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--dim); text-transform: uppercase; }

/* ---------- Pillars / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { font-size: clamp(40px, 5.2vw, 64px); margin-bottom: 24px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.claude-sub { font-size: 24px; margin: 0 0 12px; }
.prose + .claude-sub { margin-top: 32px; }
.claude-roadmap { margin: 14px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.claude-roadmap strong { color: var(--ink); font-weight: 600; }
.card-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 26px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(51, 228, 210, .08); border: 1px solid rgba(51, 228, 210, .22); color: var(--teal); }
.icon svg { width: 24px; height: 24px; }
.icon.is-ember { background: rgba(255, 107, 61, .08); border-color: rgba(255, 107, 61, .28); color: var(--ember); }
.pillars { display: grid; gap: 14px; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar h3 { font-size: 22px; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line-strong); }
.milestone { position: relative; padding: 28px 24px 0 0; }
.milestone::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--teal); }
.milestone.is-next::before { border-color: var(--dim); border-style: dashed; }
.milestone time { font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: var(--teal); font-weight: 700; text-transform: uppercase; }
.milestone.is-next time { color: var(--dim); }
.milestone h3 { font-size: 24px; margin: 8px 0 6px; }
.milestone p { color: var(--muted); font-size: 15px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member-photo { aspect-ratio: 1; background: radial-gradient(circle at 50% 38%, #1b252e 0 30%, #11181e 31% 100%); display: grid; place-items: center; color: var(--dim); }
.member-photo svg { width: 44%; height: 44%; opacity: .55; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-body { padding: 18px 20px 22px; }
.member-body h3 { font-size: 22px; letter-spacing: .03em; }
.member-body p { font-size: 14px; color: var(--teal); font-weight: 600; margin-top: 4px; }
.member.is-join { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-style: dashed; background: transparent; }
.member.is-join h3 { font-size: 26px; margin-bottom: 8px; }
.member.is-join p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---------- Placeholders (content the studio fills in later) ---------- */
.ph { color: var(--dim); font-style: italic; }
.ph-box { display: grid; place-items: center; align-content: center; text-align: center; gap: 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .018) 14px 28px), var(--panel); color: var(--dim); padding: 24px; font-size: 14px; }
.ph-box svg { width: 36px; height: 36px; opacity: .6; }

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.facts dt { color: var(--muted); padding-right: 32px; }
.facts dd { font-weight: 500; }
.press-assets { display: flex; flex-direction: column; gap: 14px; }
.press-assets ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.press-assets li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.press-assets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(40px, 6vw, 72px); background: radial-gradient(120% 140% at 100% 0%, rgba(255, 107, 61, .22), transparent 55%), radial-gradient(100% 120% at 0% 100%, rgba(51, 228, 210, .14), transparent 55%), var(--panel); border: 1px solid var(--line-strong); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 16px; }
.social-list { display: grid; gap: 10px; }
.social-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(7, 9, 12, .4); font-weight: 600; transition: border-color .2s, background .2s; }
.social-link:hover { border-color: var(--ink); background: rgba(7, 9, 12, .7); }
.social-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.social-link small { margin-left: auto; color: var(--dim); font-weight: 500; font-size: 13px; }
.social-link.is-pending { border-style: dashed; color: var(--dim); pointer-events: none; }

/* ---------- Game page: units, media, downloads ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.unit { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s; }
.unit:hover { border-color: var(--line-strong); }
.unit-media { aspect-ratio: 4 / 3; overflow: hidden; }
.unit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.unit:hover .unit-media img { transform: scale(1.04); }
.unit-body { padding: 18px 22px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.unit-body h3 { font-size: 26px; }
.unit-body span { font-size: 13px; color: var(--muted); text-align: right; }
.unit-note { margin-top: 18px; font-size: 13px; color: var(--dim); }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-grid > * { min-width: 0; }
.trailer { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.trailer video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.trailer-play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; border: 0; cursor: pointer; background: radial-gradient(circle at center, rgba(7, 9, 12, .15), rgba(7, 9, 12, .55)); color: var(--ink); transition: opacity .25s; }
.trailer-play .play-btn { width: 92px; height: 92px; background: var(--ember); border-color: var(--ember); color: #fff; box-shadow: 0 18px 50px -12px rgba(255, 107, 61, .8); transition: transform .2s; }
.trailer-play .play-btn svg { width: 34px; height: 34px; }
.trailer-play:hover .play-btn { transform: scale(1.06); }
.trailer-label { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.trailer.is-playing .trailer-play { opacity: 0; pointer-events: none; }
.shot { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.04); }
.media-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.media-shot { aspect-ratio: 16 / 9; }
.play-btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 107, 61, .15); border: 1px solid rgba(255, 107, 61, .5); color: var(--ember); }
.play-btn svg { width: 28px; height: 28px; opacity: 1; margin-left: 4px; }
.media-main strong { color: var(--ink); font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .04em; font-style: normal; }

.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.download-head { display: flex; align-items: center; gap: 16px; }
.platform-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-strong); }
.platform-icon svg { width: 28px; height: 28px; }
.download-head h3 { font-size: 30px; }
.download-head small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { text-align: right; font-weight: 500; }
.download .btn { align-self: flex-start; }
.install-note { font-size: 13.5px; color: var(--muted); padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
details.checksum { font-size: 13px; color: var(--dim); }
details.checksum summary { cursor: pointer; color: var(--muted); }
details.checksum code { display: block; margin-top: 8px; word-break: break-all; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 12px; color: var(--muted); background: var(--bg); padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); }
.build-status { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 22px; border-radius: 12px; border: 1px solid rgba(255, 107, 61, .3); background: rgba(255, 107, 61, .06); font-size: 15px; color: #e6d6cf; }
.build-status svg { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin-top: -4px; }

/* ---------- Legal page ---------- */
.legal { padding: calc(var(--header-h) + 72px) 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 12px; }
.legal h2 { font-size: 28px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .draft-note { margin: 28px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-about p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 340px; }
.footer-col h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: color .2s, border-color .2s; }
.footer-social a:hover { color: var(--ink); border-color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; }

/* Public activity log: device/time/short UA only, never IP. */
.activity-panel { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); padding: 18px; }
.activity-summary { margin-bottom: 12px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.activity-list { display: grid; max-height: 390px; overflow: auto; }
.activity-row { display: grid; grid-template-columns: 170px 92px 110px 120px minmax(180px,1fr); align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid rgba(119,155,155,.16); font-size: 12px; }
.activity-row:last-child { border-bottom: 0; }
.activity-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.activity-action { color: var(--dim); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.activity-action.is-download { color: var(--teal); }
.activity-device, .activity-target, .activity-ua { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-device { color: var(--ink); }
.activity-target { color: var(--muted); text-align: right; }
.activity-ua { color: var(--dim); font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.activity-empty { margin: 0; padding: 22px 0; color: var(--dim); text-align: center; }
.activity-disclaimer { margin: 16px 0 0; color: var(--dim); font-size: 11px; line-height: 1.5; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px 24px 24px; background: rgba(7, 9, 12, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .games-grid, .split, .press-grid, .cta-band, .download-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-pill { display: none; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 6px; }
  .milestone { padding: 0 0 32px 28px; }
  .milestone::before { top: 6px; left: -6px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-grid, .unit-grid, .media-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 48px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .activity-row { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 0; }
  .activity-target { grid-column: 2; grid-row: 1; text-align: left; }
  .activity-device { grid-column: 1; grid-row: 2; }
  .activity-ua { grid-column: 1 / -1; grid-row: 3; }
  .download { padding: 24px; }
}

/* ---------- Team cards ---------- */
.monogram { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 72px); letter-spacing: .06em; color: var(--ink); background: linear-gradient(135deg, var(--teal), var(--ember)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.member:nth-child(even) .monogram { background-image: linear-gradient(135deg, var(--ember), var(--teal)); }
.member-body { display: grid; gap: 4px; }
.member-role { font-size: 14px; color: var(--teal); font-weight: 600; margin: 4px 0 0; }
.member-bio { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.member-country { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.member-country b { font-family: var(--display); letter-spacing: .12em; font-size: 12px; padding: 2px 7px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); }

/* ---------- Korean typography: no uppercase, no letter-spacing, looser leading ---------- */
:lang(ko) body, html:lang(ko) body { word-break: keep-all; line-height: 1.75; }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3, html:lang(ko) .brand-name, html:lang(ko) .eyebrow,
html:lang(ko) .stat b, html:lang(ko) .trailer-label, html:lang(ko) .code-name, html:lang(ko) .milestone time { text-transform: none; letter-spacing: 0; font-family: 'Noto Sans KR', var(--display); }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3 { line-height: 1.2; font-weight: 900; }
html:lang(ko) .hero h1 { font-size: clamp(44px, 7vw, 92px); }
html:lang(ko) .game-title { letter-spacing: .04em; }
html:lang(ko) .eyebrow { font-weight: 700; letter-spacing: .08em; }
html:lang(ko) .btn { letter-spacing: 0; }
html:lang(ko) .brand-name { font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; }
html:lang(ko) .game-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; line-height: .9; font-weight: 800; }
html:lang(ko) .game-title span { font-family: 'Noto Sans KR', var(--display); text-transform: none; letter-spacing: .04em; font-weight: 700; }

.nw { white-space: nowrap; }
@media (max-width: 720px) { .member-body h3 { font-size: 19px; line-height: 1.15; } .member-body { padding: 0; } }
