:root {
  --bg: #0a0c10;
  --bg-alt: #10131a;
  --card: #151920;
  --card-hover: #1b212b;
  --border: #232a35;
  --text: #f2f4f7;
  --text-dim: #98a2b3;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.14);
  --gold: #fbbf24;
  --qb: #f87171;
  --rb: #4ade80;
  --wr: #60a5fa;
  --te: #fbbf24;
  --k: #a78bfa;
  --def: #2dd4bf;
  --fanduel: #1493ff;
  --draftkings: #53d337;
  --draftkings-ink: #04140a;
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; }

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

/* ---------- Nav ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.brand span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #06240f; }
.btn-primary:hover { background: #5eeb92; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-dim); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-dim); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 70px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(74, 222, 128, 0.16), transparent 70%),
    var(--bg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-style: italic;
}

.hero h1 .accent { color: var(--accent); }

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-ctas .btn { padding: 14px 26px; font-size: 0.98rem; }

.hero-note { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Stat bar ---------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 56px auto 0;
  max-width: 900px;
}

.stat-bar .stat {
  background: var(--card);
  padding: 22px 16px;
  text-align: center;
}

.stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat .label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Section shell ---------- */
section { padding: 90px 0; }
section.alt { background: var(--bg-alt); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-dim);
  max-width: 440px;
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ---------- Tools grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  display: block;
}

.card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-hover); }

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.88rem; line-height: 1.5; }

.card .tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- Rankings preview ---------- */
.preview-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.preview-tabs {
  display: flex;
  gap: 6px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.tab-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

table.preview-table { width: 100%; border-collapse: collapse; }

.preview-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}

.preview-table td { padding: 12px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.preview-table tr:last-child td { border-bottom: none; }
.preview-table td.rk { color: var(--text-dim); width: 40px; }
.preview-table td.nm { font-weight: 600; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge.QB { background: rgba(248, 113, 113, 0.15); color: var(--qb); }
.badge.RB { background: rgba(74, 222, 128, 0.15); color: var(--rb); }
.badge.WR { background: rgba(96, 165, 250, 0.15); color: var(--wr); }
.badge.TE { background: rgba(251, 191, 36, 0.15); color: var(--te); }
.badge.K { background: rgba(167, 139, 250, 0.15); color: var(--k); }
.badge.DEF { background: rgba(45, 212, 191, 0.15); color: var(--def); }

.preview-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

/* ---------- Articles ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.article-card .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-card .meta .cat { color: var(--accent); font-weight: 700; }

.article-card h3 { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.35; }
.article-card p { margin: 0; color: var(--text-dim); font-size: 0.88rem; line-height: 1.55; }

/* ---------- NFL News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.news-card:hover { transform: translateY(-3px); border-color: var(--accent); }

.news-thumb {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--bg);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
}

.news-thumb-icon { font-size: 2rem; opacity: 0.6; }

.news-body { padding: 18px; }

.news-time {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
}

.news-body h3 {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
}

.news-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Sponsored ad slot ---------- */
.sponsored {
  background: linear-gradient(135deg, rgba(20, 147, 255, 0.14), rgba(20, 147, 255, 0.02));
  border: 1px solid rgba(20, 147, 255, 0.35);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sponsored .ad-label {
  flex-basis: 100%;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 2px;
}

.sponsored .fd-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--fanduel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  flex: 0 0 auto;
  letter-spacing: -0.02em;
}

.sponsored .body { flex: 1 1 240px; }
.sponsored .body h4 { margin: 0 0 4px; font-size: 1.02rem; }
.sponsored .body p { margin: 0; color: var(--text-dim); font-size: 0.86rem; line-height: 1.4; }

.btn-fanduel { background: var(--fanduel); color: #fff; flex: 0 0 auto; }
.btn-fanduel:hover { background: #0f7fe0; }

.sponsored .fine-print {
  flex-basis: 100%;
  color: var(--text-dim);
  font-size: 0.68rem;
  line-height: 1.4;
  margin-top: 2px;
}

.sponsored .fine-print a { color: var(--text-dim); text-decoration: underline; }

.sponsored.dk {
  background: linear-gradient(135deg, rgba(83, 211, 55, 0.16), rgba(83, 211, 55, 0.02));
  border-color: rgba(83, 211, 55, 0.4);
}

.sponsored .dk-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--draftkings);
  color: var(--draftkings-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  flex: 0 0 auto;
  letter-spacing: -0.02em;
}

.btn-draftkings { background: var(--draftkings); color: var(--draftkings-ink); flex: 0 0 auto; }
.btn-draftkings:hover { background: #46bd2c; }

/* ---------- Value strip ---------- */
.value-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  text-align: center;
}

.value-strip p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
}

.value-strip .who {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: normal;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 90px 24px;
  background: radial-gradient(500px 260px at 50% 0%, rgba(74, 222, 128, 0.14), transparent 70%);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
}

.cta-band p { color: var(--text-dim); margin: 0 0 30px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-grid .brand { margin-bottom: 12px; }
.footer-grid .about { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin: 0 0 14px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--text); font-size: 0.88rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .stat-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  /* Secondary nav CTA is redundant with the hamburger menu at this width — drop it so the
     primary CTA and toggle don't get squeezed off-screen. */
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 400px) {
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 9px 12px; font-size: 0.82rem; }
}
