@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --primary-orange: #f97316;
  --primary-orange-hover: #ea580c;
  --court-teal: #14b8a6;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #030712;
  color: #f3f4f6;
  min-height: 100vh;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.6);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.8);
}

/* Glassmorphism panels */
.glass-card {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-header {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Glow animation */
@keyframes court-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
  }
}

.glow-orange {
  animation: court-pulse 3s ease-in-out infinite;
}

.tab-btn.active {
  background-color: #ea580c;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.pos-oh { background: rgba(249, 115, 22, 0.2); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.3); }
.pos-mb { background: rgba(20, 184, 166, 0.2); color: #5eead4; border: 1px solid rgba(20, 184, 166, 0.3); }
.pos-s  { background: rgba(14, 165, 233, 0.2); color: #7dd3fc; border: 1px solid rgba(14, 165, 233, 0.3); }
.pos-opp { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.3); }
.pos-l  { background: rgba(234, 179, 8, 0.2); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.3); }
.pos-ds { background: rgba(234, 179, 8, 0.2); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.3); }

/* Mobile Sticky Columns for 17-Column Stat Matrix */
.sticky-col-num {
  position: sticky;
  left: 0;
  background-color: rgb(15 23 42);
  z-index: 10;
}

.sticky-col-player {
  position: sticky;
  left: 36px;
  background-color: rgb(15 23 42);
  z-index: 10;
  box-shadow: 2px 0 6px -2px rgba(0, 0, 0, 0.5);
}

thead th.sticky-col-num,
thead th.sticky-col-player {
  background-color: rgb(30 41 59);
  z-index: 20;
}

/* Accessibility Focus Visible */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}
