/* ==========================================================================
   Modern Athletic / Sports Dashboard Theme
   Inspired by NCAA / ESPN Championship Hubs & FloWrestling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,600;0,700;0,800;0,900;1,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sport-navy: #0f172a;        /* Midnight athletic navy */
  --sport-blue: #1d4ed8;        /* Varsity royal blue */
  --sport-blue-light: #dbeafe;  /* Soft blue tint */
  --sport-red: #e11d48;         /* Championship crimson red */
  --sport-red-light: #ffe4e6;   /* Soft red tint */
  --sport-gold: #f59e0b;        /* Trophy gold */
  --sport-bg: #f8fafc;          /* Crisp light slate background */
  --sport-card: #ffffff;        /* Pure white card */
  --sport-border: #e2e8f0;      /* Slate border */
  --sport-text: #0f172a;        /* Deep charcoal */
  --sport-muted: #64748b;       /* Muted slate */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--sport-bg);
  color: var(--sport-text);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Header / Hero Masthead
   -------------------------------------------------------------------------- */

header#title-block-header, .quarto-title {
  text-align: center;
  margin: 2rem 0 2.25rem 0;
  position: relative;
}

.badge-naia {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 5px 18px;
  background: linear-gradient(135deg, var(--sport-red), #be123c);
  color: #ffffff;
  border-radius: 9999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  margin-bottom: 0.85rem;
}

h1.title, .quarto-title .title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.2rem !important;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--sport-navy) !important;
  text-transform: uppercase;
  margin: 0.25rem auto;
}

.title-main {
  color: var(--sport-navy);
}

.title-accent {
  background: linear-gradient(135deg, var(--sport-blue), var(--sport-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.subtitle, .quarto-title .subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--sport-muted) !important;
  max-width: 740px;
  margin: 0.85rem auto 0 auto;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Navbar (Athletic Varsity Style)
   -------------------------------------------------------------------------- */

.navbar {
  background-color: var(--sport-navy) !important;
  border-bottom: 3px solid var(--sport-red);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.navbar .navbar-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff !important;
}

.navbar .nav-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cbd5e1 !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 6px;
  margin: 0 0.15rem;
  transition: all 0.15s ease;
}

.navbar .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.navbar .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--sport-blue), #2563eb);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* --------------------------------------------------------------------------
   Scoreboard Stat Cards
   -------------------------------------------------------------------------- */

.stat-card {
  background: var(--sport-card);
  border: 1px solid var(--sport-border);
  border-top: 4px solid var(--sport-blue);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.stat-card.card-blue {
  border-top-color: var(--sport-blue);
}

.stat-card.card-red {
  border-top-color: var(--sport-red);
}

.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--sport-navy);
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.stat-card.card-red .stat-num {
  color: var(--sport-red);
}

.stat-card.card-blue .stat-num {
  color: var(--sport-blue);
}

.stat-card .stat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sport-muted);
}

.stat-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-card h4 a {
  color: var(--sport-navy);
  text-decoration: none;
}

.stat-card h4 a:hover {
  color: var(--sport-blue);
}

/* --------------------------------------------------------------------------
   Reactable & Leaderboards
   -------------------------------------------------------------------------- */

.reactable {
  background: #ffffff;
  border: 1px solid var(--sport-border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Headings & Sections
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--sport-navy);
}

h2 {
  font-size: 1.85rem;
  margin-top: 2rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--sport-border);
}

/* --------------------------------------------------------------------------
   Callout Boxes
   -------------------------------------------------------------------------- */

.callout {
  border-radius: 10px !important;
  border-left: 4px solid var(--sport-blue) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.callout-header {
  font-family: var(--font-display);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Mission Box
   -------------------------------------------------------------------------- */

.mission-box {
  background: #ffffff;
  border: 1px solid var(--sport-border);
  border-left: 5px solid var(--sport-red);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.mission-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sport-navy);
  margin-top: 0;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mission-box p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Byline Text
   -------------------------------------------------------------------------- */

.byline-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sport-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

