*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1114;
  --surface: #1a1d23;
  --border: #2a2d35;
  --text: #e4e4e7;
  --text-muted: #9ca3af;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --green: #22c55e;
  --yellow: #eab308;
  --tier-budget: #22c55e;
  --tier-mid: #3b82f6;
  --tier-high: #a855f7;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

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

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.site-nav a { color: var(--text-muted); }
.site-nav a:hover { color: var(--text); }

main { padding: 2rem 0; }

.hero { margin-bottom: 2rem; }
.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { color: var(--text-muted); font-size: 1.1rem; }

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.game-card h2, .game-card h3 { margin-bottom: 0.5rem; }
.game-card p { color: var(--text-muted); }

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-provisional { background: rgba(234,179,8,0.15); color: var(--yellow); }
.badge-verified { background: rgba(34,197,94,0.15); color: var(--green); }

.game-hero { margin-bottom: 2rem; }
.game-hero h1 { font-size: 2rem; margin-bottom: 0.25rem; }
.game-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 0.75rem; }

.specs-section { margin-bottom: 2.5rem; }
.specs-section h2 { margin-bottom: 0.5rem; }
.specs-source { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tiers-section { margin-bottom: 2.5rem; }
.tiers-section > h2 { margin-bottom: 1.25rem; }

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.tier-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.tier-header h3 { display: inline; margin-right: 0.75rem; }
.tier-price { font-size: 1.25rem; font-weight: 700; }
.tier-performance {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.tier-budget { border-left: 3px solid var(--tier-budget); }
.tier-budget .tier-price { color: var(--tier-budget); }
.tier-mid { border-left: 3px solid var(--tier-mid); }
.tier-mid .tier-price { color: var(--tier-mid); }
.tier-high { border-left: 3px solid var(--tier-high); }
.tier-high .tier-price { color: var(--tier-high); }

.tier-parts { margin: 0; }
.tier-parts a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.tier-parts a:hover { background: var(--accent-hover); }

.tier-cart {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.btn-cart {
  display: inline-block;
  background: #f0a030;
  color: #111;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-cart:hover { background: #f5b84d; color: #111; }

.content-section { margin-bottom: 2rem; }
.content-section h2 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.content-section p { margin-bottom: 0.75rem; }

.empty-state {
  color: var(--text-muted);
  font-style: italic;
  padding: 2rem 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.site-footer p { margin-bottom: 0.5rem; }

.component-hero { margin-bottom: 2rem; }
.component-type-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.component-subtitle { color: var(--text-muted); font-size: 1rem; margin-top: 0.5rem; }

.build-hero { margin-bottom: 2rem; }
.build-subtitle { color: var(--text-muted); font-size: 1rem; margin-top: 0.5rem; }
.tier-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.tier-label-budget { background: rgba(34,197,94,0.15); color: var(--tier-budget); }
.tier-label-mid { background: rgba(59,130,246,0.15); color: var(--tier-mid); }
.tier-label-high { background: rgba(168,85,247,0.15); color: var(--tier-high); }

.price-comparison { margin-bottom: 2rem; }
.price-comparison h3 { margin-bottom: 0.25rem; }
.price-updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.badge-affiliate {
  font-size: 0.65rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

.appears-in { margin-bottom: 2rem; }
.appears-in h2 { margin-bottom: 0.75rem; }

.build-components { margin-bottom: 2rem; }
.build-components h2 { margin-bottom: 0.75rem; }

.build-games { margin-bottom: 2rem; }
.build-games h2 { margin-bottom: 0.75rem; }

.upgrade-path { margin-bottom: 2rem; }
.upgrade-path h2 { margin-bottom: 0.5rem; }
.upgrade-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.similar-games { margin-bottom: 2rem; }
.similar-games h2 { margin-bottom: 0.75rem; }

.component-type-section { margin-bottom: 2rem; }
.component-type-section h2 { margin-bottom: 0.75rem; }

.verdict-section { margin-bottom: 2rem; }
.verdict-section h2 { margin-bottom: 0.5rem; }

@media (max-width: 600px) {
  .hero h1, .game-hero h1 { font-size: 1.5rem; }
  th, td { padding: 0.4rem 0.5rem; font-size: 0.8rem; }
}
