/* ─────────────────────────────────────────────────────────────
   Deal Breakers · dealbreakers.tv · Shared stylesheet
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Sans:wght@300;400;500&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }

/* ── TOKENS ── */
:root {
  --black:   #0a0a0a;
  --surface: #161616;
  --surface2:#202020;
  --border:  #2e2e2e;
  --border2: #3d3d3d;
  --yellow:  #e8f32a;
  --red:     #e04b2a;
  --white:   #f0f0f0;
  --muted:   #999;    /* was #666 — now 6.4:1 contrast on --black */
  --dimmed:  #666;    /* was #444 — used for de-emphasised elements only */
  --green:   #3ecf8e;

  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 860px;
  --pad:   clamp(20px, 5vw, 48px);
}

/* ── BASE ── */
html {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Mono text: always regular weight — light weight at small sizes is the readability culprit */
.site-nav a,
.nav-cta,
.eyebrow,
.footer-left,
.footer-links a,
.badge,
.btn {
  font-weight: 400;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a {
  color: var(--yellow);
  text-decoration: none;
  transition: opacity 0.15s;
}
a:hover { opacity: 0.75; }

/* ── HEADER / NAV ── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad);
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo .deal {
  position: relative;
  color: var(--yellow);
}

.logo .deal::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: 50%;
  height: 3px;
  background: var(--red);
  transform: translateY(-50%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover,
.site-nav a.active { color: var(--white); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border: 1px solid var(--yellow);
  border-radius: 3px;
  color: var(--yellow) !important;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--yellow);
  color: var(--black) !important;
  opacity: 1 !important;
}

/* ── PAGE WRAPPER ── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--pad) 96px;
}

/* ── SECTION LABELS ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

/* ── DIVIDER ── */
.rule {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--pad);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.footer-left strong {
  color: var(--white);
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}

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

/* ── UTILITY BADGES ── */
.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
}

.badge-ep  { background: rgba(232,243,42,0.1);  color: var(--yellow); }
.badge-aff { background: rgba(62,207,142,0.1);  color: var(--green);  }
.badge-new { background: rgba(224,75,42,0.1);   color: var(--red);    }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 22px;
}

.card:hover {
  border-color: var(--border2);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover { background: #d4df20; opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .site-nav { display: none; }
  .nav-cta  { display: flex; }

  .header-inner { justify-content: space-between; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
