:root {
  color-scheme: dark light;
  /* Modern Color Palette */
  --bg-primary: #0a0e1a;
  --bg-secondary: #131824;
  --bg-card: rgba(19, 24, 36, 0.85);
  --bg-glass: rgba(25, 32, 48, 0.7);
  --border-primary: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.15);
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Accent Colors */
  --accent-primary: #6366f1;
  --accent-secondary: #818cf8;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-yellow: #f59e0b;
  --accent-blue: #3b82f6;
  
  /* Goal & Card Colors */
  --goal-glow: rgba(16, 185, 129, 0.3);
  --card-yellow: #fbbf24;
  --card-red: #ef4444;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glow-goal: 0 0 20px rgba(16, 185, 129, 0.4);
  --glow-live: 0 0 15px rgba(239, 68, 68, 0.5);
  
  /* Spacing - Responsive */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  
  /* Responsive spacing (mobilde daha kompakt) */
  --space-mobile-xs: clamp(4px, 1.5vw, 8px);
  --space-mobile-sm: clamp(6px, 2vw, 12px);
  --space-mobile-md: clamp(8px, 2.5vw, 16px);
  --space-mobile-lg: clamp(12px, 3vw, 24px);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0a0e1a 0%, #131824 50%, #0f1419 100%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-y: visible;
}

.page {
  width: min(1200px, 96%);
  padding: var(--space-xl) var(--space-lg) 48px;
}

/* ============================================
   MATCH HEADER - Professional Design
   ============================================ */

.match-header {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.12) 0%, 
    rgba(139, 92, 246, 0.08) 50%,
    rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.match-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent);
}

/* Üst satır: Sadece durum badge'i */
.match-status-bar-top {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, var(--space-sm));
  margin-bottom: clamp(6px, 1.2vw, var(--space-sm));
  flex-wrap: wrap;
}

/* Alt satır: Diğer tüm badge'ler */
/* Üst satır: Sadece durum badge'i */
.match-status-bar-top {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, var(--space-sm));
  margin-bottom: clamp(6px, 1.2vw, var(--space-sm));
  flex-wrap: wrap;
}

/* Alt satır: Diğer tüm badge'ler */
.match-status-bar {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, var(--space-sm)); /* Gap responsive */
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Status variants */
.status-tag.status-live {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  box-shadow: var(--glow-live);
}

.status-tag.status-halftime {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.status-tag.status-finished {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}

.status-tag.status-soon {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.status-tag.status-notstarted {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.status-tag.status-postponed {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.status-tag.status-canceled {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.match-info-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.8vw, 5px); /* Gap küçültüldü */
  padding: clamp(3px, 1vw, 5px) clamp(6px, 1.6vw, 10px); /* Padding küçültüldü */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  font-size: clamp(0.6rem, 1.6vw, 0.7rem); /* Font küçültüldü */
  color: var(--text-secondary);
  /* Text overflow için - Desktop'ta daha geniş */
  max-width: min(320px, calc(100vw - 60px)); /* Desktop'ta daha geniş (240px → 320px) */
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  flex-basis: auto;
  /* İçerideki text için */
  position: relative;
  line-height: 1.3; /* Line-height optimize edildi */
}

/* Badge içindeki text için overflow kontrolü */
.match-info-badge > span:not(.emoji-icon):not(.icon) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.match-info-badge .icon {
  width: clamp(10px, 2.2vw, 12px); /* Icon küçültüldü */
  height: clamp(10px, 2.2vw, 12px);
  opacity: 0.7;
  flex-shrink: 0;
}

.match-info-badge .referee-icon {
  width: clamp(10px, 2.2vw, 12px); /* Icon küçültüldü */
  height: clamp(10px, 2.2vw, 12px);
  opacity: 0.8;
  flex-shrink: 0;
  /* Hakem düdüğü için özel stil */
}

.match-info-badge .emoji-icon {
  font-size: clamp(10px, 2.2vw, 12px); /* Emoji küçültüldü */
  line-height: 1;
  opacity: 0.9;
  flex-shrink: 0;
}

.match-scoreboard {
  display: grid;
  grid-template-columns: 1fr max-content 1fr; /* skor daima ortada */
  align-items: center;
  gap: clamp(8px, 2.5vw, var(--space-lg));
  overflow: visible; /* logo kırpılmasın */
  padding-inline: clamp(8px, 2vw, 24px); /* logolar kenara yapışmasın */
  width: 100%;
  min-width: 0; /* Grid çocuklarının shrink edebilmesi için */
}

.team {
  display: flex;
  align-items: center;
  gap: clamp(6px, 2vw, var(--space-md));
  justify-self: end; /* sol takım merkeze doğru hizalansın */
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.team-away {
  justify-content: flex-end;
  justify-self: start; /* sağ takım merkeze doğru hizalansın */
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.team-logo {
  width: clamp(32px, 12vw, 64px);
  height: clamp(32px, 12vw, 64px);
  max-width: clamp(32px, 12vw, 64px);
  max-height: clamp(32px, 12vw, 64px);
  min-width: clamp(32px, 12vw, 64px);
  min-height: clamp(32px, 12vw, 64px);
  object-fit: contain;
  overflow: visible;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.team-logo:hover {
  transform: scale(1.05);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.5vw, 4px);
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.team-info-right {
  align-items: flex-end;
  text-align: right;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.team-name {
  font-size: clamp(0.85rem, 3.5vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-width: 0;
}

.team-label {
  font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-width: 0;
}

.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.15));
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  justify-self: center; /* her durumda tam merkez */
}

.score-numbers {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, var(--space-sm));
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.score-separator {
  opacity: 0.4;
  font-weight: 400;
}

.score-home.winner,
.score-away.winner {
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.score-details {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.score-detail-label {
  font-weight: 600;
  opacity: 0.7;
}

.score-detail-value {
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================
   TIMELINE - Modern Event Cards
   ============================================ */

.layout {
  margin-bottom: var(--space-xl);
}

.timeline {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.timeline h2 {
  margin: 0 0 var(--space-lg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.timeline h2::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
}

.timeline-events {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.event-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, 
    rgba(99, 102, 241, 0.5), 
    rgba(139, 92, 246, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}

.event-card:hover::before {
  opacity: 1;
}

/* Goal Event Styling */
.event-card.goal {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.08) 0%,
    rgba(16, 185, 129, 0.02) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.event-card.goal::before {
  background: linear-gradient(180deg, 
    rgba(16, 185, 129, 0.8), 
    rgba(16, 185, 129, 0.4));
  opacity: 1;
}

.event-card.goal:hover {
  box-shadow: var(--glow-goal);
}

/* Card Event Styling */
.event-card.card {
  background: linear-gradient(135deg, 
    rgba(251, 191, 36, 0.06) 0%,
    rgba(251, 191, 36, 0.02) 100%);
  border-color: rgba(251, 191, 36, 0.2);
}

.event-card.card::before {
  background: linear-gradient(180deg, 
    rgba(251, 191, 36, 0.8), 
    rgba(251, 191, 36, 0.4));
  opacity: 1;
}

/* Match Event Styling (Maç başladı / bitti) */
.event-card.match-event {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08) 0%,
    rgba(99, 102, 241, 0.02) 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.event-card.match-event::before {
  background: linear-gradient(180deg, 
    rgba(99, 102, 241, 0.8), 
    rgba(99, 102, 241, 0.4));
  opacity: 1;
}

.event-icon.match-event {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.event-icon.match-event svg {
  color: var(--accent-primary);
}

/* ============================================
   LINEUP EVENT (Kadro Açıklandı)
   ============================================ */

.event-card.lineup-event {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.08) 0%,
    rgba(59, 130, 246, 0.02) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.event-card.lineup-event::before {
  background: linear-gradient(180deg, 
    rgba(59, 130, 246, 0.8), 
    rgba(59, 130, 246, 0.4));
  opacity: 1;
}

.event-icon.lineup-event {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.event-icon.lineup-event svg {
  color: #3b82f6;
}

.event-card.lineup-event .event-title {
  color: #1e3a8a;
  font-weight: 700;
}

/* ============================================
   COUNTDOWN EVENT (Maça X dk kala)
   ============================================ */

.event-card.countdown-event {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.08) 0%,
    rgba(245, 158, 11, 0.02) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.event-card.countdown-event::before {
  background: linear-gradient(180deg, 
    rgba(245, 158, 11, 0.8), 
    rgba(245, 158, 11, 0.4));
  opacity: 1;
}

.event-icon.countdown-event {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

.event-icon.countdown-event svg {
  color: #f59e0b;
}

.event-card.countdown-event .event-title {
  color: #d97706;
  font-weight: 700;
  font-size: 1.05rem;
}

.event-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 60px;
}

.event-minute {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.event-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
}

.event-icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.event-icon.goal {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.2), 
    rgba(16, 185, 129, 0.1));
  border-color: rgba(16, 185, 129, 0.3);
}

.event-icon.goal svg {
  color: var(--accent-green);
}

.event-icon.card svg {
  color: var(--card-yellow);
}

.event-icon.substitution {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.event-icon.substitution svg {
  color: var(--accent-blue);
}

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

.event-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.6;
}

/* Gol skoru için özel stil - profesyonel ve temiz */
.goal-score {
  font-size: 1.15rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.3px;
}

/* Oyuncu değişikliği için özel stil */
.event-card.substitution .event-title {
  line-height: 1.8;
}

.event-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   STATISTICS & TOP PLAYERS
   ============================================ */

.match-stats,
.top-players {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.match-stats h2,
.top-players h2 {
  margin: 0 0 var(--space-lg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.match-stats h2::before,
.top-players h2::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
}

.stats-grid {
  display: grid;
  gap: var(--space-lg);
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.stat-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateX(2px);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: var(--space-sm);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.stat-team-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.stat-team-home {
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.stat-team-away {
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.stat-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.stat-home,
.stat-away {
  min-width: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-home {
  text-align: right;
}

.stat-away {
  text-align: left;
}

.stat-bar-container {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-bar {
  display: flex;
  height: 100%;
  border-radius: var(--radius-full);
}

.stat-bar-home {
  background: linear-gradient(90deg, 
    #6366f1 0%, 
    #8b5cf6 100%);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.stat-bar-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  border-radius: var(--radius-full) 0 0 0;
}

.stat-bar-away {
  background: linear-gradient(90deg, 
    #3b82f6 0%, 
    #6366f1 100%);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.stat-bar-away::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  border-radius: 0 var(--radius-full) 0 0;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.player-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, 
    rgba(16, 185, 129, 0.8), 
    rgba(16, 185, 129, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.player-card:hover::before {
  opacity: 1;
}

.player-rank {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.5;
  min-width: 40px;
  text-align: center;
}

.player-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glow);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.2), 
    rgba(139, 92, 246, 0.2));
  box-shadow: var(--shadow-md);
}

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

.player-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-team {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.player-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.2), 
    rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
}

/* ============================================
   TABS - PROFESSIONAL UX/UI
   ============================================ */

.tabs-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
  overflow: visible; /* sticky başlık için kapatma */
}

.tabs-header {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border-primary);
  position: sticky; /* sticky sekme */
  top: 0; /* iframe içinde widget üstüne yapışır */
  z-index: 30;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  /* Desktop'ta overflow yok - tüm tab'lar görünür olmalı */
  /* Mobilde overflow için media query içinde ayarlanacak */
  overflow-x: visible;
  overflow-y: hidden;
  /* Scroll indicator için relative position */
  position: relative;
}

.tabs-header::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
  width: 0;
  height: 0;
}

/* Modern Scroll Bar Indicator - Alt çubuk */
.tabs-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 31;
  pointer-events: none;
}

/* Scroll thumb (kaydırıcı çubuğu) */
.tabs-header .scroll-thumb {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), #059669);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s ease, left 0.1s ease, width 0.1s ease;
  z-index: 32;
  pointer-events: none;
  min-width: 40px;
}

/* Scroll edilebilir olduğunda scroll bar'ı göster */
.tabs-header.scrollable::after,
.tabs-header.scrollable .scroll-thumb {
  opacity: 1;
}

.tab-btn {
  flex: 1; /* Desktop'ta eşit genişlikte, tüm tab'lar görünür */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  white-space: nowrap;
  /* Desktop'ta normal flex davranışı */
  min-width: 0;
}

.tab-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
}

.tab-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.tab-label {
  line-height: 1;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 8px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), #059669);
  border-radius: 3px 3px 0 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  /* Mobilde scroll offset'i hesaplamak için */
  pointer-events: none;
}

.tabs-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sub Tabs (Kadrolar içinde) */
.lineups-sub-tabs {
  display: flex;
  gap: 12px;
  padding: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-primary);
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
}

.sub-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sub-tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.sub-tab-btn:hover::before {
  left: 100%;
}

.sub-tab-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.sub-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-green), #059669);
  border-color: var(--accent-green);
  color: white;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(0);
}

.sub-tab-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.sub-tab-label {
  line-height: 1;
  font-weight: 600;
}

.lineups-sub-content {
  padding: var(--space-xl);
  min-height: 400px;
}

.lineups-content {
  padding: var(--space-xl);
}

.sub-tab-pane {
  display: none;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-tab-pane.active {
  display: block;
}

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

/* Lineups Content Improvements */
.lineups-starting11-content,
.lineups-bench-content {
  animation: fadeInUp 0.4s ease-out;
}

/* No Data Container */
.no-data-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: var(--space-xl);
}

.no-data {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-primary);
}

/* ============================================
   H2H (Baş Başa) - Professional List
   ============================================ */
.h2h-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.h2h-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.h2h-top {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  padding-bottom: 8px;
}

.h2h-league {
  font-weight: 600;
}

.h2h-middle {
  display: grid;
  grid-template-columns: 1fr max-content 1fr; /* skor tam ortada kalır */
  align-items: center;
  gap: 12px;
}

.h2h-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.h2h-home { justify-self: start; }
.h2h-away { justify-self: end; }
.h2h-scorebox { justify-self: center; }

.h2h-name {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.h2h-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.h2h-scorebox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-primary);
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}

.h2h-score-num {
  font-size: 1.1rem;
  font-weight: 800;
}

.h2h-score-sep {
  opacity: 0.5;
}

.h2h-item.home-win .h2h-home .h2h-name { color: var(--accent-green); }
.h2h-item.away-win .h2h-away .h2h-name { color: var(--accent-green); }
.h2h-item.draw .h2h-scorebox { border-color: rgba(255,255,255,0.18); }

.h2h-item.home-win .h2h-scorebox {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.06));
  border-color: rgba(16,185,129,0.35);
}

.h2h-item.away-win .h2h-scorebox {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.06));
  border-color: rgba(59,130,246,0.35);
}

.h2h-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,0.16);
}

/* Players List Grid Improvements */
.players-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  animation: fadeInUp 0.4s ease-out;
}

.team-players-list {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-players-list:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.team-players-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-primary);
}

.team-players-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.team-players-header h3 {
  flex: 1;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.team-players-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.position-group {
  margin-bottom: var(--space-lg);
}

.position-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-full);
  display: inline-block;
}

.players-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
}

.player-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: default;
}

.player-list-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(4px);
}

.player-list-number {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-green);
  min-width: 24px;
  text-align: center;
}

.player-list-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive Sub-tabs */
@media (max-width: 768px) {
  .lineups-sub-tabs {
    gap: 8px;
    padding: var(--space-md);
  }

  .sub-tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .sub-tab-label {
    font-size: 0.85rem;
  }

  .sub-tab-icon {
    font-size: 1rem;
  }

  .lineups-sub-content {
    padding: var(--space-lg);
    min-height: 300px;
  }

  .players-list-grid {
    grid-template-columns: 1fr;
  }
}

/* Timeline inside tab */
#tab-timeline .timeline {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--space-xl);
  box-shadow: none;
}

#tab-timeline .timeline h2 {
  display: none; /* Başlık zaten tab'da var */
}

/* ============================================
   LINEUPS (KADROLAR) - MÜKEMMEL UX/UI
   ============================================ */

.lineups-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.lineup-team {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lineup-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 2px solid #e2e8f0;
}

.lineup-team-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.lineup-team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: var(--space-md);
}

.lineup-team-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.lineup-formation-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lineup-coach-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

.formation-field {
  background: 
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0ea673 0%, #10b981 50%, #0ea673 100%);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: var(--space-lg);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 2px 40px rgba(0, 0, 0, 0.2),
    inset 0 0 100px rgba(0, 0, 0, 0.1);
}

/* Profesyonel saha çizgileri */
.formation-field::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 20%, 
    rgba(255, 255, 255, 0.4) 80%, 
    transparent 100%
  );
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.formation-field::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.formation-row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(90px, 1fr));
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 10px;
  width: var(--row-w, 100%);
  margin: 0 auto;
  z-index: 1;
  animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.formation-row:nth-child(1) { animation-delay: 0.15s; }
.formation-row:nth-child(2) { animation-delay: 0.25s; }
.formation-row:nth-child(3) { animation-delay: 0.35s; }
.formation-row:nth-child(4) { animation-delay: 0.45s; }

.formation-player {
  background: transparent; /* Kartlı görünüm kapalı (desktop dahil) */
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: none;
  min-width: 90px;
  max-width: 140px;
  text-align: center;
  transition: transform 0.2s ease;
  cursor: default;
  position: relative;
  border: 0;
  box-sizing: border-box;
  margin: 2px;
}

.formation-player::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.8), 
    rgba(5, 150, 105, 0.8)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.formation-player:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 
    0 16px 40px rgba(16, 185, 129, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: #10b981;
}

.formation-player:hover::before {
  opacity: 0.15;
}

.formation-player-jersey {
  margin: 0 auto 6px;
  width: 48px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 900;
  font-size: 0.95rem;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
  z-index: 1; /* sayı üstte kalsın */
}

.formation-player-jersey::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%23ffffff' stroke='%23000000' stroke-opacity='0.08' d='M22 8l10 4 10-4 8 8-6 6v26a4 4 0 0 1-4 4H24a4 4 0 0 1-4-4V22l-6-6 8-8z'/></svg>") center/contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
  z-index: 0;
  pointer-events: none;
}

.formation-player-jersey::after {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0f172a;
  font-weight: 900;
  font-size: 0.95rem;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
  z-index: 2;
  pointer-events: none;
}

.formation-player-jersey.gk::before {
  background: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%23ffd400' stroke='%23000000' stroke-opacity='0.08' d='M22 8l10 4 10-4 8 8-6 6v26a4 4 0 0 1-4 4H24a4 4 0 0 1-4-4V22l-6-6 8-8z'/></svg>") center/contain no-repeat;
}

.formation-player-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e6fffa;
  line-height: 1.25;
  max-width: min(140px, 34vw);
  opacity: 0.0;
  transition: opacity 0.2s ease;
}

.formation-player:hover .formation-player-name { opacity: 1; }

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

/* ============================================
   PLAYERS LIST (İlk 11 & Yedekler)
   ============================================ */

.players-list-grid {
  display: grid;
    grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.team-players-list {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-players-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05));
  border-bottom: 1px solid var(--border-primary);
}

.team-players-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.team-players-header h3 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.team-players-count {
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
}

.players-by-position {
  padding: var(--space-md);
}

.position-group {
  margin-bottom: var(--space-lg);
}

.position-group:last-child {
  margin-bottom: 0;
}

.position-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-green);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-xs);
}

.players-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
}

.player-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: default;
}

.player-list-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--accent-green);
  transform: translateX(4px);
}

.player-list-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.player-list-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop için badge genişliği */
@media (min-width: 769px) {
  .match-info-badge {
    max-width: min(360px, calc(100vw - 80px)); /* Desktop'ta daha geniş */
  }
}

@media (max-width: 768px) {
  .page {
    padding: var(--space-md) var(--space-sm) 32px;
  }

  .match-header {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  /* Tabs responsive - Mobilde overflow ekle */
  .tabs-header {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .tabs-header::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* Tabs responsive */
  .tab-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
    flex: 0 0 auto; /* Mobilde flex: 1 değil */
    flex-shrink: 0;
    min-width: max-content;
  }

  .tab-icon {
    font-size: 1.1rem;
  }

  .lineups-sub-tabs {
    padding: var(--space-md);
    gap: 6px;
  }

  .sub-tab-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .lineups-content {
    padding: var(--space-lg);
  }

  #tab-timeline .timeline {
    padding: var(--space-lg);
  }

  .players-group {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .player-list-number {
    min-width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .player-list-name {
    font-size: 0.8rem;
  }

  .match-status-bar-top {
    gap: 8px;
    margin-bottom: 6px;
  }

  .match-status-bar {
    gap: 8px;
    margin-bottom: var(--space-md);
  }

  .status-tag {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .match-info-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .match-info-badge .icon {
    width: 12px;
    height: 12px;
  }

  .match-scoreboard {
    grid-template-columns: max-content 1fr max-content;
    justify-items: start;
    gap: var(--space-sm);
  }

  .team-logo {
    width: 48px;
    height: 48px;
  }

  .team-name {
    font-size: 0.95rem;
  }

  .team-label {
    font-size: 0.65rem;
  }

  .score-display {
    padding: var(--space-sm) var(--space-md);
  }

  .score-numbers {
    font-size: 2rem;
  }

  .timeline,
  .match-stats,
  .top-players,
  .lineups-section {
    padding: var(--space-md);
  }

  .timeline h2,
  .match-stats h2,
  .top-players h2,
  .lineups-section h2 {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .lineups-section {
    padding: var(--space-lg);
  }

  .lineup-team-header {
    padding: var(--space-md) var(--space-lg);
  }

  .lineup-team-logo {
    width: 48px;
    height: 48px;
  }

  .lineup-team-header h3 {
    font-size: 1.1rem;
  }

  .lineup-formation-label {
    font-size: 0.75rem;
  }

  .formation-field {
    min-height: 460px;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
  }

  .formation-player {
    min-width: 95px;
    max-width: 130px;
    padding: 14px 16px;
  }

  .formation-player-jersey {
    font-size: 0.9rem;
    padding: 5px 12px;
    margin-bottom: 8px;
  }

  .formation-player-name {
    font-size: 0.8rem;
  }

  .event-card {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }

  .event-left {
    min-width: 48px;
  }

  .event-minute {
    font-size: 0.8rem;
    padding: 3px 8px;
  }

  .event-icon {
    width: 26px;
    height: 26px;
  }

  .event-icon svg {
    width: 15px;
    height: 15px;
  }

  .event-title {
    font-size: 0.85rem;
  }

  .goal-score {
    font-size: 1.05rem;
  }

  .event-description {
    font-size: 0.8rem;
  }

  .stat-row {
    padding: var(--space-sm);
  }

  .stat-home,
  .stat-away {
    min-width: 40px;
    font-size: 0.95rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .stat-team-label {
    font-size: 0.58rem;
    padding: 3px 6px;
    max-width: 90px;
  }

  .stat-bar-container {
    height: 8px;
  }

  .players-grid {
    grid-template-columns: 1fr;
  }

  .player-card {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }

  .player-photo {
    width: 52px;
    height: 52px;
  }

  .player-rank {
    font-size: 1.5rem;
    min-width: 36px;
  }

  .player-name {
    font-size: 0.85rem;
  }

  .player-team {
    font-size: 0.7rem;
  }

  .player-rating {
    min-width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* Topscorers responsive - Tablet */
  .topscorer-item {
    gap: var(--space-sm);
    padding: var(--space-sm);
  }
  
  .ts-rank {
    min-width: 36px;
  }
  
  .ts-photo {
    width: 52px;
    height: 52px;
  }
  
  .ts-stats {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  :root {
    --logo-size-mobile: clamp(28px, 9vw, 40px);
  }
  .page {
    padding: var(--space-mobile-sm) var(--space-mobile-xs) 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .match-header {
    padding: var(--space-mobile-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-mobile-md);
    /* Mobilde deplasman logosu kenarda kırpılmasın */
    overflow: visible;
    padding-inline: max(calc(var(--logo-size-mobile) / 1.5), env(safe-area-inset-left, 8px), env(safe-area-inset-right, 8px));
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .match-status-bar-top {
    gap: var(--space-mobile-xs);
    margin-bottom: 6px;
    flex-wrap: wrap;
  }

  .match-status-bar {
    flex-wrap: nowrap; /* Mobilde yatay scroll yapabilmek için */
    gap: var(--space-mobile-xs);
    margin-bottom: var(--space-mobile-sm);
    padding-bottom: 4px; /* Scroll bar için boşluk */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  .match-status-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
    width: 0;
    height: 0;
  }

  .status-tag {
    padding: 5px 10px;
    font-size: 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .live-dot {
    width: 6px;
    height: 6px;
  }

  .match-info-badge {
    padding: clamp(3px, 1vw, 4px) clamp(6px, 1.8vw, 8px);
    font-size: clamp(0.6rem, 1.6vw, 0.65rem);
    /* Alt satırda sadece lig bilgisi olduğu için çok daha geniş alan var */
    max-width: min(calc(100vw - 30px), 400px); /* Ekran genişliğinden padding çıkar, maksimum genişlik artırıldı */
    min-width: 0;
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 28px; /* Touch target */
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }
  
  /* Badge içindeki text için overflow kontrolü */
  .match-info-badge > span:not(.emoji-icon):not(.icon),
  .match-info-badge > div:not(.icon),
  .match-info-badge > img {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
    flex: 1;
  }

  .match-info-badge .icon,
  .match-info-badge .emoji-icon {
    width: clamp(9px, 2.2vw, 10px); /* Icon daha da küçültüldü */
    height: clamp(9px, 2.2vw, 10px);
    font-size: clamp(9px, 2.2vw, 10px);
    flex-shrink: 0; /* Icon'lar küçülmesin */
    line-height: 1;
    opacity: 0.8;
  }

  .match-scoreboard {
    /* Yan kolonlar shrink edilebilir, skor ortada */
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Grid çocukları shrink edebilsin (ellipsis çalışsın) */
  .match-scoreboard > * { min-width: 0; }

  /* Takım bloklarındaki yatay boşluğu azalt */
  .team {
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
  }

  .team-info { 
    min-width: 0; 
    overflow: hidden;
    max-width: 100%;
    flex: 1;
  }
  
  .team-info-right { 
    min-width: 0;
    max-width: 100%;
    flex: 1;
  }
  
  /* Mobilde takım adları logo altında ve tam görünsün */
  .team {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  
  .team-away {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .team-info {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  .team-info-right {
    align-items: center;
    text-align: center;
  }
  
  .team-name {
    font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    white-space: normal; /* Mobilde çok satıra geçebilir */
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    line-height: 1.3;
    text-align: center;
  }

  /* Skor bloğunun sol iç boşluğunu sıfırla */
  .score-display {
    padding: 6px 8px;
  }

  .team-logo {
    width: var(--logo-size-mobile);
    height: var(--logo-size-mobile);
    max-width: 100%;
    flex-shrink: 0; /* Logo boyutunu koru */
    order: -1; /* Mobilde logo her zaman üstte olsun (hem home hem away için) */
  }

  .team-label {
    font-size: 0.6rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .score-display {
    padding: 8px 12px;
  }

  .score-numbers {
    font-size: 1.8rem;
    gap: 8px;
  }

  .score-separator {
    font-size: 1.4rem;
  }

  /* Tabs responsive - Horizontal scroll with visual indicators */
  .tabs-header {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 6px;
    padding: 6px;
    position: relative;
  }
  
  .tabs-header::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  
  /* Mobilde scroll bar track daha belirgin */
  .tabs-header::after {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .tabs-header .scroll-thumb {
    height: 4px;
    min-width: 50px;
  }

  .tab-btn {
    padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    flex-direction: row; /* Mobilde yatay tutuyoruz */
    gap: clamp(4px, 1vw, 6px);
    flex-shrink: 0;
    min-width: max-content;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
  }

  .tab-icon {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    flex-shrink: 0;
  }

  .tab-label {
    font-size: clamp(0.7rem, 1.8vw, 0.75rem);
    flex-shrink: 0;
  }

  .lineups-sub-tabs {
    padding: var(--space-sm);
    gap: 4px;
    flex-wrap: wrap;
  }

  .sub-tab-btn {
    padding: 7px 14px;
    font-size: 0.75rem;
  }

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

  #tab-timeline .timeline {
    padding: var(--space-md);
  }

  .players-group {
    grid-template-columns: 1fr;
  }

  .player-list-number {
    min-width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .player-list-name {
    font-size: 0.75rem;
  }

  .timeline,
  .match-stats,
  .top-players,
  .tabs-container {
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
  }

  .timeline h2,
  .match-stats h2,
  .top-players h2 {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
  }

  .timeline h2::before,
  .match-stats h2::before,
  .top-players h2::before {
    width: 3px;
    height: 16px;
  }

  .lineups-section {
    padding: var(--space-md);
  }

  .lineup-team-header {
    padding: var(--space-sm) var(--space-md);
  }

  .lineup-team-logo {
    width: 42px;
    height: 42px;
  }

  .lineup-team-header h3 {
    font-size: 1rem;
  }

  .lineup-formation-label {
    font-size: 0.7rem;
  }

  .formation-field {
    min-height: 400px;
    padding: 10px 6px; /* daha sıkı padding - saha alanı büyüsün */
    padding-left: max(var(--space-sm), env(safe-area-inset-left));
    padding-right: max(var(--space-sm), env(safe-area-inset-right));
    gap: var(--space-sm);
  }
  /* Formation rows use centered grid on small screens */
  .formation-row {
    grid-template-columns: repeat(var(--cols, 3), minmax(54px, 1fr));
    width: min(100%, 98%);
    gap: 4px;
    padding: 0 4px;
    max-width: 98%;
    margin: 0 auto;
  }

  .formation-player {
    min-width: 66px;
    max-width: 96px;
    padding: 8px 10px;
    /* Scale cards to viewport to avoid overflow */
    max-width: 30vw;
    margin: 2px;
    /* KOMPAKT MOD (kart kaldır, sadece metin) */
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column; /* Numara üstte, isim altta */
    align-items: center;
    justify-content: center;
    min-height: 40px; /* dokunma alanı */
  }

  .formation-player-jersey {
    font-size: 0.7rem;
    padding: 2px 6px;
    margin: 0 0 4px 0; /* üstte, altında isim */
    border-radius: 999px;
  }

  .formation-player-name {
    font-size: 0.66rem;
    line-height: 1.18;
    font-weight: 700;
    color: #0f172a;
    max-width: 28vw; /* metni biraz daha sıkıştır */
    letter-spacing: -0.35px;
    word-break: break-word;
  }

  .event-card {
    padding: 10px;
    gap: 10px;
    border-radius: 10px;
  }

  .event-left {
    min-width: 44px;
    gap: 6px;
  }

  .event-minute {
    font-size: 0.75rem;
    padding: 2px 6px;
  }

  .event-icon {
    width: 24px;
    height: 24px;
  }

  .event-icon svg {
    width: 14px;
    height: 14px;
  }

  .event-title {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .goal-score {
    font-size: 0.95rem;
  }

  .event-description {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .stat-row {
    padding: 10px;
    gap: 8px;
  }

  .stat-header {
    gap: 4px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .stat-team-label {
    font-size: 0.55rem;
    padding: 2px 5px;
    max-width: 75px;
  }

  .stat-values {
    gap: 10px;
  }

  .stat-home,
  .stat-away {
    min-width: 35px;
    font-size: 0.9rem;
  }

  .stat-bar-container {
    height: 7px;
  }

  .player-card {
    padding: 10px;
    gap: 10px;
  }

  .player-rank {
    font-size: 1.3rem;
    min-width: 28px;
  }

  .player-photo {
    width: 44px;
    height: 44px;
  }

  .player-name {
    font-size: 0.8rem;
  }

  .player-team {
    font-size: 0.65rem;
  }

  .player-rating {
    min-width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Topscorers responsive - Mobilde kompakt layout */
  .topscorer-item {
    flex-wrap: wrap;
    gap: var(--space-mobile-sm);
    padding: var(--space-mobile-md);
    align-items: flex-start;
  }
  
  .ts-rank {
    min-width: clamp(28px, 7vw, 32px);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
  
  .ts-photo {
    width: clamp(44px, 11vw, 48px);
    height: clamp(44px, 11vw, 48px);
  }
  
  .ts-info {
    flex: 1 1 calc(100% - clamp(100px, 25vw, 140px)); /* Rank + Photo için yer bırak */
    min-width: 0;
  }
  
  .ts-name {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    margin-bottom: 3px;
    flex-wrap: wrap;
  }
  
  .ts-age,
  .ts-nationality {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  }
  
  .ts-team {
    font-size: clamp(0.75rem, 1.9vw, 0.85rem);
    margin-top: 2px;
  }
  
  .ts-team-logo {
    width: clamp(16px, 4vw, 18px);
    height: clamp(16px, 4vw, 18px);
  }
  
  .ts-details {
    font-size: clamp(0.7rem, 1.7vw, 0.75rem);
    margin-top: 4px;
    gap: 4px;
    line-height: 1.3;
  }
  
  /* Details içindeki nokta separator'ları da küçült */
  .ts-details .stats-separator {
    font-size: 0.6em;
    margin: 0 0.15em;
    opacity: 0.5;
  }
  
  /* Stats kısmını alt satıra taşı - mobilde */
  .ts-stats {
    width: 100%;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    margin-top: var(--space-mobile-xs);
    padding-top: var(--space-mobile-xs);
    border-top: 1px solid var(--border-primary);
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
  }
  
  /* H2H mobil: Sadece logo, takım adı gizle */
  .h2h-item {
    padding: 10px 8px;
  }

  .h2h-middle {
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    gap: 8px;
  }

  .h2h-side {
    gap: 0;
    justify-content: center;
  }

  .h2h-name {
    display: none; /* Takım adını tamamen gizle */
  }

  .h2h-logo {
    width: 32px;
    height: 32px;
  }

  .h2h-scorebox {
    padding: 4px 10px;
    gap: 6px;
  }

  .h2h-score-num {
    font-size: 1rem;
  }
}

/* Extra small screens (iPhone SE, small phones) */
@media (max-width: 375px) {
  .page {
    padding: 8px 6px 20px;
  }

  .team-logo {
    width: clamp(24px, 10vw, 36px);
    height: clamp(24px, 10vw, 36px);
  }

  .team-name {
    font-size: 0.8rem;
  }

  .score-numbers {
    font-size: 1.6rem;
  }

  .event-card {
    padding: 8px;
    gap: 8px;
  }

  .event-left {
    min-width: 40px;
  }

  .event-title {
    font-size: 0.75rem;
  }

  .goal-score {
    font-size: 0.9rem;
  }

  .event-description {
    font-size: 0.7rem;
  }

  /* Tabs responsive */
  .tabs-header {
    gap: 4px;
    padding: 4px;
  }

  .tab-btn {
    padding: clamp(8px, 2vw, 10px) clamp(10px, 2.5vw, 12px);
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    gap: clamp(2px, 0.8vw, 4px);
    flex-shrink: 0;
    min-width: max-content;
    white-space: nowrap;
    min-height: 44px;
  }

  .tab-icon {
    font-size: clamp(0.85rem, 2.2vw, 0.9rem);
    flex-shrink: 0;
  }

  .tab-label {
    font-size: clamp(0.65rem, 1.6vw, 0.7rem);
    flex-shrink: 0;
  }

  .lineups-sub-tabs {
    gap: 3px;
  }

  .sub-tab-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .lineups-content {
    padding: var(--space-sm);
  }

  #tab-timeline .timeline {
    padding: var(--space-sm);
  }

  .player-list-number {
    min-width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .player-list-name {
    font-size: 0.7rem;
  }

  .tabs-container {
    padding: var(--space-xs);
  }

  .lineup-team-header {
    padding: 12px 14px;
  }

  .lineup-team-logo {
    width: 38px;
    height: 38px;
  }

  .lineup-team-header h3 {
    font-size: 0.95rem;
  }

  .lineup-formation-label {
    font-size: 0.65rem;
  }

  .formation-field {
    min-height: 360px;
    padding: var(--space-md) 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    gap: 12px;
  }
  /* Tighter centered grid on very small phones */
  .formation-row {
    grid-template-columns: repeat(var(--cols, 3), minmax(74px, 1fr));
    width: var(--row-w, 100%);
    gap: 6px;
    padding: 0 6px;
    max-width: 96%;
    margin: 0 auto;
  }

  .formation-player {
    min-width: 64px;
    max-width: 88px;
    padding: 7px 9px;
    max-width: 42vw;
    margin: 2px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 36px;
  }

  .formation-player-jersey {
    font-size: 0.65rem;
    padding: 2px 6px;
    margin: 0 0 4px 0;
    border-radius: 999px;
  }

  .formation-player-name {
    font-size: 0.65rem;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
  }

  .stat-team-label {
    font-size: 0.5rem;
    padding: 2px 4px;
    max-width: 65px;
  }

  .stat-home,
  .stat-away {
    min-width: 32px;
    font-size: 0.85rem;
  }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card {
  animation: slideIn 0.4s ease-out;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.player-card:hover .player-photo {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Loading State */
.loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 25%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 75%
  );
  background-size: 2000px 100%;
  animation: shimmer 2s infinite;
}

/* Predictions Styles */
.predictions-main {
  padding: var(--space-md);
}

.prediction-winner {
  margin-bottom: var(--space-lg);
}

.prediction-winner h3,
.prediction-percentages h3,
.prediction-advice h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.prediction-winner-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

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

.prediction-winner-team img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.prediction-winner-team span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.prediction-winner-team small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.prediction-percent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.prediction-percent-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.prediction-percent-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.prediction-percent-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.prediction-advice {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-lg);
}

.prediction-advice p {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
}

/* Son 5 Maç İstatistikleri */
.prediction-last5 {
  margin-top: var(--space-lg);
}

.prediction-last5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.prediction-team-stats {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.prediction-team-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.prediction-stats-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.prediction-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.prediction-stat-item span {
  color: var(--text-secondary);
}

.prediction-stat-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Lig Formu */
.prediction-league-form {
  margin-top: var(--space-lg);
}

.prediction-league-form-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.prediction-form-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.prediction-form-team {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.prediction-form-string {
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Takım Karşılaştırması */
.prediction-comparison {
  margin-top: var(--space-lg);
}

.prediction-comparison-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.prediction-comp-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.prediction-comp-item > span {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.prediction-comp-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.prediction-comp-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  height: 30px;
}

.prediction-comp-bar > span {
  min-width: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.prediction-comp-value {
  flex: 1;
  height: 20px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.prediction-comp-value::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
  opacity: 0.7;
  transform: scaleX(var(--bar-scale, 1));
  transform-origin: left;
}

.prediction-comp-bar strong {
  min-width: 50px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Takım İstatistikleri */
.prediction-team-statistics {
  margin-top: var(--space-lg);
}

.prediction-team-statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.team-statistics-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.team-statistics-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.team-statistics-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.team-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 4px 0;
}

.team-stat-row span {
  color: var(--text-secondary);
}

.team-stat-row strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Injuries Styles */
.injuries-team {
  margin-bottom: var(--space-xl);
}

.injuries-team-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-primary);
}

.injuries-team-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.injuries-team-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.injuries-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.injury-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.injury-player {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.injury-player-photo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.injury-player-info {
  flex: 1;
}

.injury-player-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

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

.injury-type-badge {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.injury-type-badge.injury-missing {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.injury-type-badge.injury-questionable {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.injury-reason {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.injury-type-badge.injury-injured {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.injury-type-badge.injury-suspended {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.injury-type-badge.injury-unknown {
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.injury-player-id {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 2px;
}

.injury-fixture-date,
.injury-fixture-id {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Squad (Takım Kadrosu) - Modern & Kompakt Tasarım */
.squad-main {
  padding: var(--space-md);
  max-width: 1600px;
  margin: 0 auto;
}

.squad-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
}

.squad-view-toggle {
  display: flex;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.view-btn.active {
  background: var(--accent-primary);
  color: #fff;
}

.squad-search {
  flex: 1;
  max-width: 300px;
}

.squad-search-input {
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.squad-search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.squad-search-input::placeholder {
  color: var(--text-secondary);
}

.squad-team {
  margin-bottom: var(--space-2xl);
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border-primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.squad-team-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border-primary);
}

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

.squad-team-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  flex-shrink: 0;
}

.squad-team-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.squad-team-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.squad-positions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.squad-position-group {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.squad-position-group:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.squad-position-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.squad-position-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.squad-position-count {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Grid View (Default) */
.squad-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* List View */
.squad-main[data-view="list"] .squad-players-grid {
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.squad-main[data-view="list"] .player-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: var(--space-md);
  gap: var(--space-md);
}

.squad-main[data-view="list"] .player-card-top {
  flex-direction: row;
  margin-bottom: 0;
  min-width: 200px;
}

.squad-main[data-view="list"] .player-card-photo {
  width: 60px;
  height: 60px;
}

.squad-main[data-view="list"] .player-card-photo-placeholder {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.squad-main[data-view="list"] .player-card-stats {
  flex: 1;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  margin-bottom: 0;
  margin-left: auto;
  max-width: 400px;
}

.squad-main[data-view="list"] .player-card-details {
  display: none;
}

@media (max-width: 768px) {
  .squad-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .squad-search {
    max-width: 100%;
  }
  
  .squad-players-grid {
    grid-template-columns: 1fr;
  }
  
  .squad-main {
    padding: var(--space-sm);
  }
  
  .squad-team {
    padding: var(--space-md);
  }
  
  .squad-position-group {
    padding: var(--space-md);
  }
  
  .squad-main[data-view="list"] .player-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .squad-main[data-view="list"] .player-card-stats {
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .squad-players-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (min-width: 1400px) {
  .squad-players-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.player-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.player-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.player-card:hover::before {
  opacity: 1;
}

.player-card-top {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  align-items: center;
}

.player-card-photo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.player-card-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.player-card-photo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.player-captain-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.4);
  border: 2px solid var(--bg-primary);
}

.player-card-header {
  flex: 1;
  min-width: 0;
}

.player-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
  word-break: break-word;
  letter-spacing: -0.01em;
}

.player-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.player-card-position {
  font-size: 0.7rem;
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  padding: 2px 6px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 3px;
}

.player-card-nationality {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Kompakt İstatistikler - Tek Satır */
.player-card-stats-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-sm);
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.player-stat-compact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
  font-size: 0.8rem;
}

.player-stat-compact:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.stat-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.stat-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--stat-color, var(--text-primary));
  line-height: 1;
}

/* Kompakt Detaylar */
.player-card-details {
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.player-details-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
}

.player-detail-compact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.detail-value {
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.player-detail-compact.card-yellow .detail-value {
  color: #fbbf24;
}

.player-detail-compact.card-red .detail-value {
  color: #ef4444;
}

/* Liste Görünümü için */
.squad-main[data-view="list"] .player-card {
  flex-direction: row;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-md);
}

.squad-main[data-view="list"] .player-card-top {
  margin-bottom: 0;
  min-width: 180px;
  flex-shrink: 0;
}

.squad-main[data-view="list"] .player-card-photo {
  width: 48px;
  height: 48px;
}

.squad-main[data-view="list"] .player-card-photo-placeholder {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.squad-main[data-view="list"] .player-card-stats-compact {
  flex: 1;
  margin-bottom: 0;
  justify-content: flex-start;
}

.squad-main[data-view="list"] .player-card-details {
  display: none;
}

@media (max-width: 480px) {
  .player-card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .player-card-header {
    text-align: center;
  }
  
  .player-card-meta {
    justify-content: center;
  }
  
  .player-card-stats-compact {
    justify-content: center;
  }
  
  .squad-main[data-view="list"] .player-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .squad-main[data-view="list"] .player-card-top {
    width: 100%;
  }
}

/* Topscorers */
/* En İyi Oyuncular */
.top-players-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md);
}

.top-player-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.top-player-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.top-player-item.top-player-first {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
  border-color: rgba(255, 215, 0, 0.3);
}

.top-player-item.top-player-second {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.15) 0%, rgba(192, 192, 192, 0.05) 100%);
  border-color: rgba(192, 192, 192, 0.3);
}

.top-player-item.top-player-third {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%);
  border-color: rgba(205, 127, 50, 0.3);
}

.top-player-rank {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.top-player-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
}

.top-player-photo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-primary);
}

.top-player-details {
  flex: 1;
  min-width: 0;
}

.top-player-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.top-player-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.top-player-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.top-player-team {
  font-weight: 500;
  color: var(--text-primary);
}

.top-player-position {
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.top-player-minutes {
  color: var(--text-muted);
}

.top-player-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm);
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  min-width: 70px;
}

.rating-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
}

.rating-label {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .top-player-item {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md);
  }
  
  .top-player-info {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  
  .top-player-meta {
    justify-content: center;
  }
  
  .top-player-rating {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
}

.topscorers-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.topscorer-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.topscorer-item:hover {
  background: var(--bg-secondary);
  border-color: var(--border-glow);
}

.ts-rank {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-primary);
  min-width: clamp(32px, 8vw, 40px);
  text-align: center;
  flex-shrink: 0;
}

.ts-photo {
  width: clamp(48px, 12vw, 56px);
  height: clamp(48px, 12vw, 56px);
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.ts-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ts-name {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: clamp(2px, 0.5vw, var(--space-xs));
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, var(--space-xs));
  flex-wrap: wrap;
  line-height: 1.3;
}

.ts-age {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-secondary);
  font-weight: 400;
}

.ts-nationality {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  color: var(--text-muted);
  font-weight: 400;
}

.ts-team {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, var(--space-xs));
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ts-team-logo {
  width: clamp(18px, 4.5vw, 20px);
  height: clamp(18px, 4.5vw, 20px);
  object-fit: contain;
  flex-shrink: 0;
}

.ts-details {
  margin-top: clamp(4px, 1vw, var(--space-xs));
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(4px, 1vw, var(--space-xs));
  line-height: 1.4;
}

.ts-stats {
  font-size: clamp(0.8rem, 2vw, 0.95rem); /* Biraz küçültüldü */
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

/* Nokta (•) separator'ı daha küçük yap - daha fazla içerik sığsın */
.stats-separator {
  display: inline-block;
  font-size: 0.65em; /* Nokta daha küçük */
  opacity: 0.6;
  margin: 0 0.2em;
  vertical-align: middle;
  font-weight: 400;
}

/* Standings Table */
.standings-table {
  width: 100%;
  overflow-x: auto;
}

.standings-row {
  display: grid;
  grid-template-columns: 40px 1fr 35px 35px 35px 35px 45px 45px 50px 50px;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-primary);
  align-items: center;
}

.standings-row.standings-header {
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-primary);
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.standings-row:hover {
  background: var(--bg-secondary);
}

.st-col {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
}

.st-col.st-pos {
  font-weight: 600;
  color: var(--text-secondary);
  justify-content: center;
  margin-left: calc(var(--space-md) * -0.3);
}

.st-col.st-team {
  gap: var(--space-sm);
  min-width: 0;
  padding-right: var(--space-md);
  margin-left: calc(var(--space-md) * -0.5);
}

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

.st-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-col.st-p,
.st-col.st-w,
.st-col.st-d,
.st-col.st-l,
.st-col.st-gf,
.st-col.st-ga {
  justify-content: center;
}

.st-col.st-gd {
  justify-content: center;
  font-weight: 500;
  color: var(--text-secondary);
}

.st-col.st-form {
  justify-content: center;
  gap: 2px;
  font-size: 0.85rem;
  font-weight: 600;
}

.st-col.st-pts {
  justify-content: center;
  font-weight: 600;
  color: var(--text-primary);
}

.st-col.st-status {
  justify-content: center;
}

@media (max-width: 768px) {
  .standings-row {
    grid-template-columns: 28px 1fr 26px 26px 26px 26px 32px 38px;
    font-size: 0.8rem;
    gap: 6px;
    padding: 6px 8px;
  }
  
  .standings-row.standings-header {
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  .st-col.st-pos {
    margin-left: 0;
    font-size: 0.85rem;
  }
  
  .st-col.st-team {
    padding-right: 8px;
    margin-left: 0;
    gap: 6px;
  }
  
  .st-logo {
    width: 20px;
    height: 20px;
  }
  
  .st-col.st-p,
  .st-col.st-w,
  .st-col.st-d,
  .st-col.st-l,
  .st-col.st-gd,
  .st-col.st-pts {
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  .st-col.st-pts {
    font-weight: 600;
  }
  
  .st-col.st-gf,
  .st-col.st-ga {
    display: none;
  }
}

@media (max-width: 480px) {
  .standings-row {
    grid-template-columns: 24px 1fr 24px 24px 24px 24px 28px 32px;
    font-size: 0.75rem;
    gap: 4px;
    padding: 4px 6px;
  }
  
  .standings-row.standings-header {
    font-size: 0.7rem;
    padding: 6px 6px;
  }
  
  .st-col.st-pos {
    font-size: 0.8rem;
  }
  
  .st-col.st-team {
    padding-right: 6px;
    gap: 4px;
  }
  
  .st-logo {
    width: 18px;
    height: 18px;
  }
  
  .st-col.st-p,
  .st-col.st-w,
  .st-col.st-d,
  .st-col.st-l,
  .st-col.st-gd,
  .st-col.st-pts {
    font-size: 0.8rem;
  }
}
