:root {
  --bg: #07090f;
  --card: rgba(16, 24, 40, 0.72);
  --gold: #f5c542;
  --gold2: #e8a317;
  --cyan: #3ee0c6;
  --text: #e8eef8;
  --muted: #93a0b8;
  --line: rgba(245, 197, 66, 0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", system-ui, sans-serif;
  min-height: 100%;
}
html[lang="fa"] body, html[lang="ar"] body { font-family: "Vazirmatn", "Noto Naskh Arabic", "Noto Sans", sans-serif; }
html[lang="ja"] body { font-family: "Noto Sans JP", "Noto Sans", system-ui, sans-serif; }
html[lang="ko"] body { font-family: "Noto Sans KR", "Noto Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.orbit { font-family: "Orbitron", sans-serif; letter-spacing: 0.06em; }

body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
body::before { width: 420px; height: 420px; background: #3ee0c6; opacity: .22; top: -120px; inset-inline-start: -100px; }
body::after { width: 480px; height: 480px; background: #8b7cff; opacity: .2; bottom: -140px; inset-inline-end: -100px; }

header, main, footer { position: relative; z-index: 2; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 6vw;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 15, .62);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo {
  width: 40px; height: 40px; border-radius: 50%;
  background: #07090f; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 18px #f5c54255;
  display: grid; place-items: center;
}
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .orbit { font-size: 14px; color: var(--gold); }

.cta, .cta-sm {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  color: #1a1203;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
}
.cta-sm { padding: 8px 14px; font-size: 14px; }
.cta:hover, .cta-sm:hover { filter: brightness(1.05); }

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 6vw 72px;
  line-height: 1.8;
}
.kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 span, .grad {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead, main > p { color: var(--muted); font-size: 17px; margin: 12px 0; }
h2 { font-size: 22px; margin: 32px 0 10px; }
ul { padding-inline-start: 18px; display: grid; gap: 8px; margin: 12px 0; }
li { color: var(--muted); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  background: rgba(62, 224, 198, .08);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: .92em;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 18px 0;
  backdrop-filter: blur(10px);
}
.card h2 { margin-top: 0; }
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.related a {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}
.related a:hover { border-color: var(--gold); color: var(--gold); }
footer {
  border-top: 1px solid var(--line);
  padding: 22px 6vw 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.miss {
  text-align: center;
  padding: 72px 6vw 40px;
}
.miss .code {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(64px, 12vw, 120px);
  color: var(--gold);
  background: none;
  padding: 0;
  letter-spacing: .04em;
}
.miss p { max-width: 460px; margin: 12px auto 24px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ghost {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
}
@media (max-width: 640px) {
  .brand .orbit { display: none; }
  main { padding-top: 32px; }
}
