/* =========================================================================
   NFL Computer Picks — Global Stylesheet
   Brand: data-driven, dark "war room" aesthetic. Emerald = model/win,
   Sky = data, Gold = highlight, Rose = against/loss.
   ========================================================================= */

:root {
  --bg:        #0a111f;
  --bg-2:      #0d1526;
  --surface:   #121c30;
  --surface-2: #17233b;
  --line:      #24324f;
  --line-soft: #1b2740;

  --brand:     #10b981; /* emerald */
  --brand-600: #0e9f70;
  --brand-glow: rgba(16, 185, 129, .35);
  --data:      #38bdf8; /* sky */
  --gold:      #fbbf24;
  --rose:      #f43f5e;

  --text:      #eaf0fa;
  --muted:     #93a1ba;
  --muted-2:   #64748b;

  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 10px 30px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.75);
  --maxw:      1160px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 82% -8%, rgba(16,185,129,.14), transparent 60%),
    radial-gradient(900px 520px at 8% -12%, rgba(56,189,248,.12), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: #34d9a5; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: #d3dcec; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); display: inline-block; }

.muted { color: var(--muted); }
.mono  { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #04150e; box-shadow: 0 8px 24px -8px var(--brand-glow);
}
.btn-primary:hover { color: #04150e; box-shadow: 0 12px 30px -8px var(--brand-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--text); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,17,31,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 900; letter-spacing: -.03em; font-size: 1.12rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .logo { width: 34px; height: 34px; flex: 0 0 auto; }
.brand b { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: .93rem;
  padding: .5rem .8rem; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: .45rem .6rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: .5rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 44ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-trust { display: flex; gap: 1.8rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-trust .stat b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--text); }
.hero-trust .stat span { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature .ico {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(16,185,129,.12); color: var(--brand); margin-bottom: 1rem;
}
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Stat tiles ---------- */
.stat-tile { text-align: center; }
.stat-tile .num { font-size: 2.4rem; font-weight: 900; color: var(--brand); font-family: var(--mono); letter-spacing: -.02em; }
.stat-tile .num.data { color: var(--data); }
.stat-tile .num.gold { color: var(--gold); }
.stat-tile .lbl { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Pick cards ---------- */
.pick-card { position: relative; overflow: hidden; }
.pick-card .teams { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pick-card .team { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.pick-card .team .abbr {
  width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 800; font-size: .8rem; color: #04150e; background: var(--brand);
}
.pick-card .vs { color: var(--muted-2); font-size: .8rem; font-weight: 700; }
.pick-card .kickoff { font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }
.pick-row { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; border-top: 1px solid var(--line-soft); font-size: .92rem; }
.pick-row .k { color: var(--muted); }
.pick-row .v { font-weight: 700; font-family: var(--mono); }
.pick-row .v.pick { color: var(--brand); }

.badge {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800;
  padding: .28rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.badge-win { background: rgba(16,185,129,.15); color: var(--brand); }
.badge-loss { background: rgba(244,63,94,.15); color: var(--rose); }
.badge-lean { background: rgba(56,189,248,.15); color: var(--data); }
.badge-strong { background: rgba(251,191,36,.15); color: var(--gold); }
.badge-push { background: rgba(148,163,184,.15); color: var(--muted); }

.conf-meter { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; margin-top: .2rem; }
.conf-meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--data), var(--brand)); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.data-table th, .data-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); }
.data-table th { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .74rem; letter-spacing: .07em; background: var(--surface); position: sticky; top: 0; }
.data-table tbody tr:hover { background: var(--surface); }
.data-table td.num { font-family: var(--mono); }

/* ---------- Prose (blog / guides) ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { color: #d3dcec; padding-left: 1.2rem; }
.prose li { margin: .4rem 0; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 1.4rem 0; padding: .4rem 0 .4rem 1.2rem; color: var(--muted); font-style: italic; }
.prose code { font-family: var(--mono); background: var(--surface); padding: .1rem .4rem; border-radius: 6px; font-size: .88em; }

/* ---------- Callouts ---------- */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--data); background: var(--surface); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.4rem 0; }
.callout.warn { border-left-color: var(--gold); }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--data); margin-bottom: .5rem; }
.post-card h3 { margin-bottom: .5rem; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--brand); }
.post-card .meta { margin-top: auto; padding-top: 1rem; font-size: .8rem; color: var(--muted); }

/* ---------- Forms / calculator ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.field input, .field select {
  width: 100%; padding: .7rem .85rem; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-size: 1rem; font-family: var(--font);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.calc-result { font-size: 2rem; font-weight: 900; font-family: var(--mono); color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(16,185,129,.16), rgba(56,189,248,.12));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem,5vw,3rem);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); margin-top: 4rem; padding: 3rem 0 2rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .5rem 0; }
.footer-grid a { color: #cad4e6; font-size: .92rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted-2); }
.disclaimer { font-size: .78rem; color: var(--muted-2); max-width: 70ch; margin-top: 1rem; line-height: 1.55; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pill { display:inline-block; font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); background:rgba(251,191,36,.12); padding:.25rem .6rem; border-radius:999px; }
.loading { color: var(--muted); font-family: var(--mono); font-size: .9rem; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin: 1.4rem 0; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--brand); }
hr.rule { border: none; border-top: 1px solid var(--line-soft); margin: 2rem 0; }
