/* ==========================================================================
   BLACKWOOD — Dark Noir Gaming Editorial Design System
   ========================================================================== */

/* Tokens */
:root {
  --bg-main: #080a0f;
  --bg-surface: #0f1420;
  --bg-card: #141b26;
  --bg-card-hover: #1a2234;
  --bg-glass: rgba(8,10,15,0.88);

  --border-default: #1e2940;
  --border-emphasis: #2e3e5e;

  --text-primary: #f0f4ff;
  --text-secondary: #8899bb;
  --text-muted: #4a5a7a;

  --red: #e02040;
  --red-light: #f43860;
  --red-glow: rgba(224,32,64,0.35);
  --amber: #f5a623;
  --amber-light: #fbbf24;
  --amber-glow: rgba(245,166,35,0.3);
  --cyan: #22d3ee;
  --green: #10b981;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 6px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.65);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.8);

  --r-sm: 5px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --max-w: 1260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.22s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font-body); background: var(--bg-main); color: var(--text-primary); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }

/* ── Selection & Scrollbar ── */
::selection { background: var(--amber); color: #000; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  z-index: 9999; transition: width 0.1s linear; pointer-events: none;
}

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 860px; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-surface); border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.section--dark { background: #060810; border-top: 1px solid var(--border-default); }

/* ── Typography Utilities ── */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber); margin-bottom: 0.75rem; }
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--red); }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem; font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px; line-height: 1;
  border: 1px solid transparent;
}
.badge-red    { background: rgba(224,32,64,0.15);  color: #ff8099; border-color: rgba(224,32,64,0.4);  }
.badge-amber  { background: rgba(245,166,35,0.12); color: var(--amber-light); border-color: rgba(245,166,35,0.35); }
.badge-cyan   { background: rgba(34,211,238,0.1);  color: var(--cyan); border-color: rgba(34,211,238,0.3);  }
.badge-green  { background: rgba(16,185,129,0.12); color: #6ee7b7; border-color: rgba(16,185,129,0.35); }
.badge-live   { background: rgba(224,32,64,0.2); color: #ff6080; border-color: rgba(224,32,64,0.5); animation: pulse-badge 2s ease infinite; }

@keyframes pulse-badge { 0%,100% { box-shadow: 0 0 0 0 rgba(224,32,64,0.4); } 50% { box-shadow: 0 0 0 6px rgba(224,32,64,0); } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.75rem 1.5rem; font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.01em; border-radius: var(--r-md);
  border: 1px solid transparent; text-decoration: none; transition: var(--t);
  line-height: 1; white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
  border-color: rgba(255,255,255,0.1);
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--red-glow); color: #fff; }
.btn-amber  {
  background: linear-gradient(135deg, var(--amber) 0%, #e08800 100%);
  color: #0a0800; font-weight: 800;
  box-shadow: 0 4px 20px var(--amber-glow); border-color: var(--amber-light);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--amber-glow); filter: brightness(1.08); }
.btn-outline { background: transparent; border-color: var(--border-emphasis); color: var(--text-primary); }
.btn-outline:hover { background: var(--bg-card); border-color: var(--text-secondary); transform: translateY(-2px); color: #fff; }
.btn-steam  { background: #1a2332; border-color: #2a4060; color: #c0d8ee; }
.btn-steam:hover { background: #223045; border-color: #66c0f4; color: #fff; box-shadow: 0 0 20px rgba(102,192,244,0.2); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-glass); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border-default);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, var(--red) 0%, #900 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: #fff;
  box-shadow: 0 0 14px rgba(224,32,64,0.45);
}
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; }
.brand-name em { color: var(--amber); font-style: normal; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-link {
  display: block; padding: 0.45rem 0.85rem; font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--r-sm); transition: var(--t);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active { color: #fff; background: rgba(224,32,64,0.12); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.btn-hamburger {
  display: none; background: transparent; border: 1px solid var(--border-default);
  color: var(--text-primary); padding: 0.5rem; border-radius: var(--r-sm);
  line-height: 1; font-size: 1.1rem; width: 38px; height: 38px;
  align-items: center; justify-content: center;
}
/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0; z-index: 990;
  background: rgba(8,10,15,0.97); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.5rem; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.3s var(--ease);
  pointer-events: none;
}
.mobile-drawer.open { transform: translateX(0); pointer-events: all; }
.mobile-drawer .nav-link { font-size: 1.1rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-default); border-radius: 0; }
.mobile-drawer .btn { margin-top: 0.5rem; }

/* ── Hero ── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: saturate(0.6); }
.hero-bg-grad {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,10,15,0.97) 40%, rgba(8,10,15,0.7) 70%, rgba(8,10,15,0.4) 100%),
    linear-gradient(0deg, rgba(8,10,15,1) 0%, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center; padding: 6rem 0 5rem; }
.hero-content { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-h1 {
  font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 900; letter-spacing: -0.04em;
  text-transform: uppercase; line-height: 0.95;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #cad5ee; font-weight: 500; line-height: 1.4; }
.hero-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; max-width: 520px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-card {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(224,32,64,0.15);
}
.hero-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.hero-card-media video, .hero-card-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-label {
  position: absolute; top: 0.75rem; left: 0.75rem;
}
.hero-card-meta {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: var(--bg-surface); border-top: 1px solid var(--border-default);
}
.hero-meta-item { padding: 0.9rem 0.75rem; text-align: center; }
.hero-meta-item + .hero-meta-item { border-left: 1px solid var(--border-default); }
.meta-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; margin-bottom: 0.2rem; }
.meta-value { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #fff; }

/* ── Stats strip ── */
.stats-strip { background: var(--bg-surface); border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); overflow: hidden; }
.stats-list { display: flex; align-items: center; min-width: max-content; animation: scroll-strip 28s linear infinite; }
.stats-list:hover { animation-play-state: paused; }
.stats-strip-inner { display: flex; align-items: center; }
.stat-item { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 2rem; font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; border-right: 1px solid var(--border-default); }
.stat-item span:first-child { font-size: 1.1rem; }
.stat-item strong { color: #fff; }

@keyframes scroll-strip { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Section headers ── */
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.4rem; margin-bottom: 1rem; }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Feature blocks (alternating) ── */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.feature-block:nth-child(even) .feature-block-media { order: -1; }
.feature-block-media { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-default); aspect-ratio: 16/9; box-shadow: var(--shadow-lg); }
.feature-block-media video, .feature-block-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-block-content { display: flex; flex-direction: column; gap: 1rem; }
.feature-block-title { font-size: 2rem; }
.feature-block-text { color: var(--text-secondary); line-height: 1.75; font-size: 1rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.feature-list li::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 0.55em; }

/* ── Quick cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-lg); overflow: hidden; transition: var(--t);
}
.card:hover { border-color: var(--border-emphasis); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.card-title { font-size: 1.15rem; }
.card-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; cursor: pointer; border: 1px solid var(--border-default); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 0.9rem; opacity: 0; transition: opacity 0.2s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { font-size: 0.82rem; font-weight: 600; color: #fff; }
.gallery-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; opacity: 0; transition: opacity 0.2s; }
.gallery-item:hover .gallery-icon { opacity: 1; }

/* ── Specs comparison ── */
.specs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.spec-card { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-lg); overflow: hidden; }
.spec-card.recommended { border-color: rgba(16,185,129,0.4); }
.spec-card-head { padding: 1.5rem 2rem; background: var(--bg-surface); border-bottom: 1px solid var(--border-default); display: flex; justify-content: space-between; align-items: center; }
.spec-card-head h3 { font-size: 1.15rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 0.85rem 2rem; border-bottom: 1px solid var(--border-default); font-size: 0.92rem; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; width: 130px; padding-top: 1rem; }
.spec-table td:last-child { color: #e8f0ff; }

/* ── Spec tester widget ── */
.spec-tester { background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--r-xl); padding: 2.5rem; margin-top: 3rem; }
.spec-tester-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; margin-top: 1.5rem; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.field select, .field input {
  background: var(--bg-card); border: 1px solid var(--border-default); color: #fff;
  padding: 0.75rem 1rem; border-radius: var(--r-md); font-size: 0.92rem; outline: none;
  transition: border-color 0.2s; -webkit-appearance: none; appearance: none;
}
.field select:focus, .field input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,0.15); }
.spec-result { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--bg-card); border: 1px solid var(--border-default); display: none; }
.spec-result.visible { display: block; }
.spec-result-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.spec-result-desc { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Roadmap timeline ── */
.roadmap-timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 3rem; }
.roadmap-timeline::before { content: ''; position: absolute; left: 0.7rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: linear-gradient(180deg, var(--red) 0%, var(--amber) 50%, rgba(255,255,255,0.1) 100%); }
.roadmap-item { position: relative; padding: 0 0 3rem 2.5rem; }
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-dot { position: absolute; left: -3rem; top: 0.25rem; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-main); border: 3px solid var(--border-emphasis); display: flex; align-items: center; justify-content: center; z-index: 1; transition: var(--t); }
.roadmap-dot.active { background: var(--red); border-color: var(--red); box-shadow: 0 0 16px var(--red-glow); }
.roadmap-dot.upcoming { border-color: var(--amber); }
.roadmap-item-inner { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-lg); padding: 2rem; transition: var(--t); }
.roadmap-item-inner:hover { border-color: var(--border-emphasis); transform: translateX(4px); }
.roadmap-item.is-active .roadmap-item-inner { border-color: rgba(224,32,64,0.4); background: linear-gradient(135deg, rgba(224,32,64,0.06) 0%, var(--bg-card) 60%); }
.roadmap-date { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 0.4rem; }
.roadmap-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.roadmap-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.roadmap-features { display: flex; flex-direction: column; gap: 0.45rem; }
.roadmap-features li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--text-secondary); }
.roadmap-features li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ── Steps guide ── */
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.75rem; background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-lg); padding: 1.75rem; align-items: flex-start; transition: var(--t); }
.step:hover { border-color: var(--border-emphasis); }
.step-num { width: 56px; height: 56px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--red), #900); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: #fff; flex-shrink: 0; box-shadow: 0 4px 16px rgba(224,32,64,0.4); }
.step-content h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step-content p, .step-content li { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; }
.step-content ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.step-content ul li::before { content: '– '; color: var(--amber); }
.step-callout { background: rgba(245,166,35,0.07); border-left: 3px solid var(--amber); padding: 0.9rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: #fde68a; font-size: 0.9rem; line-height: 1.6; margin-top: 0.75rem; }
.step-warning { background: rgba(224,32,64,0.07); border-left: 3px solid var(--red); padding: 0.9rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: #fecdd3; font-size: 0.9rem; line-height: 1.6; margin-top: 0.75rem; }

/* ── Guide layout (article + sidebar) ── */
.guide-layout { display: grid; grid-template-columns: 1fr 260px; gap: 4rem; align-items: flex-start; }
.guide-article { min-width: 0; }
.guide-sidebar { position: sticky; top: 90px; }
.toc-box { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-lg); padding: 1.5rem; }
.toc-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.toc-list { display: flex; flex-direction: column; gap: 0.1rem; list-style: none; }
.toc-link { display: block; padding: 0.5rem 0.75rem; font-size: 0.88rem; color: var(--text-secondary); border-radius: var(--r-sm); transition: var(--t); border-left: 2px solid transparent; }
.toc-link:hover { color: #fff; background: rgba(255,255,255,0.04); border-left-color: var(--red); }
.toc-link.active { color: var(--amber-light); border-left-color: var(--amber); }
.toc-download { margin-top: 1.5rem; }

/* ── Article content ── */
.article-section { margin-bottom: 4rem; scroll-margin-top: 90px; }
.article-section h2 { font-size: 1.8rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-default); }
.article-section p { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.8; margin-bottom: 1.1rem; }
.article-section p:last-child { margin-bottom: 0; }
.article-media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-default); margin: 1.75rem 0; aspect-ratio: 16/9; }
.article-media video, .article-media img { width: 100%; height: 100%; object-fit: cover; }

/* ── Guide mini-cards ── */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; margin: 1.25rem 0; }
.guide-card { background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--r-md); padding: 1.25rem; transition: var(--t); }
.guide-card:hover { border-color: var(--border-emphasis); transform: translateY(-2px); }
.guide-card h4 { font-size: 1rem; color: var(--amber-light); margin-bottom: 0.45rem; }
.guide-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ── Controls tables ── */
.controls-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.controls-table { width: 100%; border-collapse: collapse; }
.controls-table thead th { padding: 0.7rem 0.9rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 2px solid var(--border-default); text-align: left; }
.controls-table td { padding: 0.75rem 0.9rem; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.controls-table tr:last-child td { border-bottom: none; }
.kbd { display: inline-block; background: var(--bg-surface); border: 1px solid var(--border-emphasis); border-bottom-width: 2px; border-radius: 4px; padding: 0.15rem 0.5rem; font-family: monospace; font-size: 0.8rem; color: var(--amber-light); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-md); overflow: hidden; }
.faq-item.active { border-color: var(--border-emphasis); }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; background: transparent; border: none;
  color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  text-align: left; transition: var(--t);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--amber); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; }
.faq-answer-inner a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.faq-item.active .faq-answer { max-height: 600px; }

/* ── Download box ── */
.dl-box {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(135deg, rgba(224,32,64,0.1) 0%, var(--bg-card) 50%, rgba(245,166,35,0.06) 100%);
  border: 1px solid rgba(224,32,64,0.35);
  padding: 3rem 2rem; text-align: center;
  box-shadow: 0 0 60px rgba(224,32,64,0.12);
}
.dl-box::before { content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.dl-box-eyebrow { margin-bottom: 1rem; }
.dl-box-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.75rem; }
.dl-box-desc { color: var(--text-secondary); font-size: 1rem; max-width: 580px; margin: 0 auto 2rem; line-height: 1.65; }
.dl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.dl-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border-default); }
.dl-meta-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.83rem; color: var(--text-muted); }
.dl-meta-item strong { color: var(--text-secondary); }

/* ── Page hero ── */
.page-hero { padding: 3.5rem 0 3rem; text-align: center; border-bottom: 1px solid var(--border-default); background: linear-gradient(180deg, rgba(224,32,64,0.06) 0%, transparent 100%); }
.breadcrumbs { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumbs a { color: var(--text-secondary); transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--amber); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.page-hero-lead { font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.65; }
.reading-time { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.82rem; color: var(--text-muted); }

/* ── Back to top ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 500;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-emphasis);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; transition: var(--t);
  opacity: 0; pointer-events: none; transform: translateY(8px);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }

/* ── Footer ── */
.site-footer { margin-top: auto; background: var(--bg-surface); border-top: 1px solid var(--border-default); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1.1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.15s, padding-left 0.15s; }
.footer-nav a:hover { color: var(--amber); padding-left: 4px; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border-default); display: flex; justify-content: space-between; align-items: center; font-size: 0.83rem; color: var(--text-muted); }
.footer-bottom a { color: var(--amber); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 2rem; background: rgba(0,0,0,0.94); backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; max-width: 88vw; max-height: 88vh; }
.lightbox img { max-width: 88vw; max-height: 85vh; border-radius: var(--r-lg); border: 1px solid var(--border-emphasis); display: block; }
.lightbox-close { position: absolute; top: -42px; right: 0; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.7); border: 1px solid var(--border-emphasis); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--t); }
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--red); border-color: var(--red); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-inner { padding-top: 4rem; }
  .hero-card { max-width: 520px; }
  .hero-h1 { font-size: clamp(3rem,7vw,5rem); }
  .feature-block { grid-template-columns: 1fr; gap: 2rem; }
  .feature-block:nth-child(even) .feature-block-media { order: 0; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
}
@media (max-width: 900px) {
  .specs-grid { grid-template-columns: 1fr; }
  .controls-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .spec-tester-fields { grid-template-columns: 1fr 1fr; }
  .lightbox-prev { left: -40px; }
  .lightbox-next { right: -40px; }
}
@media (max-width: 680px) {
  .nav-list, .nav-actions .btn-steam { display: none; }
  .btn-hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .step { grid-template-columns: 1fr; }
  .step-num { width: 44px; height: 44px; font-size: 1.2rem; }
  .spec-tester-fields { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding: 3rem 0; }
  .roadmap-timeline { padding-left: 2rem; }
  .lightbox-prev { left: -34px; width: 36px; height: 36px; }
  .lightbox-next { right: -34px; width: 36px; height: 36px; }
}

/* ── Countdown ── */
.countdown-wrap { display: flex; align-items: center; gap: 0.5rem; }
.countdown-unit { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-md); padding: 0.6rem 0.8rem; text-align: center; min-width: 62px; }
.countdown-num { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--amber); line-height: 1; }
.cd-sec { color: var(--red) !important; }
.countdown-label { display: block; font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 0.2rem; }
.countdown-sep { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--text-muted); line-height: 1; padding-bottom: 1rem; }

/* ── Lightbox image fade ── */
#lightboxImg { opacity: 0; transition: opacity 0.2s; }
#lightboxImg.loaded { opacity: 1; }

/* ── Inline guide nav TOC ── */
.toc-inline { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--r-md); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.toc-inline-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.85rem; }
.toc-inline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.3rem; }
.toc-inline-grid a { font-size: 0.9rem; color: var(--text-secondary); padding: 0.35rem 0.5rem; border-radius: var(--r-sm); display: block; transition: color 0.15s, background 0.15s; }
.toc-inline-grid a:hover { color: #fff; background: rgba(255,255,255,0.04); }

/* ── Info guarantee box ── */
.guarantee-box { background: rgba(16,185,129,0.07); border: 1px solid rgba(16,185,129,0.3); border-radius: var(--r-lg); padding: 1.75rem 2rem; }
.guarantee-box h3 { font-size: 1.15rem; color: #6ee7b7; margin-bottom: 0.5rem; }
.guarantee-box p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin: 0; }
