/* =========================================================
   MINI THIEF - landing page
   Same visual language as the game: night heist, gold accent.
   Static, no framework, no external fonts, no tracking.
   ========================================================= */

:root {
  --bg: #05070c;
  --bg-2: #0b0f17;
  --card: rgba(255, 255, 255, 0.04);
  --ink: #eef1f7;
  --ink-dim: #9aa4b8;
  --gold: #f5c451;
  --gold-deep: #c8951f;
  --ok: #4ade80;
  --stroke: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 980px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans",
    "Noto Sans JP", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 50% -10%, #17202f 0%, var(--bg) 60%, #03040a 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: #22160a; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 50; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 12, 0.72);
  border-bottom: 1px solid var(--stroke);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo svg { color: var(--gold); flex: none; }
.logo b { font-size: 15px; letter-spacing: 0.16em; font-weight: 800; white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-select {
  appearance: none;
  height: 34px;
  padding: 0 30px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239aa4b8' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 12px center,
    rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font: 500 13px/1 var(--font);
  cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 14px/1 var(--font);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: #22160a;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 10px 26px rgba(245, 196, 81, 0.22);
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { color: var(--ink); background: rgba(255, 255, 255, 0.06); border-color: var(--stroke); }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 17px; letter-spacing: 0.1em; }

/* ---------------- hero ---------------- */
.hero { padding: 56px 0 44px; text-align: center; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.35);
  background: rgba(245, 196, 81, 0.10);
  color: var(--gold);
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.14em;
}
.hero h1 {
  margin: 20px 0 14px;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 30%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 auto 26px; max-width: 620px; color: var(--ink-dim); font-size: 17px; }
.hero__note { margin-top: 14px !important; font-size: 13px !important; }

.shot {
  margin: 38px auto 0;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  background: #05070c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: block;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- sections ---------------- */
section { padding: 46px 0; border-top: 1px solid var(--stroke); }
section h2 {
  margin: 0 0 22px;
  font-size: clamp(21px, 4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
}
.card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-dim); font-size: 14.5px; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 58px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--ink-dim);
  font-size: 15px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 15px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.16);
  color: var(--gold);
  font: 700 12px/1 var(--mono);
}

.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.levels li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--card);
  font-size: 15px;
}
.levels b { color: var(--gold); font: 700 12px/1.6 var(--mono); letter-spacing: 0.1em; flex: none; }

/* ---------------- ranking ---------------- */
.rank-intro { margin: -8px 0 18px; color: var(--ink-dim); font-size: 14.5px; }
.rank-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank-table th, .rank-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
}
.rank-table th {
  font: 600 11px/1 var(--mono); letter-spacing: 0.14em;
  color: var(--ink-dim); text-transform: uppercase;
}
.rank-table td:nth-child(2), .rank-table td:nth-child(3) { font-family: var(--mono); }
.rank-table .rank-badge {
  display: inline-block; min-width: 26px; padding: 2px 8px;
  border-radius: 999px; background: rgba(245, 196, 81, 0.16); color: var(--gold);
  font: 700 12px/1.5 var(--mono); text-align: center;
}
.rank-empty {
  padding: 26px; text-align: center; color: var(--ink-dim);
  border: 1px dashed var(--stroke); border-radius: var(--radius); font-size: 14.5px;
}

/* ---------------- share ---------------- */
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font: 600 14px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.share-btn:hover { background: rgba(255, 255, 255, 0.10); }
.share-btn i { width: 10px; height: 10px; border-radius: 999px; background: var(--dot, var(--gold)); }

/* ---------------- faq ---------------- */
.faq { display: grid; gap: 8px; }
details {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 14px 18px;
}
details summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--gold); font-weight: 700; }
details[open] summary::after { content: '−'; }
details p { margin: 12px 0 2px; color: var(--ink-dim); font-size: 14.5px; }

/* ---------------- cta ---------------- */
.cta { text-align: center; }
.cta .btn { margin-top: 4px; }

/* ---------------- footer ---------------- */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 30px 0 46px;
  color: var(--ink-dim);
  font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.footer-links a { color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--stroke); }
.footer-links a:hover { color: var(--ink); }
.biz {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.8;
  color: #7b8497;
  word-break: keep-all;
}
.biz--latin { font-size: 11.5px; color: #6c7488; }
.copyright { margin: 14px 0 0; font-size: 12px; color: #6c7488; }

/* ---------------- language list (SEO, crawlable) ---------------- */
.lang-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.lang-list a { color: var(--ink-dim); font-size: 12.5px; text-decoration: none; border-bottom: 1px solid var(--stroke); }
.lang-list a[aria-current="true"] { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------------- header CTA on narrow screens ---------------- */
.site-header .btn {
  white-space: nowrap;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
@media (max-width: 430px) {
  .lang-select { max-width: 34vw; font-size: 12px; padding-right: 26px; }
  .site-header .btn { padding: 0 12px; }
  .logo b { font-size: 13px; letter-spacing: 0.1em; }
  .logo svg { width: 22px; height: 22px; }
}
@media (max-width: 360px) {
  .logo b { font-size: 13px; letter-spacing: 0.1em; }
}
