/* Wutzy — shared site styles. Dark, simple, self-contained. */
:root {
  --bg: #0b0b0f;
  --surface: #16161d;
  --surface-2: #1e1e28;
  --text: #f4f4f7;
  --text-dim: #a0a0ad;
  --accent: #5b6cff;
  --accent-2: #8b5cf6;
  --border: #26262f;
  --radius: 18px;
  --maxw: 760px;
  --maxw-wide: 920px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap.wide { max-width: var(--maxw-wide); }

/* Header / nav */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,11,15,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  object-fit: cover; display: block;
}
nav.top { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav.top a { color: var(--text-dim); font-size: 15px; margin-left: 16px; font-weight: 600; }
nav.top a:hover { color: var(--text); text-decoration: none; }
nav.top .lang { font-size: 13px; opacity: .85; }

/* Hero */
.hero { padding: 72px 0 48px; text-align: center; }
.hero .app-icon {
  width: 104px; height: 104px; border-radius: 23px;
  margin: 0 auto 26px; display: block;
  box-shadow: 0 18px 50px rgba(91,108,255,0.28);
}

.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #000;
  padding: 13px 22px 13px 18px; border-radius: 14px;
  font-weight: 600;
}
.appstore:hover { text-decoration: none; opacity: .9; }
.appstore svg { width: 26px; height: 26px; }
.appstore .label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .label .small { font-size: 11px; font-weight: 500; }
.appstore .label .big { font-size: 18px; font-weight: 700; }
.hero .pill {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .4px;
  color: var(--accent); background: rgba(91,108,255,0.12);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px); line-height: 1.05; font-weight: 850;
  letter-spacing: -0.02em; margin-bottom: 18px;
  background: linear-gradient(120deg, #fff 30%, #b9c0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--text-dim); max-width: 580px; margin: 0 auto 30px; }
.hero .note {
  font-size: 14px; color: var(--text-dim); max-width: 520px; margin: 18px auto 0;
}

.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn.secondary { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; padding: 30px 0 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card .ic { font-size: 26px; margin-bottom: 10px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* Game sections on landing page */
.section-block { padding: 18px 0 36px; }
.section-block h2 {
  font-size: 24px; font-weight: 850; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.section-block .section-lead {
  color: var(--text-dim); font-size: 16px; margin-bottom: 18px; max-width: 640px;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.mode-card h4 {
  font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.mode-card h4 .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(91,108,255,0.12);
  padding: 3px 8px; border-radius: 999px;
}
.mode-card ul { list-style: none; margin: 0; padding: 0; }
.mode-card li {
  color: var(--text-dim); font-size: 14px; padding: 4px 0 4px 16px;
  position: relative;
}
.mode-card li::before {
  content: "·"; position: absolute; left: 4px; color: var(--accent);
}
.highlight-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 10px 0 40px;
}
.highlight-band h3 { font-size: 17px; margin-bottom: 8px; }
.highlight-band p { color: var(--text-dim); font-size: 15px; }
.highlight-band ul { list-style: none; margin: 10px 0 0; padding: 0; }
.highlight-band li {
  color: var(--text-dim); font-size: 15px; padding: 5px 0 5px 18px;
  position: relative;
}
.highlight-band li::before {
  content: "·"; position: absolute; left: 4px; color: var(--accent);
}

.variant-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.variant-detail h4 {
  font-size: 18px; margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.variant-detail .variant-sub {
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: .3px; text-transform: uppercase;
}
.variant-detail p { color: var(--text-dim); font-size: 15px; margin: 8px 0 10px; }
.variant-detail ul { list-style: none; margin: 0; padding: 0; }
.variant-detail li {
  color: #d4d4dc; font-size: 14px; padding: 4px 0 4px 16px; position: relative;
}
.variant-detail li::before {
  content: "·"; position: absolute; left: 4px; color: var(--accent);
}

.steps { counter-reset: step; list-style: none; margin: 12px 0 0; padding: 0; }
.steps li {
  counter-increment: step; color: var(--text-dim); font-size: 15px;
  padding: 10px 0 10px 42px; position: relative; border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(91,108,255,0.15); color: var(--accent);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.ads-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.ads-card h4 { font-size: 15px; margin-bottom: 6px; }
.ads-card p { color: var(--text-dim); font-size: 14px; margin: 0; }

nav.top .lang {
  margin-left: 12px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 12px !important; font-weight: 800 !important; letter-spacing: .4px;
}
nav.top .lang:hover { color: var(--text) !important; border-color: var(--accent); text-decoration: none; }

.note-box {
  font-size: 14px; color: var(--text-dim);
  background: rgba(91,108,255,0.08);
  border: 1px solid rgba(91,108,255,0.22);
  border-radius: 12px; padding: 12px 16px; margin-top: 14px;
}

/* Content pages */
.page { padding: 50px 0 90px; }
.page h1 { font-size: 34px; font-weight: 850; letter-spacing: -0.02em; margin-bottom: 8px; }
.page .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 34px; }
.page h2 { font-size: 21px; margin: 34px 0 10px; }
.page h3 { font-size: 17px; margin: 22px 0 6px; color: var(--text); }
.page p, .page li { color: #d4d4dc; font-size: 16px; }
.page ul { margin: 8px 0 8px 22px; }
.page li { margin-bottom: 6px; }
.lang-divider { margin: 56px 0 0; border: 0; border-top: 1px solid var(--border); }
.muted { color: var(--text-dim); }

.contactbox {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin: 24px 0;
}
.contactbox a { font-weight: 700; font-size: 18px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 30px 0 50px; color: var(--text-dim); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer.site a { color: var(--text-dim); }
footer.site a:hover { color: var(--text); }

@media (max-width: 640px) {
  nav.top a { margin-left: 10px; font-size: 14px; }
  .hero { padding-top: 48px; }
}
