:root {
  --bg: #1b2838;
  --header: #171a21;
  --panel: #101822;
  --ink: #c7d5e0;
  --white: #ffffff;
  --muted: #8f98a0;
  --steam: #66c0f4;
  --exotic: #d32ce6;
  --line: rgba(255, 255, 255, 0.08);
  --font: "Motiva Sans", "Source Sans 3", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font);
  text-transform: lowercase;
}

a {
  color: var(--steam);
  text-decoration: none;
}

a:hover { color: var(--white); }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
  padding: 0 6vw;
  background: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.links {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.links a,
.mobile a,
.menu {
  color: #b8b6b4;
}

.links a:hover,
.mobile a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  font: inherit;
  color: #b8b6b4;
  cursor: pointer;
}

.mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 6vw 1.1rem;
  background: var(--header);
  border-top: 1px solid var(--line);
}

main,
footer {
  width: min(980px, calc(100% - 8vw));
  margin: 0 auto;
}

.item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 2.6rem 2.4rem;
  background: var(--panel);
}

.item-art {
  display: grid;
  place-items: center;
}

.item-art img {
  width: 210px;
  height: auto;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--steam);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.item-copy h1 {
  margin: 0 0 0.55rem;
  font-size: 1.7rem;
  font-weight: 400;
}

.item-copy h1 a { color: var(--exotic); }
.item-copy h1 a:hover { color: #f0a3ff; }

.game {
  margin: 0 0 0.15rem;
  color: var(--white);
}

.game a { color: var(--white); }
.game a:hover { color: var(--steam); }

.rarity {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.item-copy p {
  margin: 0 0 1.1rem;
  max-width: 36rem;
}

.inspect {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  background: #313c48;
  color: var(--white);
  font-size: 0.82rem;
}

.inspect:hover { color: var(--white); filter: brightness(1.12); }

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.25rem;
  background: var(--panel);
}

.numbers div {
  padding: 1.15rem 1.1rem;
  border-right: 1px solid var(--line);
}

.numbers div:last-child { border-right: 0; }

.numbers b {
  display: block;
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 600;
}

.numbers span {
  color: var(--muted);
  font-size: 0.78rem;
}

section {
  padding: 2rem 0 0.2rem;
}

h2 {
  margin: 0 0 0.6rem;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
}

h3 {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

section p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.follow { margin-top: 0.9rem; }

ol,
dl {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
}

ol { grid-template-columns: repeat(3, 1fr); list-style: none; }
dl { grid-template-columns: repeat(4, 1fr); }

ol li,
dl div {
  padding: 1rem 1.05rem;
  background: var(--panel);
}

dt {
  color: var(--muted);
  font-size: 0.75rem;
}

dd {
  margin: 0.2rem 0 0;
  color: var(--white);
  font-size: 1.05rem;
}

footer {
  padding: 2rem 0 3.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

footer p { max-width: 42rem; }
footer p + p { margin-top: 0.7rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--steam); }

@media (max-width: 800px) {
  .links { display: none; }
  .menu { display: block; }
  .mobile.is-open { display: flex; }

  .item,
  .numbers,
  ol,
  dl {
    grid-template-columns: 1fr;
  }

  .item { padding: 1.6rem 1.2rem; }
  .item-art img { width: 180px; }
  .numbers div { border-right: 0; border-bottom: 1px solid var(--line); }
}
