/* SKOR HUB - Modern Web Portalı Ultra Aydınlık Tema CSS */
:root, body.light-theme {
  --bg-body: #f8fafc;
  --bg-nav: rgba(255, 255, 255, 0.95);
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-accent: rgba(37, 99, 235, 0.3);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --accent-blue: #2563eb;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-purple: #7c3aed;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
}

body.dark-theme {
  --bg-body: #080c14;
  --bg-nav: rgba(14, 22, 38, 0.85);
  --bg-card: rgba(22, 32, 50, 0.7);
  --bg-card-hover: rgba(26, 40, 65, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(59, 130, 246, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.brand-badge svg {
  width: 24px;
  height: 24px;
}

.brand-title h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
  line-height: 1.1;
}
.brand-title .highlight {
  color: var(--accent-blue);
}
.sub-brand {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.nav-center {
  flex: 1;
  max-width: 540px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
}
.search-box input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 10px 40px 10px 42px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}
.search-box input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-clear-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
}

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

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 6px #059669;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.btn-icon {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-icon:hover {
  background: #f1f5f9;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}
.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* Ana Sarmalayıcı - Ekrana Tam Yayılmış Akıcı Genişlik */
.main-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 24px 32px 60px 32px;
}

/* KPI Banner */
.kpi-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kpi-icon svg {
  width: 24px;
  height: 24px;
}
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-emerald { background: #ecfdf5; color: #059669; }
.icon-amber { background: #fef3c7; color: #d97706; }

.kpi-data {
  display: flex;
  flex-direction: column;
}
.kpi-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kpi-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

/* Çift Panel Düzeni */
.content-split {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sol Ligler Yan Menüsü */
.leagues-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.sidebar-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-box-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}
.badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.leagues-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding-right: 4px;
}

.league-nav-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--text-muted);
  text-align: left;
  font-family: inherit;
  transition: all 0.18s;
  width: 100%;
}
.league-nav-btn:hover {
  background: #f8fafc;
  color: var(--text-main);
}
.league-nav-btn.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
  font-weight: 700;
}

.league-nav-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.league-icon-all, .league-nav-placeholder {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}
.league-nav-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.league-nav-name {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.league-nav-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Sağ Ana Besleme (Feed) */
.main-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feed-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
#active-view-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-main);
}
#active-view-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Ana Sekmeler (Oyuncular / Puan Durumu / Fikstür) */
.main-tabs-nav {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
}
.main-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.main-tab-btn:hover {
  color: var(--text-main);
}
.main-tab-btn.active {
  background: #ffffff;
  color: #2563eb;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.feed-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-select {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
}
.feed-select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.view-switch-group {
  display: flex;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
}
.btn-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.18s;
}
.btn-toggle svg {
  width: 14px;
  height: 14px;
}
.btn-toggle.active {
  background: #ffffff;
  color: var(--accent-blue);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* Takımlar Şeridi (Carousel) */
.teams-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.team-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.team-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.team-chip:hover {
  background: #f8fafc;
  color: var(--text-main);
  border-color: #cbd5e1;
}
.team-chip.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
  font-weight: 700;
}

/* ===================================================
   OYUNCU KARTLARI (FIFA FUT STYLE - AYDINLIK TEMA)
   =================================================== */
.players-fut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.fut-player-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.fut-player-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.fut-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  z-index: 2;
}

.fut-num {
  background: #eff6ff;
  color: #2563eb;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OVR Puanı */
.fut-ovr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.fut-ovr.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.fut-ovr.silver {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}
.fut-ovr.bronze {
  background: linear-gradient(135deg, #b45309, #78350f);
}

.fut-club-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.fut-photo-box {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.fut-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  transition: transform 0.2s;
}
.fut-player-card:hover .fut-photo {
  transform: scale(1.04);
}
.fut-photo-none {
  width: 110px;
  height: 140px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.fut-info-box {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: auto;
}
.fut-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fut-pos {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.fut-form-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}
.fut-form-chip {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.fut-season-chip {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.fut-exp-chip {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.fut-team-chip {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.fut-value {
  margin-top: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  padding: 5px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

.fut-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.7rem;
  color: var(--text-dim);
}
.fut-badge-server {
  color: #059669;
  font-weight: 600;
}

/* Tablo Görünümü */
.table-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.fut-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}
.fut-table th {
  background: #f8fafc;
  padding: 12px 16px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}
.fut-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}
.fut-table tr:hover td {
  background: #f8fafc;
}
.thumb-small {
  width: 32px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

/* ===================================================
   PUAN DURUMU & FİKSTÜR (WEB PORTAL)
   =================================================== */
.standings-table th, .standings-table td {
  padding: 12px 14px;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
}
.rank-badge.ucl {
  background: #dbeafe;
  color: #1d4ed8;
  border-left: 3px solid #2563eb;
}
.rank-badge.uel {
  background: #fef3c7;
  color: #b45309;
  border-left: 3px solid #f59e0b;
}
.rank-badge.relegation {
  background: #fee2e2;
  color: #b91c1c;
  border-left: 3px solid #ef4444;
}
.rank-badge.regular {
  background: #f1f5f9;
  color: #475569;
}

.standings-team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.standings-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.standings-team-name {
  font-weight: 700;
  color: var(--text-main);
}

.form-dots-group {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.form-dot {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: white;
}
.form-dot.win { background: #10b981; }
.form-dot.draw { background: #94a3b8; }
.form-dot.loss { background: #ef4444; }

/* Fikstür Stilleri */
.web-matchday-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 16px 0;
}
.web-matchday-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: inherit;
}
.web-matchday-pill:hover {
  border-color: #2563eb;
  color: #2563eb;
}
.web-matchday-pill.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 700;
}

.web-fixtures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.web-fixture-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.web-fixture-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.web-fixture-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}
.web-fixture-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.web-fixture-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.web-fixture-team.away {
  justify-content: flex-end;
  text-align: right;
}
.web-fixture-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.web-fixture-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.web-fixture-score {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
}

/* Sayfalama */
.pagination-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.page-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text-main);
  padding: 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Boş Durum */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.empty-state h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text-main);
}

/* Toast Bildirimi */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  color: #0f172a;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  pointer-events: none;
}
.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* ===================================================
   TAKIMLAR HUB & TAKIM DETAY SAYFASI
   =================================================== */
.web-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.web-team-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.web-team-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.team-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.team-card-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.team-card-info {
  flex: 1;
  min-width: 0;
}
.team-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-card-league {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.team-ovr-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
  font-family: 'JetBrains Mono', monospace;
}

.team-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.team-card-stats span {
  color: var(--text-dim);
}
.team-card-stats strong {
  color: var(--text-main);
  display: block;
}

.team-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* TAKIM DETAY SAYFASI */
.team-detail-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-back-teams {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-back-teams:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateX(-2px);
}

.team-detail-hero {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.team-detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 70%);
  pointer-events: none;
}
.team-hero-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.team-hero-main {
  flex: 1;
}
.team-hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.team-hero-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
}
.team-hero-league {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.team-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.team-hero-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Takım İçi Sekmeler */
.team-subtabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
  margin-top: 10px;
}
.team-subtab-btn {
  background: transparent;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.team-subtab-btn:hover {
  color: var(--text-main);
  background: #f1f5f9;
}
.team-subtab-btn.active {
  color: #2563eb;
  background: #eff6ff;
}

/* Takım Liderleri Grid */
.team-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 14px;
}
.team-leader-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.team-leader-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.team-leader-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.82rem;
  border-bottom: 1px dashed #f1f5f9;
}
.team-leader-item:last-child {
  border-bottom: none;
}

/* Mobil Uyumluluk */
@media (max-width: 900px) {
  .content-split {
    grid-template-columns: 1fr;
  }
  .leagues-sidebar {
    position: static;
    max-height: 280px;
  }
  .kpi-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-center {
    display: none;
  }
}
