/* Strike Zero — 게임 HUD 팔레트(고정 다크).
   근거: 인게임 HUD 반투명 패널(#0D121A · 88%, 반경 12px), 아군·주 버튼 청록 #2EC4B6,
   앱 아이콘 바탕·적 팀 주황 #FF8C42, 아이콘 글리프 잉크 #16202A, 경고 빨강 #E63946, 킬 배지 노랑 #FFD166. */
:root {
  color-scheme: dark;
  --bg: #080c12;
  --bg-deep: #05080c;
  --ink: #eef3f7;
  --muted: #9aa8b6;
  --accent: #2ec4b6;
  --accent-strong: #25a89c;
  --enemy: #ff8c42;
  --glyph: #16202a;
  --warn: #e63946;
  --badge: #ffd166;
  --surface: rgba(13, 18, 26, 0.88);
  --surface-soft: rgba(22, 32, 42, 0.72);
  --line: rgba(238, 243, 247, 0.12);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgba(8, 12, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.wordmark { font-weight: 900; font-size: 1.05rem; letter-spacing: 0.08em; white-space: nowrap; }
.wordmark span { color: var(--enemy); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-soft); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }
section { padding: 48px 0 8px; }

/* 히어로 — 실제 인게임 화면 위에 HUD 패널 */
.hero {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0) 30%, rgba(5, 8, 12, 0.7) 100%);
}
.hero-copy {
  position: relative; z-index: 1;
  margin: 20px; padding: 24px;
  max-width: 560px;
  background: var(--surface);
  border-radius: var(--radius);
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: 0.04em; margin-bottom: 0.25em; }
.hero h1 span { color: var(--enemy); }
.hero .lead { color: var(--muted); margin: 0 0 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--badge); color: var(--glyph);
  font-weight: 800; font-size: 0.85rem;
  padding: 3px 12px; border-radius: 6px;
  white-space: nowrap;
}
.badge-team { background: var(--accent); }
.badge-enemy { background: var(--enemy); }
.badge-warn { background: var(--warn); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 12px 20px; border-radius: 10px; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--glyph); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: var(--surface-soft); }

.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 10px; }
.section-lead { color: var(--muted); margin: 0; }

/* 세계관 */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.panel p { margin: 0 0 0.75em; }
.panel p:last-child { margin-bottom: 0; }
.cast { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cast li { display: flex; gap: 10px; align-items: baseline; }
.cast b { min-width: 3.5em; }
.cast span { color: var(--muted); }
.vs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.vs em { color: var(--muted); font-style: normal; font-weight: 700; }

/* 임무 — loop */
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loop-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.loop-step h3 { margin-top: 12px; font-size: 1.15rem; }
.loop-step p { margin: 0; color: var(--muted); }

/* 화면 */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shots figcaption { padding: 10px 14px; color: var(--muted); font-size: 0.92rem; }
.shots figcaption b { color: var(--ink); margin-right: 8px; }

/* 기능 */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card h3 { margin-top: 12px; font-size: 1.15rem; }
.feature-card p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span {
  background: var(--surface-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px; font-size: 0.85rem; white-space: nowrap;
}

/* 원칙 */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.principle { background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; }
.principle strong { display: block; margin-bottom: 4px; }
.principle span { color: var(--muted); }

/* 지원 */
.breadcrumb { max-width: 1120px; margin: 0 auto; padding: 16px 16px 0; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); }
.page-title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-top: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details[open] summary { color: var(--accent); }
.faq-list p { margin: 10px 0 0; color: var(--muted); }
.form-note { color: var(--muted); }
.support-form { display: grid; gap: 14px; margin-top: 12px; }
.support-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.support-form input, .support-form select, .support-form textarea {
  font: inherit; color: var(--ink);
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; width: 100%;
}
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.support-form button {
  justify-self: start; font: inherit; font-weight: 800; cursor: pointer;
  background: var(--accent); color: var(--glyph); border: 0; border-radius: 10px; padding: 12px 24px;
}
.support-form button:disabled { opacity: 0.6; cursor: wait; }
#form-status { margin: 0; color: var(--muted); min-height: 1.5em; }
.contact-card a { font-weight: 800; font-size: 1.1rem; }

/* 방침 */
.policy { max-width: 820px; }
.policy h2 { font-size: 1.2rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.policy p, .policy li { color: #d5dde5; }
.policy .meta-date { color: var(--muted); }
.policy table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.93rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.policy th, .policy td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy th { color: var(--ink); background: var(--surface-soft); white-space: nowrap; }
.table-wrap { overflow-x: auto; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 16px 40px; text-align: center;
  color: var(--muted); font-size: 0.88rem;
}
footer p { margin: 4px 0; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .story, .loop, .shots, .feature-grid, .principles { grid-template-columns: 1fr; }
  .hero { min-height: 0; display: block; }
  .hero-bg { position: static; width: 100%; height: auto; }
  .hero::after { display: none; }
  .hero-copy { margin: 0; border-radius: 0; background: var(--bg-deep); }
  .site-header { flex-wrap: wrap; }
}
