/* same look as the launcher (app/ui/style.css) */
:root {
  --bg: #070a14;
  --glass: rgba(10, 14, 28, 0.66);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1efe8;
  --muted: #a7acbf;
  --blue: #148eff;
  --gold: #f1c45b;
  --ok: #3fd47a;
  --ko: #ef6b6b;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font: 15px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #8cc8ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ------------------------------------------------------------------ background art */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg { position: absolute; inset: -3%; background-size: cover; background-position: center 35%; opacity: 0; transition: opacity 1.6s ease; }
.bg.on { opacity: 1; animation: drift 24s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
/* neutral art drawn in CSS (no game artwork in this repo); put your own images here if you have the rights */
.bg.scene-1 { background:
  radial-gradient(60% 50% at 75% 30%, rgba(64, 140, 220, 0.55), transparent 70%),
  radial-gradient(45% 40% at 20% 70%, rgba(31, 111, 134, 0.55), transparent 70%),
  radial-gradient(30% 25% at 55% 85%, rgba(241, 196, 91, 0.25), transparent 70%),
  linear-gradient(160deg, #0d1a3a, #070a14 70%); }
.bg.scene-2 { background:
  radial-gradient(55% 45% at 30% 30%, rgba(140, 70, 200, 0.45), transparent 70%),
  radial-gradient(50% 45% at 80% 70%, rgba(20, 142, 255, 0.35), transparent 70%),
  radial-gradient(25% 25% at 60% 20%, rgba(241, 196, 91, 0.2), transparent 70%),
  linear-gradient(200deg, #1a1036, #070a14 70%); }
.bg.scene-3 { background:
  radial-gradient(55% 50% at 70% 60%, rgba(40, 170, 140, 0.4), transparent 70%),
  radial-gradient(45% 40% at 25% 25%, rgba(20, 110, 200, 0.45), transparent 70%),
  radial-gradient(30% 30% at 40% 90%, rgba(241, 160, 70, 0.22), transparent 70%),
  linear-gradient(130deg, #0a2230, #070a14 70%); }
.shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.7) 0%, rgba(5, 8, 18, 0.1) 22%, rgba(5, 8, 18, 0.35) 60%, rgba(5, 8, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 8, 18, 0.6) 0%, rgba(5, 8, 18, 0) 55%);
}

/* ------------------------------------------------------------------ top bar */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(5, 8, 18, 0.85), rgba(5, 8, 18, 0));
}
.top-logo { display: grid; line-height: 1; text-decoration: none; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6)); }
.top-logo strong {
  font: 700 30px/1 Georgia, "Times New Roman", serif; letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fff3cf, #f1c45b 55%, #b8822a); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.top-logo small { margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
nav a { color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
nav a:hover { color: #fff; text-decoration: none; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.langs a { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.langs a:hover { color: #fff; text-decoration: none; }
.langs a.on { background: var(--blue); color: #fff; }
.status {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status[data-online="yes"] .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status[data-online="no"] .dot { background: var(--ko); }

/* ------------------------------------------------------------------ sections */
main { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: 10px;
  backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.hero {
  display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 40px;
  padding: 8px 0 24px;
}
.pitch h1 { margin: 6px 0 10px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; font-weight: 700; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.pitch p { margin: 0 0 18px; max-width: 520px; font-size: 1.08rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
[hidden] { display: none !important; }
.signup { padding: 22px; }
h2 { margin: 2px 0 4px; font-size: 1.4rem; font-weight: 700; }
.signup h2 { font-size: 1.4rem; }
.signup > .muted { margin: 0 0 18px; font-size: 0.92rem; }
h3 { margin: 0; font-size: 1.05rem; }
form { display: grid; gap: 11px; }
label { display: grid; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
input {
  font: 15px Inter, system-ui, sans-serif; color: var(--text);
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 11px 13px; transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 142, 255, 0.25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; justify-content: center; align-items: center;
  font: 600 0.95rem Inter, system-ui, sans-serif; color: var(--text); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 18px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.1s, background 0.15s;
}
.btn:hover { text-decoration: none; background: rgba(255, 255, 255, 0.13); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); border-color: transparent; color: #fff; box-shadow: 0 10px 28px rgba(20, 142, 255, 0.3); }
.btn.primary:hover { background: #2f9dff; }
.btn.big { padding: 14px; font-size: 1.05rem; }
.btn.outline { background: rgba(0, 0, 0, 0.35); }
.btn.small { font-size: 0.85rem; padding: 7px 14px; }
.btn.disabled { color: var(--muted); cursor: default; background: rgba(255, 255, 255, 0.05); }
.hint { color: var(--muted); font-size: 0.8rem; margin: 0; text-align: center; }
.alert { background: rgba(239, 107, 107, 0.12); border: 1px solid rgba(239, 107, 107, 0.35); color: #ffc9c9; padding: 10px 14px; border-radius: 4px; margin: 0 0 14px; font-size: 0.92rem; }
.success { display: grid; gap: 14px; text-align: center; }
.success p { margin: 0; }
.link { font-size: 0.9rem; }

.block { padding: 28px 0 4px; scroll-margin-top: 16px; }
.steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 16px 18px; display: grid; align-content: start; gap: 6px; }
.num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px;
  font-weight: 700; color: #fff; background: var(--blue); box-shadow: 0 6px 18px rgba(20, 142, 255, 0.35);
}
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn.os { gap: 7px; }
.btn.os img { display: block; }
.btn.os.disabled img { opacity: 0.5; }
code { background: rgba(0, 0, 0, 0.4); padding: 1px 6px; border-radius: 4px; font-size: 0.85em; word-break: break-all; }

footer { text-align: center; color: var(--muted); font-size: 0.78rem; padding: 28px 16px 18px; opacity: 0.85; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-top: 12px; }
  .steps { grid-template-columns: 1fr; }
  nav { display: none; }
  .topbar { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
