/* Aim Gods revival website. Palette from the launcher (the in-game end match
   screen); Montserrat (OFL, fonts/OFL.txt) self-hosted, nothing external. */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("fonts/Montserrat-Regular.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/Montserrat-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/Montserrat-Bold.ttf") format("truetype"); }

:root {
  --bg: #0d1020;
  --panel: rgba(22, 27, 48, 0.86);
  --line: rgba(201, 162, 79, 0.28);
  --gold: #c9a24f;
  --gold-bright: #ecc76d;
  --text: #e9e5da;
  --muted: #9aa0b6;
}

* { box-sizing: border-box; }

html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 16px/1.65 "Montserrat", system-ui, sans-serif;
}

a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: #fff3cf; }
code { font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 4px; background: rgba(255, 255, 255, 0.07); }

/* ── hero ── */
.hero {
  text-align: center;
  padding: 72px 20px 56px;
  background:
    linear-gradient(to bottom, rgba(13, 16, 32, 0.55), var(--bg) 92%),
    url("assets/hero.jpg") center 40% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.logo { width: 150px; height: auto; opacity: 0.95; }
h1 {
  margin: 18px 0 10px;
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  letter-spacing: 0.02em;
}
.brand {
  margin: 18px 0 0;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-left: 0.42em; /* balances the trailing letter spacing */
}
.hero h1 { margin-top: 6px; }
.quote { margin: 0 auto 18px; color: var(--gold); font-style: italic; font-size: 1.05rem; }
.lede { max-width: 36rem; margin: 0 auto; color: #d6d2c6; font-size: 1.05rem; }
.actions { margin: 26px 0 10px; display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: rgba(201, 162, 79, 0.12);
}
.button:hover { background: rgba(201, 162, 79, 0.24); color: #fff; }
.link { font-weight: 600; }
.small { color: var(--muted); font-size: 0.85rem; }

/* ── content ── */
main { max-width: 46rem; margin: 0 auto; padding: 8px 20px 40px; }
section { padding: 36px 0 8px; }
h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 34px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
/* The game UI's meander band under each heading, at its natural size. */
h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: url("assets/meander-mirrored.png") left center / 145px 22px repeat-x;
  opacity: 0.55;
}
h3 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 600; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
strong { font-weight: 600; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  margin: 0 0 14px;
  padding: 16px 18px 6px 62px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 15px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 700;
  text-align: center;
  line-height: 28px;
}
.steps p { margin: 0 0 10px; color: #d6d2c6; }
footer a { font-weight: 600; }

details {
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
}
summary { cursor: pointer; font-weight: 600; list-style-position: inside; }
summary::marker { color: var(--gold); }
details p { color: #d6d2c6; margin: 10px 0 4px 1.1em; }

footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 28px 20px 40px;
  color: var(--muted);
}
footer p { max-width: 40rem; margin: 6px auto; }

@media (max-width: 520px) {
  .hero { padding: 48px 16px 40px; }
  main { padding: 0 16px 32px; }
  .steps li { padding: 14px 14px 4px 54px; }
  .steps li::before { left: 12px; }
}
