/**
 * Ball603 Design System
 * Version: 3.0.0
 * 
 * Unified styles for all pages
 * 
 * TABLE OF CONTENTS:
 * 1. CSS Reset & Variables
 * 2. Base Styles
 * 3. Scores Ticker
 * 4. Site Header
 * 5. Navigation & Dropdowns
 * 6. Search
 * 7. Mobile Menu
 * 8. Site Footer
 * 9. Buttons & Common Components
 * 10. Home Page (index.html)
 * 11. Schedule Page
 * 12. Standings Page
 * 13. 1K in the 603 Page
 * 14. 603 in the NCAA Page
 * 15. NHIAA History Page
 * 16. Utility Classes
 */

/* ==========================================================================
   1. CSS RESET & VARIABLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --brand-orange: #f57c00;
  --brand-orange-hover: #ff9800;
  --brand-orange-light: #fff3e0;
  --brand-orange-dark: #3d2a00;
  
  /* Core Colors */
  --dark: #1a1a1a;
  --darker: #111111;
  --light: #f5f5f5;
  --light-gray: #e8e8e8;
  
  /* Light Theme (Desktop Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #e8e8e8;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-color: #e0e0e0;
  
  /* Header/Dropdown */
  --dropdown-bg: #f7f7f7;
  --dropdown-hover: #ebebeb;
  --text-dark: #1a1a1a;
  --text-light: rgba(255,255,255,0.7);
  --text-light-muted: rgba(255,255,255,0.5);
  --border-dark: #333;
  --header-height: 56px;
  
  /* Accent */
  --accent: var(--brand-orange);
  --accent-hover: var(--brand-orange-hover);
  --accent-light: var(--brand-orange-light);
  --score-win: #2e7d32;
  --score-win-bg: #e8f5e9;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 10px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 28px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-modal: 2000;
  --z-toast: 3000;
}

/* Dark Theme (Mobile) */
@media (max-width: 768px) {
  :root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --border-color: #333333;
    --accent-light: var(--brand-orange-dark);
    --score-win-bg: #1a3d1a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.4);
  }
}

/* ==========================================================================
   2. BASE STYLES
   ========================================================================== */

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* ==========================================================================
   3. SCORES TICKER
   ========================================================================== */

.ticker {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  transition: max-height var(--transition-normal), opacity var(--transition-normal);
  overflow: hidden;
}

.ticker.collapsed {
  max-height: 0;
  border-bottom: none;
}

.ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.ticker-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.ticker-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}

.ticker-toggle:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.ticker-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-md) var(--space-sm);
  gap: var(--space-md);
}

.ticker-scroll::-webkit-scrollbar {
  display: none;
}

.ticker-game {
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  min-width: 180px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ticker-game:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ticker-game:first-child {
  margin-left: var(--space-sm);
}

.ticker-game:last-child {
  margin-right: var(--space-sm);
}

.ticker-status {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  color: var(--text-muted);
}

.ticker-status.final {
  color: var(--score-win);
}

.ticker-status.live {
  color: #c41e3a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ticker-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 3px 0;
}

.ticker-team-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.ticker-team-logo {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  flex-shrink: 0;
  object-fit: contain;
}

.ticker-team-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.ticker-team-name.winner {
  font-weight: var(--font-weight-bold);
}

.ticker-team-score {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-secondary);
  min-width: 28px;
  text-align: right;
}

.ticker-team-score.winner {
  color: var(--accent);
}

.ticker-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-xs);
}

.ticker-division {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.ticker-coverage {
  display: flex;
  gap: 4px;
}

.ticker-coverage-icon {
  font-size: var(--font-size-sm);
}

/* Collapsed ticker bar */
.ticker-expand {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.ticker-expand:hover {
  background: var(--bg-tertiary);
}

.ticker.collapsed + .ticker-expand {
  display: flex;
}

.ticker-expand span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--accent);
}

/* ==========================================================================
   4. SITE HEADER
   ========================================================================== */

.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--brand-orange);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  margin-right: 32px;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* ==========================================================================
   5. NAVIGATION & DROPDOWNS
   ========================================================================== */

/* Main Navigation - LEFT ALIGNED */
.header-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}

.nav-item:first-child .nav-link {
  padding-left: 0;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: var(--brand-orange);
}

.nav-item.active .nav-link {
  color: var(--brand-orange);
}

/* Dropdown - Light Gray Background */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dropdown-bg);
  border: 1px solid #ccc;
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Simple dropdown list */
.dropdown-list a {
  display: block;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 16px;
  transition: all 0.15s;
}

.dropdown-list a:hover {
  background: var(--dropdown-hover);
  color: var(--brand-orange);
}

.dropdown-all-link {
  color: var(--brand-orange) !important;
  font-weight: 500 !important;
  border-top: 1px solid #ddd;
  margin-top: 6px;
  padding-top: 10px !important;
}

/* Nested dropdown (Teams) */
.nav-dropdown.dropdown-nested {
  padding: 8px 0;
}

.dropdown-item-parent {
  position: relative;
}

.dropdown-item-parent > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 16px;
  transition: all 0.15s;
}

.dropdown-item-parent > a svg {
  opacity: 0.4;
  transition: opacity 0.15s;
}

.dropdown-item-parent:hover > a {
  background: var(--dropdown-hover);
  color: var(--brand-orange);
}

.dropdown-item-parent:hover > a svg {
  opacity: 1;
}

.dropdown-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--dropdown-bg);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* Multi-column team grid */
.dropdown-submenu.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0 20px;
  min-width: 320px;
  max-width: 500px;
}

.dropdown-submenu.teams-grid a {
  padding: 6px 8px;
}

.dropdown-submenu .submenu-footer {
  grid-column: 1 / -1;
  border-top: 1px solid #ddd;
  margin-top: 8px;
  padding-top: 8px;
}

.dropdown-submenu .submenu-footer a {
  color: var(--brand-orange);
  font-weight: 500;
}

.dropdown-item-parent:hover .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-submenu a {
  display: block;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 16px;
  transition: all 0.15s;
}

.dropdown-submenu a:hover {
  background: var(--dropdown-hover);
  color: var(--brand-orange);
}

.dropdown-submenu a:last-child {
  color: var(--brand-orange);
  font-weight: 500;
  border-top: 1px solid #ddd;
  margin-top: 4px;
  padding-top: 10px;
}

/* Override for teams-grid - submenu-footer handles the border */
.dropdown-submenu.teams-grid a:last-child {
  border-top: none;
  margin-top: 0;
  padding-top: 8px;
}

.dropdown-submenu.teams-grid .submenu-footer a {
  padding: 0;
}

/* Two-section dropdown (Schedule) - TIGHT */
.nav-dropdown.dropdown-split {
  padding: 12px 16px;
}

.dropdown-sections {
  display: flex;
  gap: 20px;
}

.dropdown-section h4 {
  color: #888;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.dropdown-section a {
  display: block;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 400;
  padding: 5px 0;
  transition: color 0.15s;
}

.dropdown-section a:hover {
  color: var(--brand-orange);
}

/* Right side: Social + Search */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Social Icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  border-radius: 4px;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--brand-orange);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   6. SEARCH
   ========================================================================== */

.header-search {
  position: relative;
}

.search-toggle {
  height: 32px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  background: #333;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
}

.search-toggle:hover {
  background: #444;
  color: #fff;
}

.search-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 320px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--light);
  border: 1px solid #ddd;
  border-radius: 6px;
  color: var(--text-dark);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--brand-orange);
}

.search-input::placeholder {
  color: #999;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.search-input-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.search-results {
  margin-top: 12px;
  max-height: 300px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.search-result-item:hover {
  background: var(--light);
}

.search-result-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.search-result-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.search-result-info span {
  font-size: 12px;
  color: #888;
}

.search-hint {
  font-size: 11px;
  color: #888;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

/* ==========================================================================
   7. MOBILE MENU
   ========================================================================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--dark);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.mobile-nav-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s;
}

.mobile-nav-item.expanded .mobile-nav-link svg {
  transform: rotate(180deg);
}

.mobile-subnav {
  display: none;
  background: rgba(255,255,255,0.05);
  padding: 10px 0;
}

.mobile-nav-item.expanded .mobile-subnav {
  display: block;
}

.mobile-subnav-header {
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px 6px;
}

.mobile-subnav a {
  display: block;
  padding: 10px 24px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-dark);
}

.mobile-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-search {
  position: relative;
}

.mobile-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

/* Header Responsive - Hide nav, show mobile toggle */
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }
  
  .header-social {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-drawer {
    display: block;
  }
}

/* ==========================================================================
   8. SITE FOOTER
   ========================================================================== */

.site-footer {
  background: var(--dark);
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  margin-top: 60px;
}

.footer-logo {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: #ffffff;
  font-size: 14px;
  margin: 0 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--brand-orange);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-copyright {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* ==========================================================================
   9. BUTTONS & COMMON COMPONENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--border-color);
}

.btn-pill {
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
}

/* Main Content Container */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

@media (max-width: 768px) {
  .main-content {
    padding: var(--space-md);
    padding-bottom: 80px; /* Space for bottom nav */
  }
}

/* Page Title & Subtitle */
.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 32px;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.section-link {
  color: var(--accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  transition: opacity var(--transition-fast);
}

.section-link:hover {
  opacity: 0.8;
}

/* Bottom Nav (Mobile) */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-sm) 0;
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  z-index: var(--z-header);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }
}

.bottom-nav-items {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border: none;
  background: none;
  transition: color var(--transition-fast);
}

.bottom-nav-item.active {
  color: var(--accent);
}

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

.bottom-nav-icon {
  font-size: 22px;
}

/* Gallery Overlay */
.gallery-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: var(--z-modal);
  flex-direction: column;
}

.gallery-overlay.active {
  display: flex;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  color: white;
}

.gallery-close {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: var(--space-xs);
}

.gallery-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  flex: 1;
  text-align: center;
}

.gallery-count {
  font-size: var(--font-size-sm);
  opacity: 0.7;
  min-width: 50px;
  text-align: right;
}

.gallery-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-md);
  transform: translateY(-50%);
  pointer-events: none;
}

.gallery-arrow {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: background var(--transition-fast);
}

.gallery-arrow:hover {
  background: var(--accent);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: var(--space-md);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.gallery-dot.active {
  background: var(--accent);
}

.gallery-info {
  padding: var(--space-md);
  color: white;
}

.gallery-caption {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.gallery-credit {
  font-size: var(--font-size-sm);
  opacity: 0.6;
}

.gallery-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.gallery-action-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: background var(--transition-fast);
}

.gallery-action-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Loading States */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.empty-state-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.empty-state-text {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-lg);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  opacity: 0;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast.success {
  background: var(--score-win);
  color: white;
}

.toast.error {
  background: #c41e3a;
  color: white;
}

/* Ad Slots (Future) */
.ad-slot {
  background: var(--bg-tertiary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* ==========================================================================
   10. HOME PAGE (index.html)
   ========================================================================== */

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: var(--bg-tertiary);
}

.hero-main img,
.hero-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px var(--space-lg) var(--space-lg);
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: white;
}

@media (max-width: 768px) {
  .hero-overlay {
    padding: 40px var(--space-md) var(--space-md);
  }
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero-tag.video {
  background: #c41e3a;
}

.hero-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--font-size-lg);
  }
}

.hero-meta {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.7);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.hero-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
}

/* Hero sidebar */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-secondary {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
  cursor: pointer;
  background: var(--bg-tertiary);
}

.hero-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-secondary .hero-overlay {
  padding: 40px var(--space-md) var(--space-md);
}

.hero-secondary .hero-title {
  font-size: var(--font-size-md);
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .hero-sidebar {
    flex-direction: row;
  }
  .hero-secondary {
    min-height: 200px;
  }
}

@media (max-width: 600px) {
  .hero-sidebar {
    flex-direction: column;
  }
  .hero-secondary {
    min-height: 180px;
    aspect-ratio: 16/9;
  }
}

/* Today's Games Section */
.today-section {
  margin-bottom: var(--space-xl);
}

.today-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.today-scroll::-webkit-scrollbar {
  display: none;
}

.game-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  min-width: 280px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.game-card-time {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--accent);
}

.game-card-division {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.game-card-teams {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.game-card-team {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.game-card-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  object-fit: contain;
}

.game-card-name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.game-card-coverage {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.coverage-badge {
  font-size: var(--font-size-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: var(--font-weight-semibold);
}

/* Feed Layout */
.feed {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
}

@media (max-width: 900px) {
  .feed {
    grid-template-columns: 1fr;
  }
}

.feed-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.feed-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .feed-sidebar {
    display: none;
  }
}

/* Story Cards */
.story-card {
  display: flex;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.story-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.story-image {
  width: 160px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  background: var(--bg-tertiary);
}

@media (max-width: 500px) {
  .story-image {
    width: 120px;
    height: 68px;
  }
}

.story-content {
  flex: 1;
  min-width: 0;
}

.story-tag {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.story-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 500px) {
  .story-excerpt {
    display: none;
  }
}

.story-meta {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* Sidebar Cards */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-card-header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-card-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.sidebar-card-link {
  font-size: var(--font-size-sm);
  color: var(--accent);
  font-weight: var(--font-weight-semibold);
}

.sidebar-card-content {
  padding: var(--space-md);
}

/* Standings Mini */
.standings-mini {
  display: flex;
  flex-direction: column;
}

.standings-row {
  display: flex;
  align-items: center;
  padding: var(--space-sm);
  gap: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.standings-row:last-child {
  border-bottom: none;
}

.standings-rank {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-muted);
  width: 18px;
}

.standings-logo {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  object-fit: contain;
}

.standings-team {
  flex: 1;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}

.standings-record {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: var(--font-weight-semibold);
}

/* Photos Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.photo-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.photo-thumb:hover img {
  transform: scale(1.05);
}

.photo-thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xs) var(--space-sm);
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

.photo-count {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: var(--font-size-xs);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Demo Sections (Home Page) */
.demo-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.demo-section h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.demo-card {
  background: var(--light);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.demo-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.demo-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.demo-card p {
  font-size: 12px;
  color: #666;
}

/* ==========================================================================
   11. SCHEDULE PAGE
   ========================================================================== */

.schedule-main {
  padding: 24px 20px 80px;
  background: var(--light);
  min-height: calc(100vh - var(--header-height));
}

.schedule-controls {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.date-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.date-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}

.current-date {
  font-size: 18px;
  font-weight: 600;
  min-width: 260px;
  text-align: center;
}

.current-date .day-name {
  color: var(--brand-orange);
}

.today-btn {
  background: var(--brand-orange);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.today-btn:hover {
  background: var(--brand-orange-hover);
}

.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  background: white;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--brand-orange);
}

/* Schedule Page Search Box */
.schedule-main .search-box {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  width: 150px;
}

.schedule-main .search-box:focus {
  outline: none;
  border-color: var(--brand-orange);
}

.calendar-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.calendar-btn:hover {
  border-color: var(--brand-orange);
}

/* Schedule Section Header */
.schedule-main .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.schedule-main .section-title {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-count {
  font-size: 13px;
  color: #999;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

@media (max-width: 600px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .schedule-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .date-nav {
    justify-content: center;
  }
  
  .filters {
    justify-content: center;
  }
  
  .current-date {
    min-width: auto;
    font-size: 16px;
  }
}

/* Schedule Game Card */
.schedule-main .game-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 0;
  padding: 0;
  border: none;
}

.schedule-main .game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.schedule-main .game-card-header {
  background: #333;
  color: white;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 0;
}

.game-level {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-time {
  font-weight: 500;
}

.game-status {
  color: var(--brand-orange);
  font-weight: 600;
}

.game-card-body {
  padding: 16px;
}

.game-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.game-team:last-child {
  border-bottom: none;
}

.team-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.team-record {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.team-score {
  font-size: 20px;
  font-weight: 700;
  color: #999;
  min-width: 36px;
  text-align: right;
}

.team-score.winner {
  color: var(--brand-orange);
}

.game-card-footer {
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-venue {
  font-size: 12px;
  color: #888;
}

.game-coverage {
  display: flex;
  gap: 8px;
}

.coverage-link {
  font-size: 16px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.coverage-link:hover {
  opacity: 1;
}

.game-description {
  background: rgba(245, 124, 0, 0.08);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Schedule Empty State */
.schedule-main .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-title {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.empty-text {
  font-size: 14px;
}

/* Calendar Modal */
.calendar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.calendar-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-modal {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  min-width: 320px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  color: #666;
}

.calendar-header button:hover {
  color: var(--brand-orange);
}

.calendar-month {
  font-size: 18px;
  font-weight: 600;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  margin-bottom: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.calendar-day:hover {
  background: #f5f5f5;
}

.calendar-day.other-month {
  color: #ccc;
}

.calendar-day.today {
  background: #f5f5f5;
  font-weight: 600;
}

.calendar-day.selected {
  background: var(--brand-orange);
  color: white;
}

.calendar-day.has-games::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 50%;
}

/* ==========================================================================
   12. STANDINGS PAGE
   ========================================================================== */

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.standings-page .page-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.standings-page .page-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Standings Grid - 2 columns on desktop */
.standings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .standings-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Each gender box */
.gender-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

/* Gender header with tabs */
.gender-header {
  display: flex;
  align-items: flex-end;
  padding: var(--space-md) var(--space-md) 0;
  gap: var(--space-md);
  position: relative;
  background: var(--bg-card);
}

.gender-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  z-index: 5;
}

.gender-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  padding-bottom: var(--space-sm);
}

.division-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.division-tab {
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  background: var(--accent-light);
  color: var(--accent);
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.division-tab:hover {
  background: var(--bg-tertiary);
}

.division-tab.active {
  background: var(--accent);
  color: white;
  z-index: 10;
}

/* Scrollable table container */
.table-wrapper {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

/* Standings table */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.standings-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.standings-table th {
  background: var(--bg-tertiary);
  padding: var(--space-sm);
  text-align: left;
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  white-space: nowrap;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.standings-table th.center {
  text-align: center;
}

.standings-table td {
  padding: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  white-space: nowrap;
}

.standings-table td.center {
  text-align: center;
}

.standings-table tbody tr:hover {
  background: var(--bg-tertiary);
}

/* Columns */
.seed-col {
  width: 36px;
  text-align: center;
  font-weight: var(--font-weight-bold);
}

.team-col { }

.team {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.standings-table .team-logo {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg-tertiary);
}

.standings-table .team-name {
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.standings-table .team-name:hover {
  color: var(--accent);
}

.record-col {
  width: 40px;
  text-align: center;
}

.rating-col {
  width: 60px;
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Playoff indicators */
.playoff-in {
  color: var(--score-win);
}

.playoff-out {
  color: var(--text-muted);
}

.playoff-line {
  position: relative;
}

.playoff-line td {
  border-bottom: none !important;
}

.playoff-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 2px dashed var(--accent);
}

/* Division footer */
.division-footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  text-align: center;
}

/* Standings Loading */
.standings-page .loading {
  padding: var(--space-2xl);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* Standings Mobile adjustments */
@media (max-width: 768px) {
  .gender-header {
    flex-wrap: wrap;
    padding: var(--space-sm) var(--space-sm) 0;
  }
  
  .gender-header::after {
    display: none;
  }
  
  .gender-box {
    border-bottom: 2px solid var(--accent);
  }
  
  .gender-title {
    font-size: var(--font-size-lg);
  }
  
  .division-tabs {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding-bottom: var(--space-sm);
  }
  
  .division-tab {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    flex: 1;
    text-align: center;
  }
  
  .table-wrapper {
    max-height: 320px;
  }
  
  .standings-table .team-logo {
    width: 20px;
    height: 20px;
  }
  
  .standings-table .team-name {
    font-size: var(--font-size-xs);
  }
  
  .rating-col {
    display: none;
  }
  
  .record-col {
    width: 32px;
  }
  
  .seed-col {
    width: 28px;
  }
}

/* ==========================================================================
   13. 1K IN THE 603 PAGE
   ========================================================================== */

/* Page-specific color variables */
.page-1k {
  --gold: #ffd700;
  --gold-dark: #b8960c;
}

/* 1K Hero Section */
.page-1k .hero {
  display: block;
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 50%, var(--gold-dark) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.page-1k .hero::before {
  content: '1000';
  position: absolute;
  font-size: 300px;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #ffd700;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 20px;
}

.page-1k .hero h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-1k .hero h1 span {
  color: #ffd700;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Live Counter */
.hero-counter {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
}

.counter-value {
  font-size: 48px;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
}

.counter-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-top: 4px;
}

/* 1K Filters Bar */
.page-1k .filters-bar {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 20px;
  position: sticky;
  top: 56px;
  z-index: 90;
}

.page-1k .filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-1k .filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-1k .filter-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-1k .filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.page-1k .filter-select:focus {
  outline: none;
  border-color: #ffd700;
}

.page-1k .search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.page-1k .search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.page-1k .search-box::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.results-count {
  font-size: 13px;
  color: #666;
  margin-left: auto;
}

/* 1K Main Content */
.page-1k .main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Leaderboard Section */
.leaderboard-section {
  margin-bottom: 40px;
}

.page-1k .section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Top 3 Podium */
.top-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.podium-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.2s;
}

.podium-card:hover {
  transform: translateY(-4px);
}

.podium-card.first {
  background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
  border: 2px solid #ffd700;
  order: 2;
  transform: scale(1.05);
}

.podium-card.first:hover {
  transform: scale(1.05) translateY(-4px);
}

.podium-card.second {
  order: 1;
}

.podium-card.third {
  order: 3;
}

.podium-rank {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.first .podium-rank {
  background: linear-gradient(135deg, #ffd700, #ffeb3b);
  color: var(--dark);
}

.second .podium-rank {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: var(--dark);
}

.third .podium-rank {
  background: linear-gradient(135deg, #cd7f32, #daa06d);
  color: white;
}

.podium-school-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 10px auto;
}

.podium-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.podium-school {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.podium-points {
  font-size: 36px;
  font-weight: 900;
  color: #b8960c;
  line-height: 1;
}

.podium-points-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.podium-meta {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}

/* Scorer List */
.scorers-list {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.scorer-row {
  display: grid;
  grid-template-columns: 50px 60px 1fr 120px 100px 80px;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.scorer-row:hover {
  background: #fafafa;
}

.scorer-row.header {
  background: var(--dark);
  color: white;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 12px 20px;
}

.scorer-row.header:hover {
  background: var(--dark);
}

.scorer-rank {
  font-weight: 700;
  color: #888;
  text-align: center;
}

.scorer-row:nth-child(2) .scorer-rank,
.scorer-row:nth-child(3) .scorer-rank,
.scorer-row:nth-child(4) .scorer-rank {
  color: #b8960c;
  font-size: 16px;
}

.scorer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.scorer-info {
  display: flex;
  flex-direction: column;
}

.scorer-name {
  font-weight: 600;
  font-size: 15px;
}

.scorer-name a {
  color: inherit;
  text-decoration: none;
}

.scorer-name a:hover {
  color: #b8960c;
}

.scorer-school {
  font-size: 13px;
  color: #666;
}

.scorer-school a {
  color: #666;
  text-decoration: none;
}

.scorer-school a:hover {
  color: #b8960c;
}

.scorer-years {
  font-size: 13px;
  color: #888;
}

.scorer-gender {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
}

.scorer-gender.boys {
  background: #e3f2fd;
  color: #1565c0;
}

.scorer-gender.girls {
  background: #fce4ec;
  color: #c2185b;
}

.scorer-points {
  font-size: 20px;
  font-weight: 800;
  color: #b8960c;
  text-align: right;
}

/* School Leaders Section */
.school-leaders {
  margin-top: 50px;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.school-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.school-card:hover {
  transform: translateY(-2px);
}

.school-card-header {
  background: var(--dark);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.school-card-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.school-card-name {
  font-weight: 600;
  font-size: 15px;
}

.school-card-count {
  margin-left: auto;
  background: #ffd700;
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.school-card-list {
  padding: 8px 0;
}

.school-scorer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.school-scorer:last-child {
  border-bottom: none;
}

.school-scorer-name {
  font-weight: 500;
}

.school-scorer-points {
  font-weight: 700;
  color: #b8960c;
}

.school-card-link {
  display: block;
  text-align: center;
  padding: 10px;
  color: #b8960c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid #f0f0f0;
}

.school-card-link:hover {
  background: #fafafa;
}

/* Milestones Section */
.milestones-section {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--dark) 0%, #333 100%);
  border-radius: 16px;
  padding: 30px;
  color: white;
}

.milestones-section .section-title {
  color: white;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.milestone-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.milestone-value {
  font-size: 32px;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
}

.milestone-label {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 6px;
}

/* Submit CTA */
.submit-cta {
  margin-top: 50px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.submit-cta h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.submit-cta p {
  color: #666;
  margin-bottom: 16px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffd700;
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: #b8960c;
  transform: translateY(-2px);
}

/* 1K Responsive */
@media (max-width: 900px) {
  .top-three {
    grid-template-columns: 1fr;
  }
  
  .podium-card.first {
    order: 1;
    transform: none;
  }
  
  .podium-card.first:hover {
    transform: translateY(-4px);
  }
  
  .podium-card.second {
    order: 2;
  }
  
  .podium-card.third {
    order: 3;
  }
  
  .scorer-row {
    grid-template-columns: 40px 50px 1fr 80px;
  }
  
  .scorer-years,
  .scorer-gender {
    display: none;
  }
}

@media (max-width: 600px) {
  .page-1k .hero h1 {
    font-size: 36px;
  }
  
  .page-1k .hero::before {
    font-size: 150px;
  }
  
  .counter-value {
    font-size: 36px;
  }
  
  .page-1k .filters-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .page-1k .filter-group {
    width: 100%;
  }
  
  .page-1k .filter-select {
    flex: 1;
  }
  
  .scorer-row {
    grid-template-columns: 35px 1fr 70px;
    gap: 8px;
    padding: 12px 14px;
  }
  
  .scorer-logo {
    display: none;
  }
  
  .podium-points {
    font-size: 28px;
  }
}

/* 1K Loading State */
.page-1k .loading {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.page-1k .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: #ffd700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

/* ==========================================================================
   14. 603 IN THE NCAA PAGE
   ========================================================================== */

/* Page-specific color variables */
.page-ncaa {
  --primary: #1565c0;
  --primary-light: #42a5f5;
  --ncaa-accent: #ff6b35;
}

/* NCAA Hero Section */
.page-ncaa .hero {
  display: block;
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a5c 50%, #1565c0 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.page-ncaa .hero::before {
  content: '🎓';
  position: absolute;
  font-size: 200px;
  opacity: 0.1;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-ncaa .hero::after {
  content: '🏀';
  position: absolute;
  font-size: 150px;
  opacity: 0.1;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-ncaa .hero-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.page-ncaa .hero h1 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-ncaa .hero h1 span {
  color: #42a5f5;
}

/* Counter Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.hero-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-top: 4px;
}

/* NCAA Division Tabs */
.page-ncaa .division-tabs {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 56px;
  z-index: 90;
}

.tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: #1565c0;
  background: #fafafa;
}

.tab-btn.active {
  color: #1565c0;
  border-bottom-color: #1565c0;
}

.tab-count {
  background: var(--light);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 6px;
}

.tab-btn.active .tab-count {
  background: #1565c0;
  color: white;
}

/* NCAA Filters Bar */
.page-ncaa .filters-bar {
  background: #fafafa;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 20px;
}

.page-ncaa .filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-ncaa .filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-ncaa .filter-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-ncaa .filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.page-ncaa .search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.page-ncaa .search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: white;
}

.page-ncaa .search-box::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* NCAA Main Content */
.page-ncaa .main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Players Grid */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.player-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
  position: relative;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.player-card-header {
  background: linear-gradient(135deg, var(--dark) 0%, #333 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.player-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.player-photo-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.player-header-info {
  flex: 1;
  color: white;
}

.player-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.player-position {
  font-size: 13px;
  opacity: 0.8;
}

.player-division-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.player-division-badge.d1 {
  background: #ff6b35;
  color: white;
}

.player-division-badge.d2 {
  background: #7c4dff;
  color: white;
}

.player-division-badge.d3 {
  background: #00bcd4;
  color: white;
}

.player-division-badge.naia {
  background: #4caf50;
  color: white;
}

.player-division-badge.juco {
  background: #ff9800;
  color: white;
}

.player-card-body {
  padding: 16px 20px;
}

.player-college {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.college-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.college-logo-placeholder {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.college-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.college-info span {
  font-size: 12px;
  color: #666;
}

.player-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 14px;
  font-weight: 500;
}

.player-hs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.hs-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hs-info {
  font-size: 13px;
  color: #666;
}

.hs-info a {
  color: #1565c0;
  text-decoration: none;
  font-weight: 500;
}

.hs-info a:hover {
  text-decoration: underline;
}

/* Stats by Level */
.level-breakdown {
  margin-top: 50px;
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.page-ncaa .section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.level-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.level-name {
  width: 80px;
  font-weight: 600;
  font-size: 14px;
}

.level-track {
  flex: 1;
  height: 32px;
  background: #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.level-fill {
  height: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  color: white;
  font-weight: 600;
  font-size: 13px;
  transition: width 0.5s ease;
}

.level-fill.d1 {
  background: linear-gradient(90deg, #ff6b35, #ff8a65);
}

.level-fill.d2 {
  background: linear-gradient(90deg, #7c4dff, #b388ff);
}

.level-fill.d3 {
  background: linear-gradient(90deg, #00bcd4, #4dd0e1);
}

.level-fill.naia {
  background: linear-gradient(90deg, #4caf50, #81c784);
}

.level-fill.juco {
  background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.level-count {
  width: 50px;
  text-align: right;
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
}

/* Top High Schools */
.top-schools {
  margin-top: 50px;
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.school-chip {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.school-chip:hover {
  transform: translateY(-2px);
}

.school-chip-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.school-chip-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.school-chip-count {
  font-size: 12px;
  color: #1565c0;
  font-weight: 600;
}

/* NCAA Submit CTA */
.page-ncaa .submit-cta {
  margin-top: 50px;
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: white;
}

.page-ncaa .submit-cta h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.page-ncaa .submit-cta p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.page-ncaa .submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #1565c0;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.page-ncaa .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* NCAA Loading / Empty */
.page-ncaa .loading,
.page-ncaa .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.page-ncaa .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: #1565c0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

/* NCAA Responsive */
@media (max-width: 768px) {
  .page-ncaa .hero h1 {
    font-size: 36px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .hero-stat-value {
    font-size: 36px;
  }
  
  .players-grid {
    grid-template-columns: 1fr;
  }
  
  .page-ncaa .filters-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .tabs-inner {
    justify-content: flex-start;
    padding: 0 10px;
  }
  
  .tab-btn {
    padding: 14px 16px;
  }
}

/* ==========================================================================
   15. NHIAA HISTORY PAGE
   ========================================================================== */

.page-history {
  --gold: #ffd700;
  --gold-dark: #b8860b;
  --silver: #c0c0c0;
}

.page-history .hero {
  display: block;
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 40%, #b8860b 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.page-history .hero::before {
  content: '🏆';
  position: absolute;
  font-size: 300px;
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-history .hero-badge {
  background: rgba(255,215,0,0.2);
  border: 1px solid #ffd700;
  color: #ffd700;
}

.page-history .hero h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 12px;
}

.page-history .hero-stat-value {
  color: #ffd700;
}

/* Random Fact Banner */
.fact-banner {
  background: linear-gradient(90deg, #ffd700 0%, #ffeb3b 100%);
  color: var(--dark);
  padding: 14px 20px;
  text-align: center;
}

.fact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.fact-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

.fact-text {
  font-weight: 500;
}

.fact-btn {
  background: var(--dark);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;
}

.fact-btn:hover {
  background: #333;
}

/* Decade Timeline */
.decade-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.decade-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
  min-width: max-content;
  padding: 0 20px;
}

.decade-btn {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.decade-btn:hover {
  color: #b8860b;
  background: #fafafa;
}

.decade-btn.active {
  color: #b8860b;
  border-bottom-color: #ffd700;
}

/* History Filters */
.page-history .filters-bar {
  background: #fafafa;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 20px;
  position: sticky;
  top: 56px;
  z-index: 90;
}

.page-history .filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-history .filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-history .filter-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-history .filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.page-history .search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.page-history .search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: white;
}

.page-history .search-box::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* History Main */
.page-history .main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.page-history .section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Dynasty Leaders */
.leaders-section {
  margin-bottom: 50px;
}

.page-history .leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.leader-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.leader-card:hover {
  transform: translateY(-4px);
}

.leader-card.gold {
  background: linear-gradient(135deg, #fff9e6, white);
  border: 2px solid #ffd700;
}

.leader-rank {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.leader-card.gold .leader-rank {
  color: #b8860b;
}

.leader-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.leader-school {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.leader-count {
  font-size: 28px;
  font-weight: 900;
  color: #b8860b;
}

.leader-count-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
}

/* Championship Grid */
.championships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.championship-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.2s;
}

.championship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.champ-header {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.champ-year {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
}

.champ-meta {
  text-align: right;
}

.champ-division {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  opacity: 0.7;
}

.champ-gender {
  font-size: 11px;
  color: var(--dark);
  opacity: 0.6;
}

.champ-body {
  padding: 20px;
}

.champ-matchup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.champ-team {
  flex: 1;
  text-align: center;
}

.champ-team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 6px;
}

.champ-team-name {
  font-size: 14px;
  font-weight: 600;
}

.champ-team.winner .champ-team-name {
  color: #b8860b;
}

.champ-team-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.champ-team.winner .champ-team-label {
  color: #b8860b;
  font-weight: 700;
}

.champ-team.loser .champ-team-label {
  color: #888;
}

.champ-vs {
  font-size: 12px;
  color: #888;
  font-weight: 600;
}

.champ-score {
  text-align: center;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
}

.champ-score-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
}

.champ-score-note {
  font-size: 11px;
  color: #b8860b;
  font-weight: 600;
  margin-top: 2px;
}

/* Notable Games */
.notable-section {
  margin-top: 50px;
}

.notable-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.notable-tab {
  padding: 10px 18px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.notable-tab:hover {
  border-color: #ffd700;
}

.notable-tab.active {
  background: #ffd700;
  border-color: #ffd700;
  color: var(--dark);
}

.notable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.notable-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}

.notable-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 10px;
}

.notable-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.notable-info p {
  font-size: 12px;
  color: #666;
}

.notable-info .highlight {
  color: #b8860b;
  font-weight: 600;
}

/* All-Time Stats */
.stats-section {
  margin-top: 50px;
  background: var(--dark);
  border-radius: 16px;
  padding: 30px;
  color: white;
}

.stats-section .section-title {
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.stat-box {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
}

.stat-box-value {
  font-size: 36px;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
}

.stat-box-label {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* History Loading */
.page-history .loading {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.page-history .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: #ffd700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

/* History Responsive */
@media (max-width: 768px) {
  .page-history .hero h1 {
    font-size: 32px;
  }
  
  .page-history .hero-stat-value {
    font-size: 36px;
  }
  
  .page-history .hero-stats {
    gap: 30px;
  }
  
  .championships-grid {
    grid-template-columns: 1fr;
  }
  
  .page-history .leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-history .filters-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .fact-inner {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   16. UTILITY CLASSES
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================================
   1K IN THE 603 PAGE - UPDATED STYLES
   ============================================================ */

/* Features Hero */
.features-main {
  min-height: 100vh;
  background: var(--bg-primary);
}

.features-hero {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.features-hero-1k {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
}

.features-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-watermark {
  font-size: 300px;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.08);
  letter-spacing: -10px;
}

.features-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.features-hero-badge {
  font-size: 64px;
  margin-bottom: 16px;
}

.features-hero-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.features-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #ffd700;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 2K Elite Section */
.elite-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
}

.elite-header {
  text-align: center;
  margin-bottom: 40px;
}

.elite-badge {
  font-size: 48px;
  margin-bottom: 12px;
}

.elite-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px;
}

.elite-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.elite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.elite-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.elite-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.5);
}

.elite-card.elite-top {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 183, 0, 0.1) 100%);
  border-color: rgba(255, 215, 0, 0.4);
  padding: 24px 32px;
}

.elite-card.elite-top .elite-rank {
  width: 56px;
  height: 56px;
  font-size: 24px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  color: #1a1a1a;
}

.elite-card.elite-top .elite-name {
  font-size: 24px;
}

.elite-card.elite-top .elite-points {
  font-size: 32px;
}

.elite-rank {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.elite-info {
  flex: 1;
  min-width: 0;
}

.elite-name {
  font-size: 18px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.elite-school {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.elite-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.elite-points {
  font-size: 24px;
  font-weight: 700;
  color: #ffd700;
  flex-shrink: 0;
}

/* Filters Bar */
.filters-bar {
  position: sticky;
  top: 56px;
  z-index: 100;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 16px 20px;
}

.filters-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group label {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: white;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #f57c00;
}

.filter-search {
  flex: 1;
  min-width: 200px;
}

.filter-search input {
  width: 100%;
}

.filter-results {
  margin-left: auto;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Scorers Section */
.scorers-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.school-group {
  margin-bottom: 32px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.school-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.school-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.school-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
  flex: 1;
}

.school-count {
  font-size: 13px;
  color: #666;
  background: #e9ecef;
  padding: 4px 10px;
  border-radius: 12px;
}

.school-scorers {
  padding: 8px 0;
}

.scorer-row {
  display: grid;
  grid-template-columns: 1fr 80px 100px;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.scorer-row:last-child {
  border-bottom: none;
}

.scorer-row.scorer-elite {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.scorer-row.scorer-notable {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
}

.scorer-name {
  font-weight: 500;
  color: #333;
}

.scorer-year {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.scorer-points {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: right;
}

.scorer-row.scorer-elite .scorer-points {
  color: #b8860b;
}

/* Notes Section */
.notes-section {
  background: #f8f9fa;
  padding: 40px 20px;
}

.notes-inner {
  max-width: 800px;
  margin: 0 auto;
}

.notes-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.notes-list li {
  padding: 8px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #e9ecef;
}

.notes-list li:last-child {
  border-bottom: none;
}

.notes-credit {
  font-size: 15px;
  color: #333;
  font-style: italic;
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid #ffd700;
}

/* Submit CTA */
.submit-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 60px 20px;
  text-align: center;
}

.submit-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.submit-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px;
}

.submit-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
}

.submit-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .features-hero {
    padding: 60px 20px;
  }
  
  .hero-watermark {
    font-size: 150px;
  }
  
  .features-hero-title {
    font-size: 32px;
  }
  
  .features-hero-stats {
    gap: 24px;
  }
  
  .hero-stat-value {
    font-size: 28px;
  }
  
  .elite-grid {
    grid-template-columns: 1fr;
  }
  
  .elite-card.elite-top {
    grid-column: 1;
  }
  
  .filters-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-results {
    margin-left: 0;
    text-align: center;
  }
  
  .scorer-row {
    grid-template-columns: 1fr 60px 80px;
    gap: 8px;
    padding: 10px 16px;
  }
}

/* ============================================================
   NHIAA HISTORY PAGE STYLES
   ============================================================ */

/* History Hero */
.features-hero-history {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
}

.features-hero-history .hero-watermark {
  font-size: 200px;
  opacity: 0.15;
}

.features-hero-history .features-hero-title {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dynasty Section */
.dynasty-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.dynasty-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.dynasty-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.dynasty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
  min-height: 200px;
}

.dynasty-card .dynasty-rank {
  flex-shrink: 0;
}

.dynasty-card .dynasty-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.dynasty-card.dynasty-top-1 {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
  border: 2px solid #ffd700;
}

.dynasty-card.dynasty-top-2 {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 2px solid #c0c0c0;
}

.dynasty-card.dynasty-top-3 {
  background: linear-gradient(135deg, #fdf5eb 0%, #f5e6d3 100%);
  border: 2px solid #cd7f32;
}

.dynasty-rank {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #333;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dynasty-top-1 .dynasty-rank { background: #ffd700; color: #333; }
.dynasty-top-2 .dynasty-rank { background: #c0c0c0; color: #333; }
.dynasty-top-3 .dynasty-rank { background: #cd7f32; color: white; }

.dynasty-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.dynasty-info {
  text-align: center;
}

.dynasty-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.dynasty-titles {
  font-size: 18px;
  font-weight: 700;
  color: #f57c00;
  margin-top: 4px;
}

/* Recent Dynasties */
.recent-dynasties {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.recent-dynasties-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.recent-dynasties .section-title {
  color: white;
  text-align: center;
  margin-bottom: 32px;
}

.dynasty-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.dynasty-highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
}

.dynasty-highlight-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 8px;
}

.dynasty-highlight-years {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.dynasty-highlight-count {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.dynasty-highlight-notes {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Championship Browser */
.championship-browser {
  padding: 60px 20px;
  background: linear-gradient(135deg, #333 0%, #444 100%);
}

.championship-browser .browser-header .section-title {
  color: white;
}

.browser-header {
  text-align: center;
  margin-bottom: 32px;
}

.browser-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.browser-results {
  max-width: 1200px;
  margin: 0 auto;
}

.championship-year {
  margin-bottom: 24px;
}

.championship-year-header {
  font-size: 22px;
  font-weight: 700;
  color: #888;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 3px solid #ffd700;
}

.championship-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.championship-card {
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.championship-division {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.championship-matchup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.championship-team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.championship-team.winner {
  font-weight: 600;
}

.championship-team.loser {
  justify-content: flex-end;
  color: #666;
}

.team-logo-small {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.team-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-score {
  font-weight: 600;
  color: #333;
  min-width: 24px;
  text-align: center;
}

.championship-vs {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}

.championship-ot {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  background: #ff9800;
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.championship-notes {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* Brackets Section */
.brackets-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.brackets-header {
  text-align: center;
  margin-bottom: 32px;
}

.bracket-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.bracket-year-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.bracket-year-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.bracket-year-btn:hover {
  border-color: #f57c00;
}

.bracket-year-btn.active {
  background: #f57c00;
  color: white;
  border-color: #f57c00;
}

.bracket-filters {
  display: flex;
  gap: 12px;
}

.bracket-filters select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.bracket-display {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bracket-note {
  text-align: center;
  padding: 40px;
}

.bracket-note-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.bracket-note-text {
  font-size: 16px;
  color: #666;
}

.bracket-info {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}

.bracket-champion {
  margin-bottom: 24px;
}

.bracket-champion-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.bracket-champion-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.bracket-champion-name {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.bracket-champion-seed {
  font-size: 14px;
  color: #666;
}

.bracket-final-score {
  margin-bottom: 16px;
}

.final-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.final-score {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700;
}

.final-vs {
  font-size: 14px;
  color: #666;
}

.bracket-story {
  font-size: 14px;
  color: #666;
  font-style: italic;
  max-width: 500px;
  margin: 16px auto 0;
}

.bracket-upsets {
  background: #fff9e6;
  border: 1px solid #ffd700;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
}

.bracket-upsets h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #333;
}

.upsets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upset-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.upset-winner {
  font-weight: 600;
  color: #2e7d32;
}

.upset-score {
  color: #666;
}

.upset-loser {
  color: #c62828;
}

.bracket-rounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.bracket-round {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}

.round-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
  text-align: center;
}

.round-games {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bracket-game {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
}

.bracket-game.upset {
  border-color: #ffd700;
}

.bracket-game-team {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
}

.bracket-game-team.winner {
  background: #fff3e0;
  font-weight: 600;
  color: #444;
}

.bracket-game-team.loser {
  color: #666;
}

.bracket-game-team .seed {
  font-size: 12px;
  color: #999;
  width: 20px;
}

.bracket-game-team .name {
  flex: 1;
  font-size: 13px;
}

.bracket-game-team .score {
  font-size: 14px;
  font-weight: 600;
}

  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .dynasty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .dynasty-grid .dynasty-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .dynasty-card {
    padding: 16px 12px;
  }
  
  .dynasty-logo {
    width: 48px;
    height: 48px;
  }
  
  .championship-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* Mobile ordering: All Boys first (DI-DIV), then all Girls (DI-DIV) */
  .championship-card[data-gender="boys"][data-div="1"] { order: 1; }
  .championship-card[data-gender="boys"][data-div="2"] { order: 2; }
  .championship-card[data-gender="boys"][data-div="3"] { order: 3; }
  .championship-card[data-gender="boys"][data-div="4"] { order: 4; }
  .championship-card[data-gender="girls"][data-div="1"] { order: 5; }
  .championship-card[data-gender="girls"][data-div="2"] { order: 6; }
  .championship-card[data-gender="girls"][data-div="3"] { order: 7; }
  .championship-card[data-gender="girls"][data-div="4"] { order: 8; }
  
  .championship-year-header {
    font-size: 20px;
    color: #999;
  }
  
  .bracket-rounds {
    grid-template-columns: 1fr;
  }
  
  .championship-matchup {
    flex-direction: column;
  }
  
  .championship-team.loser {
    justify-content: flex-start;
    flex-direction: row-reverse;
  }
}

/* ============================================================
   603 IN THE NCAA PAGE STYLES
   ============================================================ */

/* NCAA Hero */
.features-hero-ncaa {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: white;
}

.features-hero-ncaa .hero-watermark {
  font-size: 200px;
  opacity: 0.15;
}

.features-hero-ncaa .features-hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #bbdefb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-hero-ncaa .hero-stat-value {
  color: #bbdefb;
}

/* Top Tables Section */
.top-tables-section {
  padding: 40px 20px;
  background: #f8f9fa;
}

.top-tables-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.top-table-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.top-table-title {
  padding: 16px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

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

.top-table th,
.top-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.top-table th {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  background: #fafafa;
}

.top-table td:first-child {
  width: 40px;
  text-align: center;
  font-weight: 600;
  color: #1565c0;
}

.top-table td:last-child {
  width: 60px;
  text-align: center;
  font-weight: 600;
  color: #f57c00;
}

.top-table tbody tr:hover {
  background: #f8f9fa;
}

/* Sort Toggle */
.sort-toggle {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.sort-btn {
  padding: 8px 16px;
  border: none;
  background: white;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.sort-btn:first-child {
  border-right: 1px solid #ddd;
}

.sort-btn.active {
  background: #1565c0;
  color: white;
}

.sort-btn:hover:not(.active) {
  background: #f0f0f0;
}

/* Group Cards (replaces college-group) */
.group-card {
  margin-bottom: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: white;
}

.group-header-school {
  background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
}

.group-header-college {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
}

.group-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.group-count {
  font-size: 13px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
}

.group-players {
  padding: 8px 0;
}

.player-detail {
  font-size: 14px;
  color: #666;
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .top-tables-container {
    grid-template-columns: 1fr;
  }
  
  .player-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .player-detail {
    text-align: left;
    font-size: 13px;
  }
}

/* Players Section */
.players-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

  font-size: 14px;
  color: #666;
  text-align: right;
}

/* NCAA Submit CTA override */
.page-ncaa .submit-cta {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
}

.page-ncaa .submit-btn {
  background: white;
  color: #1565c0;
}

.page-ncaa .submit-btn:hover {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .top-schools-grid,
  .top-colleges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .player-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .player-hs {
    text-align: left;
    font-size: 13px;
  }
}

/* History Page Navigation Bar */
.history-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 56px;
  z-index: 100;
}

.history-nav-link {
  padding: 10px 20px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.history-nav-link:hover {
  border-color: #f57c00;
  color: #f57c00;
}

.history-nav-link.active {
  background: #f57c00;
  border-color: #f57c00;
  color: white;
}

@media (max-width: 768px) {
  .history-nav {
    gap: 8px;
    padding: 12px 16px;
  }
  
  .history-nav-link {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Bracket Select Highlight */
.bracket-select-highlight {
  border: 2px solid #f57c00 !important;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.bracket-select-highlight:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.2);
}

/* COVID Co-Champions Display */
.bracket-covid-note {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 2px solid #f57c00;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.covid-banner {
  font-size: 20px;
  font-weight: 700;
  color: #e65100;
  margin-bottom: 8px;
}

.covid-message {
  font-size: 14px;
  color: #666;
}

.bracket-co-champions {
  background: white;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.co-champions-label {
  font-size: 14px;
  font-weight: 600;
  color: #f57c00;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.co-champions-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.co-champion-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.co-champion-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.co-champion-name {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.co-champion-divider {
  font-size: 32px;
  font-weight: 300;
  color: #ccc;
}

.bracket-co-champions .bracket-story {
  margin-top: 16px;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

/* Player Row (used in NCAA page) */
.player-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.player-row:last-child {
  border-bottom: none;
}

.player-row:hover {
  background: #f8f9fa;
}

.player-name {
  font-weight: 500;
  color: #333;
}
