/* ============================================
   ATLAS Performance — Premium Dark Theme
   ============================================ */

:root {
  --bg: #08090D;
  --bg-alt: #0D0F14;
  --bg-card: #12141A;
  --bg-card-hover: #181B23;
  --bg-elevated: #1A1D26;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --text: #F0F0F0;
  --text-secondary: #8A8F98;
  --text-muted: #5A5F68;
  --accent: #4ECDC4;
  --accent-dim: rgba(78,205,196,0.15);
  --accent-glow: rgba(78,205,196,0.3);
  --danger: #FF6B6B;
  --danger-dim: rgba(255,107,107,0.15);
  --warning: #FFD93D;
  --warning-dim: rgba(255,217,61,0.15);
  --success: #6BCB77;
  --success-dim: rgba(107,203,119,0.15);
  --font-head: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================ LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { height: 80px; margin-bottom: 2rem; animation: pulse 1.5s ease infinite; }
.loader-bar { width: 200px; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.loader-fill { height: 100%; width: 0; background: var(--accent); border-radius: 3px; animation: loaderFill 1.2s ease forwards; }

@keyframes loaderFill { to { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ============================================ CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================ NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8,9,13,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(8,9,13,0.95); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 36px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--bg-card); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-card); }
.nav-link--cta {
  color: var(--bg) !important;
  background: var(--accent) !important;
  font-weight: 600;
}
.nav-link--cta:hover { background: #3dbdb5 !important; transform: translateY(-1px); }

/* ============================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover { background: #3dbdb5; transform: translateY(-2px); box-shadow: 0 4px 20px var(--accent-glow); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--outline:hover { background: var(--bg-card); border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--accent { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(78,205,196,0.2); }
.btn--accent:hover { background: var(--accent); color: var(--bg); }
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================ HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(78,205,196,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(78,205,196,0.04) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}
.hero-logo {
  height: 160px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px rgba(78,205,196,0.15));
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #c0c0c0 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-badges { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.hero-badge i { color: var(--accent); font-size: 0.75rem; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================ ANIMATIONS */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================ SECTIONS */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section--cta {
  background: radial-gradient(ellipse at center, rgba(78,205,196,0.06) 0%, transparent 70%);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.section-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================ KPI CARDS */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.5;
}
.kpi-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.kpi-card--success::before { background: var(--success); }
.kpi-card--warning::before { background: var(--warning); }
.kpi-card--danger::before { background: var(--danger); }
.kpi-card--accent::before { background: var(--accent); opacity: 1; }
.kpi-icon { font-size: 1.2rem; color: var(--accent); margin-bottom: 0.75rem; }
.kpi-card--success .kpi-icon { color: var(--success); }
.kpi-card--warning .kpi-icon { color: var(--warning); }
.kpi-card--danger .kpi-icon { color: var(--danger); }
.kpi-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.kpi-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================ ALERT BANNER */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--danger-dim);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,107,107,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  flex-shrink: 0;
  animation: pulseAlert 2s ease infinite;
}
@keyframes pulseAlert {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,107,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,107,0); }
}
.alert-content { flex: 1; }
.alert-content strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; color: var(--danger); }
.alert-content span { font-size: 0.82rem; color: var(--text-secondary); }
.alert-action { flex-shrink: 0; }

/* ============================================ CHART CARDS */
.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.chart-card:hover { border-color: var(--border-strong); }
.chart-card--wide { grid-column: span 1; }
.chart-card--full { margin-top: 1.5rem; }
.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chart-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-title i { color: var(--accent); font-size: 0.85rem; }
.chart-legend { display: flex; gap: 1rem; }
.legend-item {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-item i { font-size: 0.5rem; }
.legend-item--green i { color: var(--success); }
.legend-item--red i { color: var(--danger); }
.legend-item--yellow i { color: var(--warning); }
.chart-body { position: relative; }
.chart-body canvas { width: 100% !important; }
.chart-body--centered { display: flex; align-items: center; justify-content: center; min-height: 250px; }
.chart-badge {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.chart-badge--warning { background: var(--warning-dim); color: var(--warning); }
.chart-badge--exclusive { background: linear-gradient(135deg, var(--accent-dim), rgba(78,205,196,0.25)); color: var(--accent); }

/* ============================================ DATA TABLE */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.table-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.table-title i { color: var(--accent); }
.table-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.filter-btn i { font-size: 0.45rem; }
.filter-btn:hover { background: var(--bg-elevated); color: var(--text); }
.filter-btn--active { background: var(--accent-dim); color: var(--accent); border-color: rgba(78,205,196,0.3); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  vertical-align: middle;
  white-space: nowrap;
}
.data-table tr:hover td { background: rgba(78,205,196,0.03); }
.data-table tr:last-child td { border-bottom: none; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-head);
}
.status-badge--ok { background: var(--success-dim); color: var(--success); }
.status-badge--risk { background: var(--warning-dim); color: var(--warning); }
.status-badge--injured { background: var(--danger-dim); color: var(--danger); }
.status-badge i { font-size: 0.45rem; }

.mini-bar {
  width: 80px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}
.mini-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.table-action {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.table-action:hover { background: var(--accent-dim); color: var(--accent); border-color: rgba(78,205,196,0.3); }

/* ============================================ MATCHES */
.matches-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.match-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  transition: var(--transition);
}
.match-item:hover { border-color: var(--border-strong); }
.match-date {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.match-opponent {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.match-readiness { display: flex; align-items: center; gap: 0.5rem; }
.match-readiness-bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.match-readiness-fill { height: 100%; border-radius: 4px; transition: width 1.5s ease; }
.match-readiness-val { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; }

/* ============================================ PLAYER PROFILE */
.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.player-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  flex-wrap: wrap;
}
.player-avatar { position: relative; flex-shrink: 0; }
.player-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.player-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
}
.player-status-dot--ok { background: var(--success); }
.player-status-dot--risk { background: var(--warning); }
.player-status-dot--injured { background: var(--danger); }
.player-info { flex: 1; min-width: 200px; }
.player-name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.15rem; }
.player-position { font-size: 0.9rem; color: var(--accent); font-weight: 500; display: block; margin-bottom: 0.75rem; }
.player-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.player-meta span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-secondary); }
.player-meta i { color: var(--text-muted); font-size: 0.75rem; }
.player-scores { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.score-ring {
  text-align: center;
  position: relative;
  width: 90px;
}
.score-ring::before {
  content: attr(data-score);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 0.35rem;
}
.score-ring[data-invert="true"]::before { border-color: var(--success); color: var(--success); }
.score-ring::after {
  content: attr(data-label);
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.wearable-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.wearable-label { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.wearable-label i { color: var(--accent); }
.wearable-icons { display: flex; gap: 1rem; flex: 1; }
.wearable-icon {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.wearable-icon i { color: var(--accent); }
.wearable-sync { font-size: 0.75rem; color: var(--success); display: flex; align-items: center; gap: 0.35rem; }

.player-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ============================================ AI RECOMMENDATION */
.ai-recommendation {
  display: flex;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--accent-dim), rgba(78,205,196,0.05));
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.ai-rec-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ai-rec-title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--accent); }
.ai-rec-content p { font-size: 0.9rem; line-height: 1.65; color: var(--text-secondary); }
.ai-rec-content strong { color: var(--text); }

/* ============================================ PORTABLE CARD */
.portable-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex-wrap: wrap;
}
.portable-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.portable-content { flex: 1; min-width: 250px; }
.portable-content h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 0.35rem; }
.portable-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.portable-trail {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.trail-dot {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
}
.trail-dot--past { background: var(--bg-elevated); color: var(--text-muted); }
.trail-dot--active { background: var(--accent); color: var(--bg); }
.trail-dot--future { background: transparent; border: 1px dashed var(--text-muted); color: var(--text-muted); }
.trail-line { width: 30px; height: 2px; background: var(--text-muted); }
.trail-line--future { background: transparent; border-top: 2px dashed var(--text-muted); }

/* ============================================ COACH VIEW */
.coach-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.pitch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pitch {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 500px;
  background: linear-gradient(180deg, #1a472a 0%, #1d5231 25%, #1a472a 50%, #1d5231 75%, #1a472a 100%);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
.pitch-field {
  position: absolute;
  inset: 8%;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 4px;
}
.pitch-line--half {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.25);
}
.pitch-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}
.pitch-box--top {
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 18%;
  border: 2px solid rgba(255,255,255,0.25);
  border-top: none;
}
.pitch-box--bottom {
  position: absolute;
  bottom: -1px;
  left: 25%;
  right: 25%;
  height: 18%;
  border: 2px solid rgba(255,255,255,0.25);
  border-bottom: none;
}
.pitch-player {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.pitch-player-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  margin-bottom: 0.2rem;
  transition: var(--transition);
  cursor: pointer;
}
.pitch-player-dot:hover { transform: scale(1.15); }
.pitch-player-dot--ok { background: rgba(78,205,196,0.8); }
.pitch-player-dot--risk { background: rgba(255,217,61,0.8); }
.pitch-player-dot--danger { background: rgba(255,107,107,0.8); }
.pitch-player-name {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.pitch-legend { display: flex; gap: 1.25rem; font-size: 0.78rem; color: var(--text-secondary); }
.pitch-legend span { display: flex; align-items: center; gap: 0.35rem; }
.pitch-legend i { font-size: 0.5rem; }

.coach-stats { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stat-card--special {
  border-color: rgba(78,205,196,0.2);
  background: linear-gradient(135deg, var(--bg-card), rgba(78,205,196,0.03));
}

.fatigue-gauge { text-align: center; padding: 1rem 0; }
.fatigue-value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
}
.fatigue-value span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.fatigue-bar {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  margin: 1rem 0;
  overflow: hidden;
}
.fatigue-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), var(--warning));
  border-radius: 5px;
  transition: width 1.5s ease;
}
.fatigue-note { font-size: 0.82rem; color: var(--text-secondary); }

.cognitive-gauge { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; flex-wrap: wrap; }
.cognitive-ring {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.cognitive-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cg-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.cg-fill { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.5s ease; }
.cognitive-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
}
.cognitive-val span { font-size: 0.8rem; color: var(--text-muted); }
.cognitive-details { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.cog-detail { display: flex; align-items: baseline; gap: 0.5rem; }
.cog-num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--accent); }
.cog-label { font-size: 0.82rem; color: var(--text-secondary); }
.cognitive-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--warning);
  background: var(--warning-dim);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

/* ============================================ NEXT MATCH */
.next-match {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.nm-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.nm-header i { color: var(--accent); font-size: 1.1rem; }
.nm-header h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.nm-teams { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.nm-team { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.nm-team-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}
.nm-team-badge--opp { background: var(--danger-dim); color: var(--danger); }
.nm-team span { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; }
.nm-vs { font-family: var(--font-head); font-weight: 700; color: var(--text-muted); }
.nm-insights { display: flex; flex-direction: column; gap: 0.75rem; }
.nm-insight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}
.nm-insight i { color: var(--accent); margin-top: 0.15rem; flex-shrink: 0; }

/* ============================================ IPF / YOUTH */
.ipf-highlight {
  background: linear-gradient(135deg, var(--bg-card), rgba(78,205,196,0.05));
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.ipf-badge {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ipf-content { padding: 1.5rem; }
.ipf-player { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.ipf-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}
.ipf-info h3 { font-family: var(--font-head); font-size: 1.15rem; }
.ipf-info span { font-size: 0.85rem; color: var(--text-secondary); }
.ipf-story { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.ipf-problem, .ipf-solution {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.6;
}
.ipf-problem { background: var(--danger-dim); }
.ipf-problem-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,107,107,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  flex-shrink: 0;
}
.ipf-solution { background: var(--success-dim); }
.ipf-solution-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(107,203,119,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  flex-shrink: 0;
}
.ipf-score-visual { margin-top: 0.5rem; }
.ipf-gauge {
  height: 12px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.ipf-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #6BCB77);
  border-radius: 6px;
  transition: width 1.5s ease;
}
.ipf-gauge-labels { display: flex; justify-content: space-between; align-items: center; }
.ipf-gauge-labels span { font-size: 0.85rem; }
.ipf-gauge-labels strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--accent); }
.ipf-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-dim);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.youth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.youth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}
.youth-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.youth-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.youth-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.youth-name { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; }
.youth-meta { font-size: 0.78rem; color: var(--text-secondary); }
.youth-stats { display: flex; justify-content: space-between; gap: 0.5rem; }
.youth-stat { text-align: center; }
.youth-stat-value { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.youth-stat-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.academy-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.academy-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.academy-stat-value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.academy-stat-label { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================ FINANCIAL */
.fin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.fin-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.fin-kpi:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(78,205,196,0.1); }
.fin-kpi > i { font-size: 1.5rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.fin-kpi-value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.fin-kpi-label { font-size: 0.88rem; color: var(--text-secondary); }

.valuation-list { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.5rem 0; }
.val-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}
.val-rank {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  width: 24px;
  text-align: center;
}
.val-info { flex: 1; }
.val-name { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; }
.val-pos { font-size: 0.72rem; color: var(--text-muted); }
.val-amount { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--success); }
.val-pct { font-size: 0.72rem; color: var(--success); }

/* ============================================ DUE DILIGENCE */
.dd-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius);
  overflow: hidden;
}
.dd-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--danger-dim);
  border-bottom: 1px solid rgba(255,107,107,0.15);
}
.dd-header i { color: var(--danger); font-size: 1.1rem; }
.dd-header h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; flex: 1; }
.dd-badge {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.dd-badge--danger { background: rgba(255,107,107,0.2); color: var(--danger); }
.dd-content { padding: 1.5rem; }
.dd-player { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.dd-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--danger-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  font-size: 1.2rem;
}
.dd-player strong { font-family: var(--font-head); }
.dd-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }
.dd-findings { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.dd-finding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
}
.dd-finding--danger { background: var(--danger-dim); }
.dd-finding--danger i { color: var(--danger); }
.dd-finding--warning { background: var(--warning-dim); }
.dd-finding--warning i { color: var(--warning); }
.dd-finding--ok { background: var(--success-dim); }
.dd-finding--ok i { color: var(--success); }
.dd-recommendation {
  display: flex;
  gap: 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(78,205,196,0.15);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.6;
}
.dd-recommendation i { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.15rem; }
.dd-recommendation strong { color: var(--accent); }

/* ============================================ AI CHAT */
.ai-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}
.chat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.chat-header-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}
.chat-header-dot:nth-child(1) { background: #FF5F57; }
.chat-header-dot:nth-child(2) { background: #FEBC2E; }
.chat-header-dot:nth-child(3) { background: #28C840; }
.chat-body {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 380px;
  overflow-y: auto;
}
.chat-msg {
  display: flex;
  gap: 0.75rem;
  max-width: 90%;
  animation: fadeInUp 0.4s ease;
}
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.chat-msg--ai .chat-msg-avatar { background: var(--accent); color: var(--bg); }
.chat-msg--user .chat-msg-avatar { background: var(--bg-elevated); color: var(--text-secondary); }
.chat-msg-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.chat-msg--ai .chat-msg-bubble {
  background: var(--bg-elevated);
  border-bottom-left-radius: 4px;
  color: var(--text-secondary);
}
.chat-msg--user .chat-msg-bubble {
  background: var(--accent);
  color: var(--bg);
  border-bottom-right-radius: 4px;
}
.chat-msg-bubble strong { color: var(--text); }
.chat-msg--user .chat-msg-bubble strong { color: var(--bg); }
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.85rem 1.1rem;
}
.chat-typing span {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingDot 1.4s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.chat-input input::placeholder { color: var(--text-muted); }
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.predictions { display: flex; flex-direction: column; gap: 1rem; }
.prediction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}
.prediction-card:hover { border-color: var(--border-strong); }
.pred-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pred-header i { color: var(--accent); }
.pred-header h4 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; }
.pred-player { font-size: 0.88rem; margin-bottom: 0.75rem; }
.pred-player strong { font-family: var(--font-head); }
.pred-gauge {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.pred-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--warning), var(--danger));
  border-radius: 4px;
  transition: width 1.5s ease;
}
.pred-gauge--positive .pred-gauge-fill { background: linear-gradient(90deg, var(--accent), var(--success)); }
.pred-value {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 0.25rem;
}
.pred-value span { font-size: 0.82rem; font-weight: 400; color: var(--text-secondary); }
.pred-value--positive { color: var(--success); }
.pred-note { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }
.pred-items { display: flex; flex-direction: column; gap: 0.5rem; }
.pred-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }

/* ============================================ INTEGRATIONS */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.integration-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(78,205,196,0.08); }
.integration-card i { font-size: 2rem; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.integration-card span { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* ============================================ CTA */
.cta-content { text-align: center; max-width: 640px; margin: 0 auto; padding: 2rem 0; }
.cta-logo { height: 100px; margin-bottom: 2rem; filter: drop-shadow(0 0 30px rgba(78,205,196,0.15)); }
.cta-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; }
.cta-desc { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.cta-trust { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-item i { color: var(--accent); font-size: 0.9rem; }

/* ============================================ FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo { height: 30px; }
.footer-brand span { font-size: 0.82rem; color: var(--text-muted); }
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================ RESPONSIVE */
@media (max-width: 1024px) {
  .charts-row { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .player-charts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8,9,13,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; text-align: center; padding: 0.75rem; }
  .hero-logo { height: 120px; }
  .section { padding: 4rem 0; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .player-header { flex-direction: column; text-align: center; }
  .player-meta { justify-content: center; }
  .player-scores { justify-content: center; }
  .alert-banner { flex-direction: column; text-align: center; }
  .nm-teams { flex-wrap: wrap; }
  .portable-card { flex-direction: column; text-align: center; }
  .fin-kpis { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-badges { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .youth-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
