/* Download page of the Force Arena revival (deploy/website, rendered by deploy/website.py). No scripts, no external files. */
:root {
  --bg: #0b0f19;
  --panel: #141b2b;
  --panel-2: #1b2438;
  --line: #2a3550;
  --text: #e8eaf0;
  --muted: #a9b1c6;
  --gold: #ffbb00;
  --gold-dark: #c98f00;
  --ok: #3ccf91;
  --warn: #ffcf66;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gold); }
a:hover { color: #ffd45c; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 0.92em; }
code { color: #ffd45c; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 26px; color: var(--gold); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background: var(--bg) url("hero.jpg") 70% 25% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.72) 42%, rgba(11, 15, 25, 0.12) 75%),
    linear-gradient(180deg, rgba(11, 15, 25, 0) 55%, var(--bg) 100%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 36px; }
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 187, 0, 0.6);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(11, 15, 25, 0.6);
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.hero .lead { max-width: 640px; font-size: 18px; color: #dfe3ee; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.buttons { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin: 22px 0 10px; }
.btn {
  display: inline-flex;
  flex-direction: column;
  min-width: 250px;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--gold);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 24px rgba(255, 187, 0, 0.25);
}
.btn:hover { background: #ffc933; color: #111; }
.btn small { font-weight: 400; font-size: 13px; color: #3a2e00; }
.btn.secondary { background: rgba(20, 27, 43, 0.9); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.secondary small { color: var(--muted); }
.btn.disabled { background: rgba(20, 27, 43, 0.85); color: var(--muted); border: 1px dashed var(--line); box-shadow: none; cursor: default; }
.btn.disabled small { color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); }
.btn-group { display: inline-flex; flex-direction: column; gap: 6px; }
.btn-group .alt { font-size: 14px; padding-left: 4px; }
/* the open-beta notice (a class: the site's Content-Security-Policy blocks inline style attributes) */
.beta { max-width: 44em; padding: 8px 12px; border: 1px solid #f5c542; border-radius: 6px;
  background: rgba(11, 15, 25, 0.6); }

/* ---------------------------------------------------------------- sections */
section { padding: 44px 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.card h3 { color: var(--gold); }
ol.steps { margin: 0 0 12px; padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }
ul.plain { margin: 0 0 12px; padding-left: 20px; }
ul.plain li { margin-bottom: 6px; }
.note {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--warn);
  border-radius: 6px;
  background: var(--panel-2);
  font-size: 15px;
}
.note strong { color: var(--warn); }
.note.ok { border-left-color: var(--ok); }
.note.ok strong { color: var(--ok); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.shots figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td.hash { word-break: break-all; min-width: 260px; }

footer { margin-top: 48px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { max-width: 760px; }

@media (max-width: 560px) {
  .hero { min-height: 560px; background-position: 62% 20%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.82) 45%, var(--bg) 100%);
  }
  .hero .wrap { padding-top: 160px; }
  .btn { min-width: 100%; }
  .btn-group { width: 100%; }
  h2 { font-size: 22px; }
  /* checksums: one block per file, the hash on its own line */
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { padding: 2px 0; border: 0; }
  td.hash { min-width: 0; }
}
