/* ============================================================
   NFL — TheFour11 Design System
   ============================================================ */

:root {
  --bg: #07100a;
  --bg-card: #0d1a10;
  --bg-card-hover: #132016;
  --border: #1a3020;
  --border-light: #26462e;
  --text: #c8dcc8;
  --text-muted: #5a8060;
  --text-bright: #ffffff;

  /* Accent */
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --blue: #3b82f6;

  /* Conference colors */
  --afc: #d4293b;
  --nfc: #1a56c9;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; }
img { max-width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  background: rgba(7, 16, 10, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  height: 62px;
}

.nav-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-bright);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  letter-spacing: -0.01em;
}

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

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 0 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 62px;
  transition: color 0.15s;
  white-space: nowrap;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  margin-left: 1rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ============================================================
   CONTAINER / LAYOUT
   ============================================================ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-header { margin-bottom: 2rem; }

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.section-subtitle { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: linear-gradient(160deg, #07100a 0%, #0d1a10 40%, #0a1208 100%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(255,255,255,0.008) 24px, rgba(255,255,255,0.008) 48px);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

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

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero-stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
}

.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light); }
.btn-outline:hover { background: var(--bg-card); border-color: var(--text-muted); }

/* ============================================================
   BADGES
   ============================================================ */

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-afc    { background: var(--afc); color: #fff; }
.badge-nfc    { background: var(--nfc); color: #fff; }
.badge-green  { background: var(--accent); color: #000; }
.badge-gold   { background: var(--gold); color: #000; }
.badge-gray   { background: var(--bg-card); color: var(--text-muted); border: 1px solid var(--border); }
.badge-new    { background: #22c55e; color: #000; }
.badge-live   { background: #ef4444; color: #fff; }
.badge-soon   { background: var(--gold); color: #000; }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.18s, background 0.18s;
}

.card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Conference/Division cards */
.conf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.conf-header {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

.conf-header.afc { background: rgba(212, 41, 59, 0.15); border-bottom: 1px solid rgba(212,41,59,0.3); }
.conf-header.nfc { background: rgba(26, 86, 201, 0.15); border-bottom: 1px solid rgba(26,86,201,0.3); }

.division-block { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.division-block:last-child { border-bottom: none; }
.division-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.team-list { display: flex; flex-direction: column; gap: 0.3rem; }

.team-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.team-item:hover { color: var(--accent); }

.team-city { color: var(--text-muted); font-size: 0.82rem; }

/* Team profile cards */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.team-card.afc::before { background: var(--afc); }
.team-card.nfc::before { background: var(--nfc); }

.team-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.team-card .team-name {
  font-weight: 700;
  color: var(--text-bright);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.team-card .team-city {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Prospect cards */
.prospect-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.2s;
  position: relative;
}

.prospect-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.prospect-rank {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  line-height: 1;
}

.prospect-pos {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.prospect-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 0.15rem;
}

.prospect-school {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.prospect-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.page-header .lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
}

/* ============================================================
   TABLES
   ============================================================ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.025); }
.data-table a { color: var(--text); text-decoration: none; }
.data-table a:hover { color: var(--accent); }

/* ============================================================
   STAT BOXES
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   INFO / CALLOUT BOXES
   ============================================================ */

.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout.gold  { border-left-color: var(--gold); background: rgba(245,158,11,0.06); }
.callout.afc   { border-left-color: var(--afc); }
.callout.nfc   { border-left-color: var(--nfc); }
.callout.warn  { border-left-color: var(--gold); background: rgba(245,158,11,0.06); }

.callout-title {
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.callout p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   LONG-FORM PROSE
   ============================================================ */

.prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-bright);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin: 1.75rem 0 0.5rem;
}

.prose p {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.prose ul, .prose ol {
  color: var(--text);
  margin: 0.75rem 0 1rem 1.5rem;
  font-size: 0.95rem;
}

.prose li { margin-bottom: 0.35rem; line-height: 1.65; }
.prose strong { color: var(--text-bright); font-weight: 700; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.625rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.timeline-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   EVENT STAT BLOCK
   ============================================================ */

.event-stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.event-stat .stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1;
}

.event-stat .stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   GRIDS
   ============================================================ */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.grid-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.grid-prospects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

/* ============================================================
   UTILITY
   ============================================================ */

.text-muted  { color: var(--text-muted); }
.text-bright { color: var(--text-bright); }
.text-accent { color: var(--accent); }
.text-gold   { color: var(--gold); }
.text-afc    { color: var(--afc); }
.text-nfc    { color: var(--nfc); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.tag {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  margin-top: 5rem;
}

.footer-cols {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

footer p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer h4 { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.4rem; }
footer ul li a { color: var(--text-muted); font-size: 0.85rem; }
footer ul li a:hover { color: var(--text-bright); text-decoration: none; }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-disclaimer { font-size: 0.78rem; color: #3a5040; margin-top: 0.4rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(7,16,10,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    line-height: 1;
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto, .grid-teams, .grid-prospects { grid-template-columns: 1fr; }

  .hero { padding: 3rem 1.25rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
}

/* ============================================================
   TheFour11 parent site bar
   ============================================================ */

.the411-bar {
  background: #050810;
  border-bottom: 1px solid #1a2840;
  padding: 0.45rem 1.25rem;
  font-size: 0.78rem;
  color: #4a6a8a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.the411-bar a {
  color: #ff6b35;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}

.the411-bar a:hover { color: #ff8a5a; }
.the411-bar .sep { color: #2a3f5f; }

/* Ad unit styles */
.ad-unit {
  margin: 2rem auto;
  text-align: center;
  max-width: 728px;
}

.ad-unit-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.ad-unit ins {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
