    @font-face {
      font-family: 'Transducer';
      src: url('../font/transducer-medium.otf') format('opentype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    :root {
      --bg-primary: #0a0a0f;
      --bg-secondary: #111118;
      --text-primary: #ffffff;
      --text-secondary: #8a8f98;
      --accent: #5e6ad2;
      --border: rgba(255,255,255,0.08);
      --border-strong: rgba(255,255,255,0.12);
      --card-bg: rgba(255,255,255,0.03);
      --header-height: 64px;
      --goaltending: #10b981;
      --goaltending-bg: rgba(16,185,129,0.08);
      --goaltending-border: rgba(16,185,129,0.2);
      --timing: #f59e0b;
      --timing-bg: rgba(245,158,11,0.08);
      --timing-border: rgba(245,158,11,0.2);
      --team-scoring: #ef4444;
      --team-scoring-bg: rgba(239,68,68,0.08);
      --team-scoring-border: rgba(239,68,68,0.2);
      --special-teams: #8b5cf6;
      --special-teams-bg: rgba(139,92,246,0.08);
      --special-teams-border: rgba(139,92,246,0.2);
      --achievements: #06b6d4;
      --achievements-bg: rgba(6,182,212,0.08);
      --achievements-border: rgba(6,182,212,0.2);
      --career-milestones: #22c55e;
      --career-milestones-bg: rgba(34,197,94,0.08);
      --career-milestones-border: rgba(34,197,94,0.2);
      --league-leaders: #ec4899;
      --league-leaders-bg: rgba(236,72,153,0.08);
      --league-leaders-border: rgba(236,72,153,0.2);
      --penalties: #84cc16;
      --penalties-bg: rgba(132,204,22,0.08);
      --penalties-border: rgba(132,204,22,0.2);
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      height: 100%;
      overflow-x: hidden;
    }
    body {
      font-family: 'Transducer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
      width: 125%;
      transform: scale(0.8);
      transform-origin: 0 0;
      min-height: 125vh;
      height: fit-content;
      display: flex;
      flex-direction: column;
    }
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background:
        radial-gradient(ellipse at center top, rgba(94,106,210,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(139,92,246,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 85%, rgba(16,185,129,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(236,72,153,0.03) 0%, transparent 50%);
      pointer-events: none;
      z-index: 0;
    }
    .container { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; width: 100%; box-sizing: border-box; }
    /* Header Styles - GitHub-Inspired Clean Design */
    .header-wrapper { 
      position: sticky; 
      top: 0; 
      background: rgba(13,17,23,0.95); 
      backdrop-filter: blur(12px); 
      border-bottom: 1px solid rgba(240,246,252,0.1); 
      z-index: 100; 
    }
    
    .main-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
      min-height: 80px;
      gap: 1rem;
      width: 100%;
    }

    .header-brand {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex: 1;
      min-width: 0;
    }
    
    .header-icon-link {
      display: block;
      flex-shrink: 0;
      transition: opacity 0.2s ease;
    }
    
    .header-icon-link:hover {
      opacity: 0.8;
    }
    
    .header-icon { 
      width: 60px; 
      height: 60px; 
      border-radius: 12px; 
      display: block;
    }
    
    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 0.125rem;
      align-items: flex-start;
      flex: 1;
      min-width: 0;
    }

    .logo {
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--text-primary);
      text-decoration: none;
      line-height: 1.25;
      transition: color 0.15s ease;
      white-space: nowrap;
    }

    .logo:hover {
      color: rgba(255,255,255,0.8);
    }

    .header-subtitle {
      font-size: 0.8125rem;
      color: rgba(255,255,255,0.6);
      margin: 0;
      line-height: 1.3;
      font-weight: 400;
      max-width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }
    
    
    .header-nav { 
      display: flex; 
      align-items: center; 
      gap: 1rem; 
      flex-shrink: 0;
    }
    
    /* Hamburger Menu */
    .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 24px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 101; }
    .hamburger-line { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
    .hamburger-menu.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
    .hamburger-menu.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    
    /* Navigation Links */
    .nav-links { display: flex; gap: 1rem; align-items: center; }
    .nav-links a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.875rem;
      padding: 0.5rem 0.75rem;
      border-radius: 6px;
      transition: all 0.15s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      -webkit-tap-highlight-color: rgba(94,106,210,0.15);
      min-height: 44px;
    }
    .nav-links a i {
      font-size: 0.875rem;
      width: 16px;
      text-align: center;
    }
    .nav-links a:hover {
      color: rgba(255,255,255,1);
      background: rgba(255,255,255,0.1);
    }
    .nav-links a:active {
      color: rgba(255,255,255,1);
      background: rgba(255,255,255,0.15);
      transform: scale(0.97);
    }
    
    /* Mobile Navigation */
    @media (max-width: 768px) {
      .hamburger-menu { display: flex; }

      .main-header {
        min-height: 60px;
        padding: 0.75rem 0;
        gap: 0.75rem;
      }

      .header-brand {
        gap: 0.625rem;
        flex: 1;
        min-width: 0;
      }

      .header-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
      }

      .brand-text {
        flex: 1;
        min-width: 0;
      }

      .logo {
        font-size: 0.9375rem;
      }

      .header-subtitle {
        font-size: 0.6875rem;
        line-height: 1.4;
        max-width: 100%;
      }
      
      .nav-links { 
        position: absolute; 
        top: 100%; 
        right: 0; 
        background: rgba(13,17,23,0.98); 
        backdrop-filter: blur(12px); 
        border: 1px solid rgba(240,246,252,0.1); 
        border-radius: 8px; 
        padding: 0.5rem; 
        margin-top: 0.5rem; 
        min-width: 160px; 
        flex-direction: column; 
        gap: 0; 
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-8px); 
        transition: all 0.2s ease; 
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
      }
      
      .nav-links.active { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
      }
      
      .nav-links a {
        padding: 0.5rem 0.75rem;
        border-radius: 4px;
        font-size: 0.875rem;
        font-weight: 500;
        border-bottom: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .nav-links a i {
        font-size: 0.875rem;
        width: 16px;
        text-align: center;
      }
      
      .nav-links a:hover {
        background: rgba(255,255,255,0.1);
      }
      
      .stat-content-centered { 
        justify-content: flex-start; 
      }
      
      .table-scroll { 
        width: 100vw; 
        max-width: calc(100vw - 3rem); 
        margin: 0 -1.5rem; 
        padding: 0 1.5rem; 
        box-sizing: border-box; 
      }
      
      .container {
        overflow: visible;
      }
    }

    @media (max-width: 480px) {
      .header-brand {
        gap: 0.5rem;
      }

      .header-icon {
        width: 36px;
        height: 36px;
      }

      .logo {
        font-size: 0.875rem;
      }

      .header-subtitle {
        font-size: 0.625rem;
        line-height: 1.3;
      }
    }

    /* Main Menu Styles */
    .main-menu {
      padding: 2rem 0;
      position: relative;
      background: linear-gradient(180deg,
        rgba(30, 20, 40, 0.15) 0%,
        rgba(20, 15, 30, 0.08) 50%,
        rgba(10, 8, 15, 0.03) 100%);
      flex: 1;
    }
    .main-menu .container { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }
    .hero-lede {
      text-align: center;
      margin: 0 auto 3rem;
      max-width: 800px;
      padding: 0 1rem;
    }
    .hero-lede p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.85);
      margin: 0;
      font-weight: 400;
    }
    @media (max-width: 768px) {
      .hero-lede {
        margin: 0 auto 2rem;
      }
      .hero-lede p {
        font-size: 1rem;
        line-height: 1.5;
      }
    }
    .menu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
      padding: 0.5rem 0;
    }

    @media (max-width: 1024px) {
      .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }
    }

    @media (max-width: 640px) {
      .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
    }
    .category-card {
      background: linear-gradient(145deg,
        rgba(255,255,255,0.08) 0%,
        rgba(255,255,255,0.04) 50%,
        rgba(255,255,255,0.02) 100%);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      padding: 2rem 1.75rem;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(12px) saturate(1.2);
      box-shadow:
        0 4px 20px rgba(0,0,0,0.1),
        0 1px 4px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.08);
      -webkit-tap-highlight-color: rgba(94,106,210,0.15);
      user-select: none;
    }
    .category-card:hover {
      transform: translateY(-4px);
      box-shadow:
        0 12px 32px rgba(0,0,0,0.15),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.18);
      backdrop-filter: blur(16px) saturate(1.4);
    }
    .category-card:active {
      transform: translateY(-2px) scale(0.99);
      transition: all 0.1s ease;
    }
    .category-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      border-radius: 12px 12px 0 0;
      opacity: 0.7;
      transition: all 0.3s ease;
    }
    .category-card:hover::before {
      opacity: 1;
    }
    .category-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
    .category-title-section { display: flex; flex-direction: column; gap: 0.5rem; }
    .category-icon {
      font-size: 1.5rem;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      transition: all 0.3s ease;
      box-shadow:
        0 2px 8px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.1);
      backdrop-filter: blur(8px);
      position: relative;
      flex-shrink: 0;
    }
    .category-card:hover .category-icon {
      transform: translateY(-1px);
      box-shadow:
        0 4px 12px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.15);
    }
    .category-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1.3;
      transition: all 0.3s ease;
      letter-spacing: -0.01em;
    }
    .category-count {
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-secondary);
      background: rgba(255,255,255,0.08);
      padding: 4px 12px;
      border-radius: 6px;
      border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(8px);
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      align-self: flex-start;
    }
    .category-card:hover .category-count {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.15);
    }
    .category-stats { list-style: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .category-card.expanded .category-stats { max-height: 800px; }
    .category-stats li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .category-stats li:last-child { border-bottom: none; }
    .category-stats a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s ease;
      white-space: normal;
      word-wrap: break-word;
      line-height: 1.4;
      display: block;
      -webkit-tap-highlight-color: rgba(94,106,210,0.1);
      min-height: 44px;
      display: flex;
      align-items: center;
    }
    .category-stats a:hover { color: var(--text-primary); }
    .category-stats a:active {
      color: var(--text-primary);
      background: rgba(255,255,255,0.05);
      border-radius: 4px;
    }
    .expand-icon { margin-left: auto; transition: transform 0.3s ease; }
    .category-card.expanded .expand-icon { transform: rotate(180deg); }

    /* Mobile-specific category card styles */
    @media (max-width: 640px) {
      .category-card {
        padding: 1.25rem 1rem;
        border-radius: 10px;
      }
      .category-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
      }
      .category-title {
        font-size: 1.05rem;
      }
      .category-count {
        font-size: 0.7rem;
        padding: 3px 10px;
      }
      .category-stats a {
        font-size: 0.875rem;
        padding: 0.65rem 0;
      }
    }

    @media (max-width: 480px) {
      .category-card {
        padding: 1rem 0.875rem;
      }
      .category-header {
        gap: 0.75rem;
      }
      .category-title {
        font-size: 1rem;
      }
    }

    /* Footer Styles */
    .footer {
      background: #000000;
      border-top: 1px solid var(--border);
      padding: 2.5rem 1rem 2rem;
      margin-top: 4rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .footer-bottom {
      text-align: center;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      max-width: 100%;
      width: 100%;
    }
    .footer-left,
    .footer-right {
      color: var(--text-secondary);
      font-size: 0.8rem;
      line-height: 1.5;
      flex: 1;
    }
    .footer-left {
      text-align: right;
    }
    .footer-right {
      text-align: left;
    }
    .footer-logo {
      height: 32px;
      width: auto;
      aspect-ratio: 377 / 573;
      flex-shrink: 0;
    }
    @media (min-width: 640px) {
      .footer { padding: 3rem 0 2rem; }
      .footer-left,
      .footer-right {
        font-size: 0.85rem;
      }
      .footer-logo {
        height: 36px;
      }
    }
    @media (max-width: 640px) {
      .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
      }
      .footer-left,
      .footer-right {
        text-align: center;
        flex: none;
      }
    }
    
    /* Individual Stat Page Styles */
    main { padding: 2rem 0 3rem; position: relative; z-index: 2; flex: 1; }
    .stat-page { padding: 0; }
    .stat-header {
      text-align: center;
      padding: 3rem 0 2rem;
      background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
      border-radius: 24px;
      margin: 0 0 2rem;
      position: relative;
    }
    .stat-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), rgba(94,106,210,0.6));
      border-radius: 2px;
    }
    .stat-title {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 1rem;
      text-shadow: 0 2px 8px rgba(0,0,0,0.3);
      letter-spacing: -0.02em;
    }
    .stat-explanation {
      font-size: 1.2rem;
      color: var(--text-secondary);
      font-style: italic;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.7;
      opacity: 0.9;
    }

    /* Responsive typography for stat pages */
    @media (max-width: 768px) {
      main { padding: 1.5rem 0 2rem; }
      .stat-page { padding: 0; }
      .stat-header {
        padding: 2rem 0 1.5rem;
        border-radius: 16px;
        margin: 0 0 1.5rem;
      }
      .stat-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
      }
      .stat-explanation {
        font-size: 1rem;
        max-width: 95%;
        line-height: 1.6;
        padding: 0 0.5rem;
      }
    }

    @media (max-width: 640px) {
      .stat-page { padding: 0; }
      .stat-header { padding: 1.75rem 0 1.25rem; }
      .stat-title {
        font-size: 1.5rem;
      }
      .stat-explanation {
        font-size: 0.95rem;
      }
    }

    @media (max-width: 480px) {
      .stat-page { padding: 0; }
      .stat-header {
        padding: 1.5rem 0 1rem;
        border-radius: 12px;
      }
      .stat-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
      }
      .stat-explanation {
        font-size: 0.9rem;
      }
    }
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 600;
      margin-bottom: 2rem;
      padding: 0.75rem 1rem;
      border-radius: 12px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      transition: all 0.2s ease;
      backdrop-filter: blur(8px);
      min-height: 44px;
      -webkit-tap-highlight-color: rgba(94,106,210,0.2);
    }
    .back-link:hover {
      color: var(--text-primary);
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.15);
      transform: translateX(-2px);
    }
    .back-link:active {
      transform: translateX(-1px) scale(0.98);
      background: rgba(255,255,255,0.12);
    }
    .stat-content-centered {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      padding: 0;
    }
    .stat-content-centered > * { max-width: 100%; width: 100%; }
    .stat-content-centered .table-scroll { width: 100%; max-width: 100%; }

    /* Table Styles */
    .table-scroll {
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      position: relative;
      scroll-behavior: smooth;
      margin: 2rem 0;
    }

    /* Horizontal scroll gradient indicators - desktop only for cleaner mobile experience */
    @media (min-width: 769px) {
      .table-scroll::before,
      .table-scroll::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        z-index: 3;
        transition: opacity 0.3s ease;
      }

      .table-scroll::before {
        left: 0;
        background: linear-gradient(90deg, rgba(10,10,15,0.8) 0%, transparent 100%);
        opacity: 0;
      }

      .table-scroll::after {
        right: 0;
        background: linear-gradient(270deg, rgba(10,10,15,0.8) 0%, transparent 100%);
        opacity: 0.3;
      }
    }

    /* Results Count */
    .results-count {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin: 1.5rem 0 1rem 0;
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
      background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
    }

    .results-count i {
      font-size: 1.1rem;
      color: var(--brand-primary);
      opacity: 0.9;
    }

    .results-count span {
      letter-spacing: 0.5px;
    }

    .empty {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .75rem;
      min-height: 140px;
      padding: 3rem;
      border: 2px dashed var(--border-strong);
      border-radius: 16px;
      color: var(--text-secondary);
      background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
      text-align: center;
      font-style: italic;
      backdrop-filter: blur(8px);
    }
    /* ============================================
       UNIFIED TABLE STYLES - All Stats Tables
       ============================================ */

    /* Base table structure - applies to ALL tables */
    table {
      width: 100%;
      min-width: 800px;
      border-collapse: separate;
      border-spacing: 0;
      background: transparent;
      font-variant-numeric: tabular-nums;
      table-layout: auto;
      margin: 0;
      border: none;
    }

    /* Narrow table variant */
    table.narrow-table {
      min-width: 400px;
      max-width: 900px;
      margin: 0 auto;
    }

    /* Header row - sticky with border */
    thead {
      position: sticky;
      top: 0;
      z-index: 10;
    }

    thead tr {
      border-bottom: 2px solid rgba(94,106,210,0.3);
    }

    /* Header cells - unified styling */
    th {
      padding: 16px 20px;
      text-align: left;
      vertical-align: middle;
      background: rgba(20, 20, 30, 0.95);
      color: #f8fafc;
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      white-space: nowrap;
      backdrop-filter: blur(10px);
      border: none;
    }

    /* Body rows - unified behavior with zebra striping */
    tbody tr {
      transition: background-color 0.2s ease;
      border: none;
    }

    /* Zebra striping for better readability */
    tbody tr:nth-child(odd) {
      background: rgba(255,255,255,0.02);
    }

    tbody tr:nth-child(even) {
      background: rgba(255,255,255,0.04);
    }

    tbody tr:hover {
      background: rgba(94,106,210,0.12) !important;
    }

    /* Data cells - unified styling */
    td {
      padding: 16px 20px;
      text-align: left;
      vertical-align: middle;
      background: transparent;
      color: #d1d5db;
      border: none;
    }

    /* Enhanced player name styling for all tables */
    .player-name {
      font-weight: 600;
      color: var(--text-primary);
      font-size: 1.05rem;
    }

    /* Enhanced team logo container for better spacing */
    td:has(.team-logo) {
      text-align: center;
      padding: 18px;
    }

    /* Enhanced player avatar container for better spacing */
    td:has(.player-avatar) {
      text-align: center;
      padding: 18px;
    }
    td { white-space: normal; overflow-wrap: break-word; word-break: break-word; }

    /* Time column styling - prevent wrapping and ensure adequate width */
    th.time-col,
    td.time-col {
      white-space: nowrap !important;
      min-width: 90px;
      width: 90px;
    }

    .team-logo {
      width: 80px;
      height: 80px;
      border-radius: 12px;
      object-fit: cover;
      box-shadow:
        0 8px 24px rgba(0,0,0,0.4),
        0 2px 8px rgba(0,0,0,0.2);
      border: 2px solid rgba(255,255,255,0.15);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(2px);
    }
    .team-logo:hover {
      transform: scale(1.08) rotate(2deg);
      box-shadow:
        0 12px 36px rgba(0,0,0,0.5),
        0 4px 16px rgba(0,0,0,0.3);
      border-color: rgba(255,255,255,0.25);
    }
    .player-avatar {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow:
        0 12px 32px rgba(0,0,0,0.5),
        0 4px 16px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
      border: 3px solid rgba(255,255,255,0.2);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }
    .player-avatar:hover {
      transform: scale(1.05);
      box-shadow:
        0 16px 48px rgba(0,0,0,0.6),
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
      border-color: rgba(255,255,255,0.3);
    }
    .player-avatar-placeholder {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
      border: 3px solid rgba(255,255,255,0.25);
      box-shadow:
        0 12px 32px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1);
      position: relative;
    }
    .player-avatar-placeholder::before {
      content: '👤';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 3rem;
      opacity: 0.3;
    }

    /* Player cell styling */
    .player-cell {
      white-space: normal;
      overflow: visible;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      display: flex;
      flex-direction: column;
      gap: 6px;
      line-height: 1.3;
    }

    /* Universal position badge component */
    .position-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 700;
      color: rgba(255,255,255,0.95);
      background: linear-gradient(135deg, rgba(94,106,210,0.8), rgba(94,106,210,0.6));
      padding: 4px 0;
      border-radius: 12px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      border: 1px solid rgba(94,106,210,0.4);
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      width: 50px;
      transition: all 0.2s ease;
      backdrop-filter: blur(8px);
      position: relative;
      z-index: 1;
    }

    .position-badge:hover {
      background: linear-gradient(135deg, rgba(94,106,210,0.9), rgba(94,106,210,0.7));
      transform: translateY(-1px);
      box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    }

    /* Period badge styling */
    .period-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 700;
      color: rgba(255,255,255,0.95);
      background: linear-gradient(135deg, rgba(94,106,210,0.8), rgba(94,106,210,0.6));
      padding: 4px 0;
      border-radius: 12px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      border: 1px solid rgba(94,106,210,0.4);
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      width: 50px;
      transition: all 0.2s ease;
      backdrop-filter: blur(8px);
      position: relative;
      z-index: 1;
    }

    /* Position-specific colors */
    .position-badge.forward {
      background: linear-gradient(135deg, rgba(239,68,68,0.8), rgba(239,68,68,0.6));
      border-color: rgba(239,68,68,0.4);
    }

    .position-badge.defense {
      background: linear-gradient(135deg, rgba(34,197,94,0.8), rgba(34,197,94,0.6));
      border-color: rgba(34,197,94,0.4);
    }

    .position-badge.goalie {
      background: linear-gradient(135deg, rgba(245,158,11,0.8), rgba(245,158,11,0.6));
      border-color: rgba(245,158,11,0.4);
    }

    /* Responsive sizing */
    @media (max-width: 768px) {
      .position-badge, .period-badge {
        font-size: 0.65rem;
        padding: 3px 0;
        width: 45px;
      }
    }

    @media (max-width: 480px) {
      .position-badge, .period-badge {
        font-size: 0.6rem;
        padding: 2px 0;
        width: 40px;
      }
    }


    /* Mobile and Tablet Responsive Design */
    @media (max-width: 1200px) {
      table { min-width: 700px; }
    }

    @media (max-width: 1024px) {
      table { min-width: 650px; }
      th, td { padding: 12px 10px; font-size: 0.95rem; }

      /* Intermediate sizing for tablet screens */
      .team-logo {
        width: 64px;
        height: 64px;
      }
      .player-avatar, .player-avatar-placeholder {
        width: 110px;
        height: 110px;
      }
      .player-avatar-placeholder::before {
        font-size: 2.2rem;
      }

      /* Adjust container padding for smaller avatars */
      td:has(.team-logo) {
        padding: 12px;
      }
      td:has(.player-avatar) {
        padding: 12px;
      }
    }

    @media (max-width: 768px) {
      .stat-content-centered {
        justify-content: flex-start;
        padding: 0;
      }
      .table-scroll {
        width: 100%;
        max-width: 100%;
        margin: 1.5rem 0;
      }
      .container { overflow: visible; padding: 0 1rem; }
      table { min-width: 600px; }
      table.narrow-table { min-width: 350px; }
      th, td { padding: 10px 6px; font-size: 0.85rem; }

      /* Responsive sizing for team logos and player avatars */
      .team-logo {
        width: 50px;
        height: 50px;
        border-radius: 8px;
      }
      .player-avatar, .player-avatar-placeholder {
        width: 80px;
        height: 80px;
      }
      .player-avatar-placeholder::before {
        font-size: 1.75rem;
      }
      .player-name {
        font-size: 0.9rem;
      }

      /* Adjust container padding for smaller avatars */
      td:has(.team-logo) {
        padding: 10px 6px;
      }
      td:has(.player-avatar) {
        padding: 10px 6px;
      }

    }

    @media (max-width: 640px) {
      .container { padding: 0 0.875rem; }
      .stat-content-centered { padding: 0; }
      .table-scroll { margin: 1.25rem 0; }
      table { min-width: 500px; }
      th, td { padding: 8px 5px; font-size: 0.8rem; }

      .team-logo {
        width: 44px;
        height: 44px;
      }
      .player-avatar, .player-avatar-placeholder {
        width: 70px;
        height: 70px;
      }
      .player-name {
        font-size: 0.85rem;
      }
    }

    @media (max-width: 480px) {
      .container { padding: 0 0.75rem; }
      .stat-content-centered { padding: 0; }
      .table-scroll {
        margin: 1rem 0;
      }
      table { min-width: 500px; }
      table.narrow-table { min-width: 320px; }
      th, td { padding: 8px 4px; font-size: 0.75rem; }

      .team-logo {
        width: 40px;
        height: 40px;
        border-radius: 6px;
      }
      .player-avatar, .player-avatar-placeholder {
        width: 60px;
        height: 60px;
      }
      .player-avatar-placeholder::before {
        font-size: 1.5rem;
      }
      .player-name {
        font-size: 0.8rem;
      }
    }

    /* Penalty breakdown styling */
    .penalty-breakdown {
      font-size: 0.85rem;
      line-height: 1.3;
      max-width: 280px;
      min-width: 200px;
      word-wrap: break-word;
      white-space: normal;
      padding: 4px 0;
    }
    
    /* Ensure penalty table is horizontally scrollable */
    .penalty-breakdown br {
      margin: 2px 0;
    }
    
    /* Game ID link styling */
    table a[href*="game-center"] {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
      padding: 4px 8px;
      border-radius: 4px;
      transition: all 0.2s ease;
      display: inline-block;
    }
    
    table a[href*="game-center"]:hover {
      background: rgba(59, 130, 246, 0.1);
      color: var(--accent-hover);
      text-decoration: none;
    }
    
    /* About page styles */
    .about-page {
        max-width: 100%;
        margin: 2rem 0;
        padding: 0;
    }

    .about-header {
        text-align: center;
        margin-bottom: 4rem;
        padding: 3rem 0;
        background: linear-gradient(135deg, rgba(139, 69, 195, 0.1) 0%, rgba(139, 69, 195, 0.05) 100%);
        border-radius: 20px;
        border: 1px solid rgba(139, 69, 195, 0.2);
    }

    .about-icon {
        font-size: 3rem;
        color: var(--pwhl-purple);
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

    .about-title {
        font-size: 3rem;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
    }

    .about-subtitle {
        font-size: 1.2rem;
        color: var(--text-secondary);
        font-weight: 400;
        opacity: 0.8;
        margin: 0;
    }

    .about-content {
        display: grid;
        gap: 3rem;
    }

    .about-section {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
        padding: 2.5rem;
        background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        transition: all 0.3s ease;
    }

    .about-section:hover {
        transform: translateY(-2px);
        border-color: rgba(139, 69, 195, 0.3);
        box-shadow: 0 8px 32px rgba(139, 69, 195, 0.1);
    }

    .section-icon {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--pwhl-purple) 0%, rgba(139, 69, 195, 0.8) 100%);
        border-radius: 12px;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 4px 16px rgba(139, 69, 195, 0.3);
    }

    .section-text h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }

    .section-text p {
        font-size: 1.1rem;
        color: var(--text-primary);
        line-height: 1.7;
        margin: 0;
        opacity: 0.9;
    }

    .about-cta {
        text-align: center;
        padding: 3rem 2rem;
        background: linear-gradient(135deg, rgba(139, 69, 195, 0.1) 0%, rgba(139, 69, 195, 0.05) 100%);
        border: 1px solid rgba(139, 69, 195, 0.2);
        border-radius: 20px;
        margin-top: 2rem;
    }

    .cta-text {
        font-size: 1.3rem;
        color: var(--text-primary);
        margin-bottom: 2rem;
        font-weight: 600;
    }

    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        background: linear-gradient(135deg, var(--pwhl-purple) 0%, rgba(139, 69, 195, 0.9) 100%);
        color: white;
        padding: 1rem 2rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(139, 69, 195, 0.3);
    }

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(139, 69, 195, 0.4);
        color: white;
        text-decoration: none;
    }

    @media (max-width: 768px) {
        .about-page { margin: 1rem 0; }
        .about-header { margin-bottom: 2rem; padding: 2rem 1rem; }
        .about-title { font-size: 2.2rem; }
        .about-subtitle { font-size: 1.1rem; }
        .about-section {
            flex-direction: column;
            gap: 1.5rem;
            padding: 2rem 1.5rem;
            text-align: center;
        }
        .section-icon { margin: 0 auto; }
        .about-cta { padding: 2rem 1rem; }
        .cta-button { padding: 0.875rem 1.5rem; }
    }
    
    /* TOC-specific styles */
    .toc-container {
      background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2.5rem;
      margin: 2rem 0 4rem;
      position: relative;
      counter-reset: section;
    }

    .toc-container::before {
      content: 'All Insights';
      position: absolute;
      top: -12px;
      left: 24px;
      background: var(--bg-primary);
      padding: 0 12px;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-secondary);
      letter-spacing: 0.02em;
    }

    .toc-group {
      margin: 0 0 2.5rem;
      padding: 1.75rem;
      background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(8px);
      transition: all 0.3s ease;
    }

    .toc-group:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
      border-color: rgba(255,255,255,0.12);
    }

    .toc-group::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
    }

    .toc-group h3 {
      font-size: 1.25rem;
      color: #ffffff;
      font-weight: 700;
      margin: 0 0 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      letter-spacing: -0.01em;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .toc-group h3::before {
      content: counter(section, upper-roman) '.';
      counter-increment: section;
      font-weight: 600;
      font-size: 1rem;
      color: var(--text-secondary);
      margin-right: 0.25rem;
    }

    .toc-group h3 i {
      font-size: 1.1rem;
      opacity: 0.9;
    }

    .toc {
      list-style: none;
      padding-left: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .toc li {
      margin: 0;
      padding: 0;
      border-radius: 6px;
      transition: background-color 0.15s ease;
    }

    .toc li:nth-child(even) {
      background-color: rgba(255,255,255,0.015);
    }

    .toc li:nth-child(odd) {
      background-color: rgba(255,255,255,0.005);
    }

    .toc li:hover {
      background-color: rgba(255,255,255,0.04) !important;
    }

    .toc a {
      color: #d1d5db;
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 400;
      display: block;
      padding: 0.75rem 1rem;
      transition: color 0.15s ease;
      position: relative;
      line-height: 1.4;
      border-radius: 6px;
    }

    .toc a:hover {
      color: #ffffff;
    }

    /* Category-specific styling */
    .toc-group.achievements { border-left: 3px solid var(--achievements); }
    .toc-group.achievements::before { background: var(--achievements); }
    .toc-group.achievements h3 i { color: var(--achievements); }

    .toc-group.career-milestones { border-left: 3px solid var(--career-milestones); }
    .toc-group.career-milestones::before { background: var(--career-milestones); }
    .toc-group.career-milestones h3 i { color: var(--career-milestones); }

    .toc-group.league-leaders { border-left: 3px solid var(--league-leaders); }
    .toc-group.league-leaders::before { background: var(--league-leaders); }
    .toc-group.league-leaders h3 i { color: var(--league-leaders); }

    .toc-group.goaltending { border-left: 3px solid var(--goaltending); }
    .toc-group.goaltending::before { background: var(--goaltending); }
    .toc-group.goaltending h3 i { color: var(--goaltending); }

    .toc-group.timing { border-left: 3px solid var(--timing); }
    .toc-group.timing::before { background: var(--timing); }
    .toc-group.timing h3 i { color: var(--timing); }

    .toc-group.team-scoring { border-left: 3px solid var(--team-scoring); }
    .toc-group.team-scoring::before { background: var(--team-scoring); }
    .toc-group.team-scoring h3 i { color: var(--team-scoring); }

    .toc-group.penalties { border-left: 3px solid var(--penalties); }
    .toc-group.penalties::before { background: var(--penalties); }
    .toc-group.penalties h3 i { color: var(--penalties); }

    .toc-group.special-teams { border-left: 3px solid var(--special-teams); }
    .toc-group.special-teams::before { background: var(--special-teams); }
    .toc-group.special-teams h3 i { color: var(--special-teams); }

    
    /* Milestone Progress Pills */
    .progress-container { display: flex; flex-direction: column; gap: 0.75rem; min-width: 220px; }
    .progress-bar {
      position: relative;
      height: 28px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
      border: 1px solid rgba(255,255,255,0.25);
      overflow: hidden;
      box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.15),
        0 1px 3px rgba(0,0,0,0.2);
      backdrop-filter: blur(8px);
    }
    .progress-fill {
      height: 100%;
      border-radius: 15px;
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 1px 3px rgba(0,0,0,0.2);
    }
    .progress-fill::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 50%;
      background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
      border-radius: 15px 15px 0 0;
    }
    .progress-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 12px;
      font-weight: 700;
      color: #ffffff;
      text-shadow: 0 1px 3px rgba(0,0,0,0.7);
      z-index: 2;
      letter-spacing: 0.025em;
    }
    .milestone-info { display: flex; justify-content: space-between; font-size: 11px; margin-top: 2px; }
    .milestone-target { color: var(--text-secondary); font-weight: 500; }
    .goals-needed { color: var(--text-primary); font-weight: 700; }
    
    /* Milestone-specific colors */
    .milestone-10 .progress-fill { background: linear-gradient(90deg, #10b981, #059669); }
    .milestone-25 .progress-fill { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
    .milestone-50 .progress-fill { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
    .milestone-75 .progress-fill { background: linear-gradient(90deg, #f59e0b, #d97706); }
    .milestone-100 .progress-fill { background: linear-gradient(90deg, #ef4444, #dc2626); }
    .milestone-150 .progress-fill { background: linear-gradient(90deg, #ec4899, #db2777); }
    .milestone-200 .progress-fill { background: linear-gradient(90deg, #06b6d4, #0891b2); }
    .milestone-250 .progress-fill { background: linear-gradient(90deg, #84cc16, #65a30d); }
    .milestone-300 .progress-fill { background: linear-gradient(90deg, #f97316, #ea580c); }
    .milestone-400 .progress-fill { background: linear-gradient(90deg, #6366f1, #4f46e5); }
    .milestone-500 .progress-fill { background: linear-gradient(90deg, #a855f7, #9333ea); }
    
    /* Category-specific colors */
    .category-card.achievements { background: linear-gradient(145deg, var(--achievements-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--achievements-border); }
    .category-card.achievements::before { background: linear-gradient(90deg, var(--achievements), rgba(6,182,212,0.6)); }
    .category-card.achievements .category-icon { color: var(--achievements); background: rgba(6,182,212,0.15); }
    .category-card.career-milestones { background: linear-gradient(145deg, var(--career-milestones-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--career-milestones-border); }
    .category-card.career-milestones::before { background: linear-gradient(90deg, var(--career-milestones), rgba(34,197,94,0.6)); }
    .category-card.career-milestones .category-icon { color: var(--career-milestones); background: rgba(34,197,94,0.15); }
    .category-card.league-leaders { background: linear-gradient(145deg, var(--league-leaders-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--league-leaders-border); }
    .category-card.league-leaders::before { background: linear-gradient(90deg, var(--league-leaders), rgba(139,92,246,0.6)); }
    .category-card.league-leaders .category-icon { color: var(--league-leaders); background: rgba(139,92,246,0.15); }
    .category-card.goaltending { background: linear-gradient(145deg, var(--goaltending-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--goaltending-border); }
    .category-card.goaltending::before { background: linear-gradient(90deg, var(--goaltending), rgba(16,185,129,0.6)); }
    .category-card.goaltending .category-icon { color: var(--goaltending); background: rgba(16,185,129,0.15); }
    .category-card.timing { background: linear-gradient(145deg, var(--timing-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--timing-border); }
    .category-card.timing::before { background: linear-gradient(90deg, var(--timing), rgba(245,158,11,0.6)); }
    .category-card.timing .category-icon { color: var(--timing); background: rgba(245,158,11,0.15); }
    .category-card.team-scoring { background: linear-gradient(145deg, var(--team-scoring-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--team-scoring-border); }
    .category-card.team-scoring::before { background: linear-gradient(90deg, var(--team-scoring), rgba(239,68,68,0.6)); }
    .category-card.team-scoring .category-icon { color: var(--team-scoring); background: rgba(239,68,68,0.15); }
    .category-card.penalties { background: linear-gradient(145deg, var(--penalties-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--penalties-border); }
    .category-card.penalties::before { background: linear-gradient(90deg, var(--penalties), rgba(249,115,22,0.6)); }
    .category-card.penalties .category-icon { color: var(--penalties); background: rgba(249,115,22,0.15); }
    .category-card.special-teams { background: linear-gradient(145deg, var(--special-teams-bg) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.02) 100%); border-color: var(--special-teams-border); }
    .category-card.special-teams::before { background: linear-gradient(90deg, var(--special-teams), rgba(139,92,246,0.6)); }
    .category-card.special-teams .category-icon { color: var(--special-teams); background: rgba(139,92,246,0.15); }
    
    /* Mobile Table Scrolling */
    @media (max-width: 768px) {
      .stat-content-centered { justify-content: flex-start; }
      .table-scroll { width: 100vw; max-width: calc(100vw - 3rem); margin: 0 -1.5rem; padding: 0 1.5rem; box-sizing: border-box; }
      .container { overflow: visible; }

      /* TOC Mobile Styles */
      .toc-container {
        padding: 1.25rem;
        margin: 1rem 0 2rem;
      }

      .toc-group {
        margin: 0 0 2rem;
        padding: 1.5rem;
      }

      .toc-group h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem;
        gap: 0.5rem;
      }

      .toc-group h3::before {
        font-size: 0.9rem;
      }

      .toc-group h3 i {
        font-size: 1rem;
      }

      .toc {
        gap: 0.05rem;
      }

      .toc a {
        font-size: 0.88rem;
        padding: 0.65rem 0.85rem;
      }
    }