/*
Theme Name: 903 YFC
Theme URI: https://903youthsports.com
Author: 903 Youth Football & Cheer
Description: Official theme for 903 Youth Football & Cheer organization
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: 903yfc
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --blue: #1a1a1a;
  --blue-dark: #000000;
  --blue-mid: #2e2e2e;
  --blue-light: #a0a0a0;
  --white: #ffffff;
  --off-white: #f2f2f2;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --gray-dark: #1a1a1a;
  --accent: #e8e8e8;
  --shadow: 0 4px 24px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.25);
  --radius: 8px;
  --radius-lg: 16px;
  --font-main: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --transition: all 0.25s ease;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--gray-dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =============================================
   LAYOUT
============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.section-header { margin-bottom: 40px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* =============================================
   HEADER / NAV
============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.site-logo img {
  height: 52px;
  width: auto;
  background: transparent;
  mix-blend-mode: normal;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo-text .org-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-logo-text .org-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Primary Nav */
#primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#primary-nav ul li a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: var(--transition);
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* Dropdown */
#primary-nav ul li { position: relative; }

#primary-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  z-index: 100;
}

#primary-nav ul li:hover > ul { display: flex; }

#primary-nav ul li ul li a {
  color: var(--blue);
  padding: 10px 20px;
  font-size: 0.82rem;
  border-radius: 0;
}

#primary-nav ul li ul li a:hover {
  background: var(--accent);
  color: var(--blue);
}

/* Header Account */
.header-account {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-account a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.header-account a:hover { background: rgba(255,255,255,0.15); }

.header-account .btn-register {
  background: var(--white);
  color: var(--blue);
  padding: 8px 16px;
}

.header-account .btn-register:hover {
  background: var(--off-white);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
============================================= */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: visible;
  }

  /* Video block sits above content, full width, no overlay */
  .hero-video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: 55vw;
    object-fit: cover;
    object-position: center;
    background: var(--blue-dark);
    z-index: 1;
    display: block;
    flex-shrink: 0;
  }

  /* Hide the dark overlay on mobile so video is clean */
  .hero-overlay {
    display: none;
  }

  /* Pattern texture — hide on mobile too so video is pristine */
  .hero::before {
    display: none;
  }

  /* Content area below the video */
  .hero .container {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    padding: 32px 20px 40px;
    width: 100%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 18, 64, 0.82) 0%,
    rgba(10, 31, 92, 0.75) 50%,
    rgba(26, 58, 143, 0.65) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
}

.hero-sound-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 31, 92, 0.75);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-sound-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.hero-sound-btn .sound-icon {
  font-size: 1rem;
  line-height: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero h1 span { color: rgba(255,255,255,0.6); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-emblem {
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.08);
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero-emblem .emblem-num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hero-emblem .emblem-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 8px;
}

/* =============================================
   ANNOUNCEMENT BAR
============================================= */
.announcement-bar {
  background: var(--blue-mid);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
}

.announcement-bar a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* =============================================
   CARDS
============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body { padding: 24px; }
.card-title { font-size: 1.1rem; margin-bottom: 8px; }
.card-meta { font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.card-excerpt { font-size: 0.9rem; color: var(--gray-dark); line-height: 1.6; }

/* =============================================
   DIVISIONS SECTION
============================================= */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.division-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: var(--transition);
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--blue-light);
}

.division-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  line-height: 1;
}

.division-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.division-type {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   SCHEDULE TABLE
============================================= */
.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.schedule-table th {
  background: var(--blue);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table tbody tr:hover { background: var(--accent); }

.week-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-result-w {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.game-result-l {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.game-result-upcoming {
  display: inline-block;
  background: var(--accent);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* =============================================
   STANDINGS TABLE
============================================= */
.standings-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.standings-table th {
  background: var(--blue);
  color: var(--white);
  padding: 14px 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.standings-table th:first-child { text-align: left; }

.standings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-light);
  text-align: center;
  font-weight: 600;
}

.standings-table td:first-child { text-align: left; }

.standings-table tr:last-child td { border-bottom: none; }
.standings-table tbody tr:hover { background: var(--accent); }

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 50%;
  margin-right: 10px;
}

.rank-1 { background: #f59e0b; }
.rank-2 { background: #9ca3af; }
.rank-3 { background: #b45309; }

/* =============================================
   SCORES PAGE
============================================= */
.scores-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: var(--white);
}

.score-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.score-card:hover { box-shadow: var(--shadow-lg); }

.score-team {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-team.home { text-align: left; }
.score-team.away { text-align: right; }

.team-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-division {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 600;
}

.score-display {
  text-align: center;
}

.score-numbers {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.score-meta {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-top: 4px;
}

/* =============================================
   FORMS (Login/Register)
============================================= */
.auth-wrap {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--off-white);
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}

.auth-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 36px 40px 28px;
  text-align: center;
}

.auth-header .auth-logo {
  height: 56px;
  margin: 0 auto 16px;
}

.auth-header h2 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 6px;
}

.auth-body { padding: 36px 40px; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,31,92,0.1);
}

.form-control::placeholder { color: #b0b8c8; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a1f5c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-btn {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.form-btn:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.auth-footer {
  text-align: center;
  padding: 16px 40px 28px;
  font-size: 0.85rem;
  color: var(--gray);
  border-top: 1px solid var(--gray-light);
}

.auth-footer a { color: var(--blue); font-weight: 700; }

/* WP Login form override */
#loginform, #registerform {
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* =============================================
   DASHBOARD
============================================= */
.dashboard-wrap {
  padding: 48px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.dashboard-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-sidebar-header {
  background: var(--blue);
  padding: 24px;
  text-align: center;
}

.dashboard-avatar {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.dashboard-username {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.dashboard-role {
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.dashboard-nav { padding: 16px 0; }

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--gray-dark);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: var(--accent);
  color: var(--blue);
  padding-left: 28px;
}

.dashboard-main { display: flex; flex-direction: column; gap: 24px; }

.dashboard-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-widget-header {
  background: var(--blue);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-widget-header h3 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.dashboard-widget-body { padding: 24px; }

/* =============================================
   NEWS / BLOG
============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-card-img img { width: 100%; height: 100%; object-fit: cover; }

.news-card-body { padding: 24px; }

.news-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-date { font-size: 0.78rem; color: var(--gray); margin-bottom: 10px; }

.news-excerpt { font-size: 0.88rem; color: var(--gray-dark); line-height: 1.6; }

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   UTILITY CLASSES
============================================= */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-blue { color: var(--blue) !important; }
.bg-blue { background: var(--blue); }
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.divider { border: none; border-top: 1px solid var(--gray-light); margin: 32px 0; }

/* =============================================
   ALERTS / MESSAGES
============================================= */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.alert-success { background: #dcfce7; color: #166534; border-left: 4px solid #16a34a; }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.alert-info { background: var(--accent); color: var(--blue); border-left: 4px solid var(--blue-light); }

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  justify-content: center;
  margin-top: 12px;
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.4; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  #primary-nav, .header-account { display: none; }
  .nav-toggle { display: flex; }

  #primary-nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    padding: 16px 0;
  }

  #primary-nav.open ul {
    flex-direction: column;
    gap: 0;
  }

  #primary-nav.open ul li a {
    padding: 14px 24px;
    border-radius: 0;
  }

  .score-card { grid-template-columns: 1fr; text-align: center; }
  .score-team.away { text-align: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .auth-header, .auth-body, .auth-footer { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 2rem; }
}

/* =============================================
   SCORE PILL (game cards)
============================================= */
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  min-width: 90px;
  justify-content: center;
}
.score-pill .score-dash { font-size: 1rem; opacity: 0.5; }

/* Away team helmet right-aligned */
.game-team-away img { margin-left: auto; }
.score-pill.scored   { background: var(--blue); color: var(--white); }
.score-pill.today    { background: #fef9c3; color: #713f12; border: 2px dashed #f59e0b; }
.score-pill.upcoming { background: var(--gray-light); color: var(--gray); font-size: 1rem; }
