/* midnightchaserscars.com — Midnight Chasers All Cars Guide */
:root {
  --bg: #fafafa;
  --card: #fff;
  --text: #1a1a2e;
  --text-secondary: #555;
  --accent: #1a56db;
  --accent-hover: #1e40af;
  --accent-red: #dc2626;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 12px;
  --max-w: 1100px;
}

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

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

header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.25rem; font-weight: 700; color: var(--accent); text-decoration: none; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
nav a:hover { color: var(--accent); }

main { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px; }

.hero { text-align: center; padding: 40px 0 48px; }
.hero h1 { font-size: 2.2rem; margin-bottom: 12px; line-height: 1.3; }
.hero p { color: var(--text-secondary); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 32px 0; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 200px; object-fit: cover; background: #e8f0fe; }
.card-body { padding: 16px 20px 20px; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

.content-section { margin: 40px 0; }
.content-section h2 { font-size: 1.5rem; margin-bottom: 8px; }
.content-section p { color: var(--text-secondary); margin-bottom: 20px; max-width: 720px; }
.content-section h3 { font-size: 1.2rem; margin: 24px 0 10px; }

.car-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.93rem; }
.car-table th, .car-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.car-table th { background: var(--accent); color: #fff; font-weight: 600; }
.car-table tr:nth-child(even) { background: #f8fafd; }
.car-table tr:hover { background: #e8f0fe; }

.stat-tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 0.82rem; font-weight: 600; }
.stat-high { background: #dcfce7; color: #166534; }
.stat-mid { background: #fef9c3; color: #854d0e; }
.stat-low { background: #fee2e2; color: #991b1b; }

.codes-list { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; margin: 16px 0; }
.codes-list li { padding: 10px 0; border-bottom: 1px solid var(--border); list-style: none; }
.codes-list li:last-child { border-bottom: none; }
.code-tag { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 4px; font-family: monospace; font-size: 0.9rem; }

footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
footer a { color: var(--accent); text-decoration: none; }

.breadcrumb { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 16px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .grid { grid-template-columns: 1fr; }
  nav { gap: 12px; }
  .car-table { font-size: 0.82rem; }
  .car-table th, .car-table td { padding: 8px 10px; }
}
