:root {
  color-scheme: dark;
  --bg: #0b0d0f;
  --panel: #15191d;
  --panel-2: #20262b;
  --text: #f4eee6;
  --muted: #b6ada2;
  --line: rgba(244, 238, 230, 0.14);
  --blood: #b12e36;
  --amber: #d5a24a;
  --moss: #6c8d6c;
  --steel: #7f9bae;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(11, 13, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(213, 162, 74, 0.7);
  background: #15110f;
  color: var(--amber);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.9), rgba(6, 7, 8, 0.35) 58%, rgba(6, 7, 8, 0.88)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/2081620/header.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(0deg, #0b0d0f 0%, rgba(11, 13, 15, 0.2) 38%, rgba(11, 13, 15, 0.72) 100%),
    radial-gradient(circle at 66% 18%, rgba(177, 46, 54, 0.28), transparent 32%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 110px 0 44px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 98px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 700px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--blood);
  border-color: var(--blood);
}

.button.secondary {
  background: rgba(244, 238, 230, 0.08);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(11, 13, 15, 0.74);
  box-shadow: var(--shadow);
}

.fact-strip div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

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

dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.band,
.database,
.guide-grid,
.tool-panel {
  padding: 64px clamp(18px, 4vw, 56px);
}

.band {
  background: #101315;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.insight-grid,
.guide-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.insight-grid article,
.guide-card,
.timeline article,
.priority-box,
.checklist {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  background: rgba(213, 162, 74, 0.12);
  border: 1px solid rgba(213, 162, 74, 0.32);
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.tag.confirmed {
  border-color: rgba(108, 141, 108, 0.5);
  color: #a7d59b;
}

.tag.planned {
  border-color: rgba(127, 155, 174, 0.45);
  color: #b6cfdf;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr);
  gap: 24px;
  align-items: end;
}

.search-row {
  display: grid;
  gap: 14px;
}

input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  background: #101315;
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: var(--text);
  border-color: rgba(177, 46, 54, 0.8);
  background: rgba(177, 46, 54, 0.18);
}

.guide-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.guide-card a {
  margin-top: auto;
  color: #f1c873;
  font-weight: 800;
  text-decoration: none;
}

.guide-card.hidden {
  display: none;
}

.planner-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 16px;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  line-height: 1.5;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blood);
  margin-top: 2px;
}

.priority-box ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--panel);
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel-2);
  color: var(--amber);
}

td {
  color: var(--muted);
}

td:first-child {
  color: var(--text);
  font-weight: 800;
}

.status.ready {
  color: #a7d59b;
  border-color: rgba(108, 141, 108, 0.5);
}

.status.draft {
  color: #b6cfdf;
  border-color: rgba(127, 155, 174, 0.45);
}

.timeline article {
  position: relative;
  min-height: 210px;
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--blood);
  font-size: 34px;
  font-weight: 900;
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 56px);
  background: #08090a;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 14px;
}

.site-footer a {
  margin-right: 14px;
  color: #f1c873;
  text-decoration: none;
}

.article-main {
  background: var(--bg);
}

.article-hero {
  padding: 88px clamp(18px, 4vw, 56px) 42px;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.94), rgba(6, 7, 8, 0.58)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/2081620/header.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.article-hero > div,
.article-body,
.related-guides {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.article-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 72px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 44px 0 64px;
}

.article-content {
  padding: 0 clamp(18px, 4vw, 0px);
}

.article-content section {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-content section:last-child {
  border-bottom: 0;
}

.article-content ul,
.article-content ol {
  color: var(--muted);
  line-height: 1.75;
}

.article-content li + li {
  margin-top: 8px;
}

.article-aside {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
}

.article-aside h2 {
  font-size: 20px;
}

.article-aside a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.article-aside a:hover {
  color: var(--text);
}

.notice {
  border-left: 4px solid var(--amber);
  background: rgba(213, 162, 74, 0.1);
  padding: 16px;
  color: var(--muted);
}

.data-list {
  display: grid;
  gap: 12px;
}

.data-list div {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
}

.data-list dt {
  color: var(--amber);
  font-weight: 800;
}

.data-list dd {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
}

.related-guides {
  padding: 0 clamp(18px, 4vw, 0px) 64px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.related-grid a {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.92), rgba(6, 7, 8, 0.64)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/2081620/header.jpg") center / cover no-repeat;
}

.not-found section {
  width: min(680px, 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .fact-strip,
  .insight-grid,
  .guide-grid,
  .timeline,
  .related-grid,
  .tool-panel,
  .planner-layout,
  .article-body {
    grid-template-columns: 1fr 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 90vh;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-top: 92px;
  }

  .fact-strip,
  .insight-grid,
  .guide-grid,
  .timeline,
  .related-grid,
  .tool-panel,
  .planner-layout,
  .article-body {
    grid-template-columns: 1fr;
  }

  .fact-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-strip div:last-child {
    border-bottom: 0;
  }

  .band,
  .database,
  .guide-grid,
  .tool-panel {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}
