:root {
  --bg: #0e0f11;
  --bg2: #16181c;
  --bg3: #1e2127;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --text: #e8e9eb;
  --text2: #8b8f99;
  --text3: #55595f;
  --accent: #e8a838;
  --accent2: #f0c060;
  --accent-dim: rgba(232,168,56,0.12);
  --accent-dim2: rgba(232,168,56,0.06);
  --green: #3dba72;
  --green-dim: rgba(61,186,114,0.12);
  --green-dim2: rgba(61,186,114,0.06);
  --red: #e85555;
  --radius: 8px;
  --radius-lg: 14px;
  --mono: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ─── LANG BAR ─── */
.lang-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  flex-wrap: wrap;
}
.lang-bar span {
  font-size: 11px;
  color: var(--text3);
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lang-btn {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .04em;
}
.lang-btn:hover { background: var(--bg3); color: var(--text); }
.lang-btn.active {
  background: var(--accent-dim);
  border-color: rgba(232,168,56,0.3);
  color: var(--accent);
}

/* ─── CONTAINER ─── */
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ─── HERO ─── */
.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 14px;
}
h1 span { color: var(--accent); }

.hero-desc {
  font-size: 15px;
  color: var(--text2);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.65;
}

/* ─── DOWNLOAD BUTTONS ─── */
.dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.btn-dl-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  letter-spacing: -.01em;
}
.btn-dl-primary:hover {
  background: #4dc97e;
  transform: translateY(-1px);
}
.btn-dl-primary:active { transform: translateY(0); }

.btn-dl-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.btn-dl-secondary:hover { background: var(--bg2); color: var(--text); border-color: rgba(255,255,255,0.2); }

.dl-icon { width: 18px; height: 18px; flex-shrink: 0; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meta-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text3);
  letter-spacing: .02em;
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
}
.stat-item {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 3px;
  font-family: var(--mono);
}
.stat-num.green { color: var(--green); }
.stat-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .07em; }

/* ─── SECTIONS ─── */
.sections { display: flex; flex-direction: column; gap: 0; }
.section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.section-num {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,56,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
}

/* ─── INSTALL STEPS ─── */
.install-steps { display: flex; flex-direction: column; gap: 12px; }
.install-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color .15s;
}
.install-step:hover { border-color: var(--border-strong); }
.step-circle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--mono);
}
.step-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.step-content small {
  font-size: 12px;
  color: var(--text3);
  font-family: var(--mono);
}

/* ─── PLAY MODES ─── */
.play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.play-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: border-color .15s;
}
.play-card:hover { border-color: var(--border-strong); }
.play-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.play-card-title::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.play-card p { font-size: 12px; color: var(--text2); line-height: 1.55; }

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.4;
}
.feature-item::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ─── REQUIREMENTS ─── */
.reqs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.req-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.req-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text3);
  margin-bottom: 4px;
}
.req-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--mono);
}
.req-note { font-size: 12px; color: var(--text3); margin-top: 12px; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  cursor: pointer;
}
.faq-a {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-text { font-size: 12px; color: var(--text3); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: var(--text3); transition: color .15s; }
.footer-links a:hover { color: var(--text2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .play-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .reqs-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-buttons { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .reqs-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── INLINE CODE ─── */
code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent2);
}
