/* === ULTRA PREMIUM HALISI SAHA LİGİ 2025 === */
:root {
  /* Primary Color Palette */
  --primary: #1e3a8a;
  --primary-light: #3d52a6;
  --primary-dark: #15265c;
  --secondary: #7c3aed;
  --accent-gold: #2d8abf;
  /* Premium Metallic Palettes */
  --gold-1: #6f5600;   /* deep shadow */
  --gold-2: #8c6e00;   /* base */
  --gold-3: #b28900;   /* mid */
  --gold-4: #e0b300;   /* bright */
  --gold-5: #ffe88a;   /* highlight */
  --silver-1: #5f6368; /* deep shadow */
  --silver-2: #7e848b; /* base */
  --silver-3: #aeb4bb; /* mid */
  --silver-4: #d8dde2; /* bright */
  --silver-5: #f7f9fa; /* highlight */
  --bronze-1: #5c331f; /* deep shadow */
  --bronze-2: #7a4628; /* base */
  --bronze-3: #a55b2e; /* mid */
  --bronze-4: #cd7f32; /* bright */
  --bronze-5: #efc199; /* highlight */
  
  /* Background System */
  --dark-bg: #0a0e16;
  --card-bg: #151f2c;
  --card-alt: #1a2332;
  --border: #2b3642;
  --border-light: rgba(30,58,138,0.22);
  
  /* Typography */
  --text: #f0f6fc;
  --text-muted: #8b949e;
  --text-soft: #b2bdc9;
  
  /* Shadows and Effects */
  --shadow-sm: 0 4px 16px -8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px -8px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.5);
  --shadow-xl: 0 25px 60px -15px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px -10px rgba(30,58,138,0.28);
  --blur: blur(20px);
  
  /* Layout */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 80px;
  
  /* Typography and Animation */
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Light Theme Premium Overrides */
:root[data-theme='light'] {
  --dark-bg: #f8fafc;
  --card-bg: #ffffff;
  --card-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-light: rgba(37,99,235,0.28);
  --text: #1e293b;
  --text-muted: #64748b;
  --text-soft: #475569;
  --shadow-sm: 0 2px 8px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px -10px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px -15px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 30px -8px rgba(37,99,235,0.38);
}
/* Matrix Theme */
:root[data-theme='matrix'] {
  --dark-bg: #050a08;
  --card-bg: #0b1512;
  --card-alt: #0f1c17;
  --border: #163228;
  --text: #d7ffde;
  --text-muted: #8ec7a3;
  --primary: #00ff6a;
  --primary-light: #4dff93;
  --primary-dark: #00c94f;
  --shadow-glow: 0 0 40px -10px rgba(0, 255, 106, 0.25);
}
/* Ocean Theme */
:root[data-theme='ocean'] {
  --dark-bg: #07131d;
  --card-bg: #0c1b29;
  --card-alt: #0f2233;
  --border: #173247;
  --text: #e2f1ff;
  --text-muted: #8fb4d1;
  --primary: #2ea8ff;
  --primary-light: #66c2ff;
  --primary-dark: #1e7fcf;
  --shadow-glow: 0 0 40px -10px rgba(46, 168, 255, 0.25);
}
/* Sunset Theme */
:root[data-theme='sunset'] {
  --dark-bg: #160b12;
  --card-bg: #1f1220;
  --card-alt: #261628;
  --border: #3a2340;
  --text: #ffecef;
  --text-muted: #f0a6b9;
  --primary: #ff7a7a;
  --primary-light: #ffb3a6;
  --primary-dark: #ff5252;
  --shadow-glow: 0 0 40px -10px rgba(255, 82, 82, 0.25);
}
/* Forest Theme */
:root[data-theme='forest'] {
  --dark-bg: #0b100b;
  --card-bg: #101a12;
  --card-alt: #152116;
  --border: #223327;
  --text: #e5ffe7;
  --text-muted: #a2c7ac;
  --primary: #4caf50;
  --primary-light: #7bdc80;
  --primary-dark: #2e7d32;
  --shadow-glow: 0 0 40px -10px rgba(76, 175, 80, 0.25);
}
/* Neon Theme */
:root[data-theme='neon'] {
  --dark-bg: #0a0712;
  --card-bg: #130f1f;
  --card-alt: #1a152b;
  --border: #2a2350;
  --text: #f0e6ff;
  --text-muted: #c6b6ff;
  --primary: #9b59ff;
  --primary-light: #c29eff;
  --primary-dark: #7b2cff;
  --shadow-glow: 0 0 50px -12px rgba(155, 89, 255, 0.35);
}
/* Retro Theme */
:root[data-theme='retro'] {
  --dark-bg: #10100a;
  --card-bg: #1a1a12;
  --card-alt: #232318;
  --border: #373727;
  --text: #fff7d6;
  --text-muted: #e1d7a3;
  --primary: #ffcc4d;
  --primary-light: #ffe089;
  --primary-dark: #e0a800;
  --shadow-glow: 0 0 40px -10px rgba(255, 204, 77, 0.3);
}

/* Matrix canvas layering ensure: canvas, arkaplan katmanlarının (body::before/::after) üstünde; içeriğin altında */
#matrix-canvas { position: fixed !important; inset:0 !important; z-index: -1 !important; pointer-events: none !important; }
/* Global Reset and Base Styles */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  height: 100%;
}

/* Mobile-first universal rules */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

/* Prevent horizontal overflow on all containers */
.container, .table-section, .premium-content {
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
}

/* Ensure all flex containers are responsive */
.flex, .tables-horizontal, .tables-vertical {
  width: 100%;
  max-width: 100%;
}

/* Masaüstünde mobil listeleri gizle */
.mobile-standings-list, .mobile-scorers-list, .mobile-teams-list {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: 
  radial-gradient(ellipse at 10% 20%, rgba(30,58,138,0.2) 0%, transparent 52%),
  radial-gradient(ellipse at 90% 80%, rgba(61,82,166,0.12) 0%, transparent 54%),
  linear-gradient(180deg, var(--dark-bg) 0%, #0d1424 50%, var(--dark-bg) 100%);
  /* Mobil flicker azaltımı: iOS/Android'te fixed arka plan kaydırma esnasında beyazlama yapar */
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 25% 25%, rgba(30,58,138,0.22) 0%, transparent 42%),
    radial-gradient(circle at 75% 75%, rgba(61,82,166,0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(18,30,60,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: -2;
  animation: backgroundPulse 30s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Site Header Premium */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-xl);
  background: rgba(10, 14, 22, 0.8);
  /* Mobil flicker azaltımı için blur efektini mobilde kapatacağız */
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.site-header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255,123,51,0.4);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.site-header nav {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Update Banner (premium) */
.update-banner {
  margin: 22px auto;
  max-width: 1100px;
  background: linear-gradient(135deg, rgba(30,58,138,0.14), rgba(61,82,166,0.06));
  border: 1px solid rgba(30,58,138,0.18);
  padding: 18px 22px;
  border-radius: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 18px 50px -30px rgba(30,58,138,0.35);
}
.update-banner .update-info {
  flex: 1 1 auto;
}
.update-banner .update-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
.update-banner .update-sub {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 6px;
}
.update-banner .update-progress-wrap {
  width: 320px;
  min-width: 200px;
}
.update-progress {
  height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
}
.update-progress > .bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  box-shadow: 0 8px 30px -18px rgba(30,58,138,0.36);
  transition: width 600ms cubic-bezier(.2,.9,.2,1);
}
.update-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Logo viewer modal */
.logo-viewer-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(6px) saturate(120%);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.logo-viewer-backdrop.open { opacity: 1; pointer-events: all; }
.logo-viewer-card {
  background: linear-gradient(180deg, rgba(10,18,35,0.95), rgba(8,12,22,0.9));
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 30px 80px -30px rgba(2,6,23,0.9), 0 6px 30px rgba(30,58,138,0.18);
  transform: translateY(8px) scale(0.98);
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 200ms ease;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  position: relative;
  z-index: 1000000 !important;
}
.logo-viewer-backdrop.open .logo-viewer-card { transform: translateY(0) scale(1); }
.logo-viewer-img { display:block; max-width: 84vw; max-height: 72vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 14px 48px rgba(6,10,30,0.6); }
.logo-viewer-close { position: absolute; right: 22px; top: 18px; background: transparent; border: 0; color: var(--text); font-size: 20px; cursor: pointer; z-index: 1000001 !important; }
.logo-clickable { cursor: zoom-in; transition: transform 180ms ease, box-shadow 180ms ease; }
.logo-clickable:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 30px rgba(2,6,23,0.5); }

/* Viewer header and actions */
.logo-viewer-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.logo-viewer-title { font-weight:800; font-size:1.05rem; color:var(--text); }
.logo-viewer-subtitle { color:var(--text-soft); font-size:0.95rem; }
.logo-viewer-actions { display:flex; gap:8px; align-items:center; }
.logo-action-btn { appearance:none; border:1px solid rgba(255,255,255,0.06); background:rgba(255,255,255,0.02); color:var(--text); padding:8px 10px; border-radius:10px; cursor:pointer; font-weight:700; }
.logo-action-btn:hover { background: linear-gradient(90deg, rgba(30,58,138,0.12), rgba(61,82,166,0.08)); border-color: rgba(30,58,138,0.28); }

/* Container and Layout */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* Hero Section Ultra Premium */
.hero {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: 1fr;
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,123,51,0.1) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-text h2 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin: 0 0 var(--spacing-md);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent-gold), var(--secondary));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-text p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0 0 var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(139,69,193,0.15));
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--spacing-lg);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.eyebrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ==== THEME OVERLAY & ANIMATIONS ==== */

/* Stats Row Premium */
.stats-row {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(4, 1fr);
  margin: var(--spacing-xl) 0;
}

@media (max-width: 1200px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-box {
  background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--blur);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold));
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--primary);
}

.stat-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.stat-box strong {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-light);
  margin: var(--spacing-sm) 0;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-box span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Subnav Ultra Premium */
.subnav {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  background: rgba(21, 31, 44, 0.4);
  backdrop-filter: var(--blur);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(255,123,51,0.15), rgba(255,179,71,0.08));
  border: 2px solid rgba(255,123,51,0.3);
  border-radius: 50px;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.subnav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.subnav a:hover {
  background: linear-gradient(135deg, rgba(255,123,51,0.25), rgba(255,179,71,0.15));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: rgba(255,123,51,0.6);
}

.subnav a:hover::before {
  left: 100%;
}

/* Highlight Cards Ultra Premium */
.highlight-cards {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin: var(--spacing-2xl) 0;
}

.highlight-card {
  background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: var(--blur);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold));
}

.highlight-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 20px 60px -10px rgba(255,123,51,0.3);
  border-color: var(--primary);
}

.highlight-card .hc-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.highlight-card .hc-content {
  display: grid;
  grid-template-rows: auto auto;
  gap: var(--spacing-sm);
}

.highlight-card .hc-line { display:flex; align-items:center; gap:12px; margin-bottom:6px; justify-content:flex-start; }
.highlight-card .hc-line .team-badge, .highlight-card .hc-line .avatar { width:44px; height:44px; font-size:.95rem; border-width:2px; }

.highlight-card .hc-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-word;
}

.highlight-card .hc-kpis { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }

.highlight-card .kpi { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; background:rgba(255,123,51,.12); border:1px solid rgba(255,123,51,.3); border-radius:999px; color:var(--primary-light); font-weight:700; }

.highlight-card .kpi:hover {
  background: rgba(255,123,51,0.1);
  border-color: rgba(255,123,51,0.3);
}

.highlight-card .kpi span { font-size:.72rem; letter-spacing:.6px; text-transform:uppercase; color:var(--text-muted); }

.highlight-card .kpi strong { font-size:.95rem; color:#ffe1a6; }

/* --- 2D Flat Icon Set --- */
.icon { 
  width: 20px; 
  height: 20px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  vertical-align: middle; 
  color: var(--text);
  stroke-width: 1.5;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.icon.md { 
  width: 24px; 
  height: 24px; 
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.icon.lg { 
  width: 28px; 
  height: 28px; 
  stroke-width: 2.0;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}
.icon.primary { 
  color: var(--primary-light);
  filter: drop-shadow(0 2px 4px rgba(255,123,51,0.3));
}
.icon.success { 
  color: #2ecc71;
  filter: drop-shadow(0 2px 4px rgba(46,204,113,0.3));
}
.icon.danger { 
  color: #e74c3c;
  filter: drop-shadow(0 2px 4px rgba(231,76,60,0.3));
}
.icon.warning { 
  color: #f39c12;
  filter: drop-shadow(0 2px 4px rgba(243,156,18,0.3));
}
.icon.info { 
  color: #17a2b8;
  filter: drop-shadow(0 2px 4px rgba(23,162,184,0.3));
}

/* Premium icon style: sharp, vibrant, with subtle glow */
.icon.gold { 
  color: var(--accent-gold);
  filter: drop-shadow(0 2px 6px rgba(255,215,0,0.4));
}
.icon.premium { 
  color: var(--primary-light);
  filter: drop-shadow(0 2px 6px rgba(255,123,51,0.4));
}
.premium-header h2 .icon { 
  width: 26px; 
  height: 26px; 
  stroke-width: 2.2;
}

/* Goal-type icons: flat 2D */
.goal-type-icon .icon { background:none; border:none; padding:0; color: var(--text-soft); }

/* Avatar & Team Badge Ultra Premium */
.avatar, .team-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 3px solid rgba(255,123,51,0.5);
  color: var(--primary-light);
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  backdrop-filter: var(--blur);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.avatar::before, .team-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: avatarShine 4s infinite;
}

@keyframes avatarShine {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar:hover, .team-badge:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255,123,51,0.5);
  border-color: rgba(255,123,51,0.8);
}

/* Tables Vertical Layout Ultra Premium */
.tables-vertical {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  margin: var(--spacing-2xl) 0;
}

.table-section {
  background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: var(--blur);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.table-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-gold));
}

.table-section:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.table-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: var(--spacing-xl);
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Ultra Premium Table Design */
.table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: rgba(21, 31, 44, 0.8);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-light);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  line-height: 1.6;
}

.table thead {
  background: linear-gradient(135deg, 
    rgba(255,123,51,0.2) 0%, 
    rgba(255,179,71,0.1) 100%);
  backdrop-filter: var(--blur);
}

.table thead th {
  padding: var(--spacing-lg) var(--spacing-md);
  font-weight: 800;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  border-bottom: 3px solid rgba(255,123,51,0.4);
  position: sticky;
  top: 0;
  z-index: 10;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.table tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid rgba(43, 54, 66, 0.3);
}

.table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.table tbody tr:hover {
  background: linear-gradient(135deg, 
    rgba(255,123,51,0.1) 0%, 
    rgba(255,179,71,0.05) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(255,123,51,0.3);
}

.table td {
  padding: var(--spacing-lg) var(--spacing-md);
  color: var(--text);
  font-weight: 600;
  vertical-align: middle;
  border-right: 1px solid rgba(43, 54, 66, 0.2);
}

.table td:last-child {
  border-right: none;
}

.table .rank {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--primary-light);
  text-align: center;
  width: 80px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.table .club {
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 200px;
}

.table .club .avatar, .table .club .team-badge {
  margin-right: var(--spacing-sm);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-gold) 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow-lg), 
    var(--shadow-glow),
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 1px 0 rgba(255,255,255,0.2) inset;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    var(--shadow-xl), 
    0 0 50px -10px rgba(255,123,51,0.5),
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 1px 0 rgba(255,255,255,0.3) inset;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #ffcc5c 100%);
}

.btn:hover::before {
  left: 100%;
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.btn.outline:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn.small {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.9rem;
}

/* Header premium ghost buttons */
.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
  border: 1px solid rgba(255,123,51,0.35) !important;
  color: var(--text) !important;
  box-shadow: 0 6px 18px -10px rgba(255,123,51,0.35), 0 1px 0 rgba(255,255,255,0.12) inset !important;
  backdrop-filter: saturate(140%) blur(10px);
}
.btn-ghost:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05)) !important;
  border-color: rgba(255,123,51,0.6) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -12px rgba(255,123,51,0.45), 0 1px 0 rgba(255,255,255,0.18) inset !important;
}
.btn-ghost:active { transform: translateY(0); }

/* Light theme adjustments for ghost */
:root[data-theme='light'] .btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8)) !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 6px 18px -12px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.9) inset !important;
}
:root[data-theme='light'] .btn-ghost:hover {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,0.95)) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 26px -14px rgba(0,0,0,0.16), 0 1px 0 rgba(255,255,255,1) inset !important;
}

/* === Header Compact Buttons (smaller & thinner) === */
.site-header nav { gap: 10px; }
.site-header .btn { 
  padding: 6px 12px; 
  font-size: 0.85rem; 
  border-radius: 10px; 
  font-weight: 700; 
  letter-spacing: 0.2px; 
  box-shadow: none;
}
.site-header .btn::before { display: none; }
.site-header .btn-ghost {
  border-width: 1px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) !important;
  box-shadow: 0 4px 10px -8px rgba(255,123,51,0.25) !important;
}
.site-header .btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(255,123,51,0.35) !important;
}
@media (max-width: 600px){
  .site-header .btn { padding: 6px 10px; font-size: 0.82rem; }
}
:root[data-theme='light'] .site-header .btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9)) !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 4px 12px -10px rgba(0,0,0,0.15) !important;
}

/* Match status badge */
.match-status { display:inline-block; margin-left:8px; padding:3px 10px; border-radius:999px; font-size:.7rem; font-weight:700; border:1px solid var(--border); letter-spacing:.4px; vertical-align:middle; }
.match-status.upcoming { background:#182230; color:#cbd5e1; border-color:#2b3642; }
.match-status.live { background:#2b1a1a; color:#ff6b6b; border-color:#5a2a2a; box-shadow:0 0 0 3px rgba(255,0,0,.06); animation: liveBlink 1.2s ease-in-out infinite; }
@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.match-status.finished { background:#1a2b1a; color:#27c27a; border-color:#255a2a; }

/* Tags and Badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,123,51,0.15);
  border: 1px solid rgba(255,123,51,0.4);
  padding: 6px 12px;
  margin: 2px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.tag:hover {
  background: rgba(255,123,51,0.25);
  border-color: rgba(255,123,51,0.6);
  transform: scale(1.05);
}

.tag small {
  opacity: 0.8;
  font-size: 0.7rem;
}

/* Scorers Cell */
.scorers-cell {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  max-width: 300px;
}

/* Forms */
form {
  display: grid;
  gap: var(--spacing-md);
}

form .row {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

input, select, textarea {
  padding: var(--spacing-md);
  background: rgba(21, 31, 44, 0.8);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,123,51,0.2);
}

/* Theme Toggle */
button[data-theme-toggle] {
  background: rgba(21, 31, 44, 0.8);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

button[data-theme-toggle]:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container { padding: 0 var(--spacing-lg); }
  .hero-text h2 { font-size: clamp(2.5rem, 6vw, 4rem); }
  .highlight-cards { grid-template-columns: 1fr; }
  .highlight-card .hc-kpis { justify-content: center; }
}

@media (max-width: 900px) {
  .site-header { padding: var(--spacing-md) var(--spacing-lg); }
  .site-header h1 { font-size: 2rem; }
  .container { padding: 0 var(--spacing-md); }
  .hero { padding: var(--spacing-xl) 0; }
  .hero-text h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .tables-vertical { gap: var(--spacing-xl); }
  .table-section { padding: var(--spacing-lg); }
  .subnav { flex-direction: column; align-items: center; }
  .avatar, .team-badge { width: 48px; height: 48px; font-size: 1rem; }
}

@media (max-width: 600px) {
  .site-header { padding: var(--spacing-sm) var(--spacing-md); }
  .site-header h1 { font-size: 1.8rem; }
  .container { 
    padding: 0 var(--spacing-sm);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .hero { padding: var(--spacing-lg) 0; margin: var(--spacing-lg) 0; }
  .hero-text h2 { font-size: clamp(1.8rem, 10vw, 2.5rem); }
  .hero-text p { font-size: 1.1rem; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-box strong { font-size: 2.5rem; }
  
  /* === MOBİL TABLO YENİDEN TASARIM === */
  
  /* Masaüstü tablolarını ve grid'leri gizle */
  .table, .standings-table, .data-table, .scorers-list, .teams-grid {
    display: none !important;
  }
  
  /* Mobilde navigation menüsünü gizle */
  .subnav {
    display: none !important;
  }
  
  /* === MOBİL LİSTELER === */
  .mobile-standings-list, .mobile-scorers-list, .mobile-teams-list {
    display: block !important;
    gap: 12px;
  }
  
  .mobile-standings-item {
    background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    margin-bottom: 8px;
  }
  
  .mobile-standings-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
  }
  
  .mobile-standings-position {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  
  .mobile-standings-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .mobile-standings-team .team-logo, 
  .mobile-standings-team .team-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .mobile-standings-team .team-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
  }
  
  .mobile-standings-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }
  
  .mobile-standings-points {
    background: rgba(255,123,51,0.15);
    color: var(--primary-light);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(255,123,51,0.3);
  }
  
  .mobile-standings-record {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  /* === GOL KRALLI GI LISTE === */
  .mobile-scorers-list {
    display: block !important;
    gap: 10px;
  }
  
  .mobile-scorer-item {
    background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    margin-bottom: 6px;
  }
  
  .mobile-scorer-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
  }
  
  .mobile-scorer-rank {
    background: linear-gradient(135deg, var(--accent-gold), #e0b300);
    color: var(--dark-bg);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
  
  .mobile-scorer-player {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .mobile-scorer-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
  }
  
  .mobile-scorer-team {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  .mobile-scorer-goals {
    background: rgba(255,215,0,0.15);
    color: var(--accent-gold);
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    border: 1px solid rgba(255,215,0,0.3);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }
  
  /* === TAKIMLAR LISTE === */
  .mobile-teams-list {
    display: block !important;
    gap: 12px;
  }
  
  .mobile-team-item {
    background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    margin-bottom: 8px;
  }
  
  .mobile-team-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
  }
  
  .mobile-team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
  }
  
  .mobile-team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .mobile-team-name {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
  }
  
  .mobile-team-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
  }
  
  .mobile-team-stat {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}
/* (Not: Yukarıdaki @media (max-width: 600px) bloğu burada sona eriyor) */

/* === Theme Body Overrides === */
:root[data-theme='light'] body {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(255,179,71,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(139,69,193,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #ffffff 100%) !important;
  color: var(--text);
}

:root[data-theme='light'] body::before {
  background:
    radial-gradient(circle at 25% 25%, rgba(255,179,71,0.18) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(139,69,193,0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,215,0,0.08) 0%, transparent 60%) !important;
}

:root[data-theme='matrix'] body {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(0,255,106,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(0,200,80,0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--dark-bg) 0%, #030807 50%, var(--dark-bg) 100%) !important;
}

:root[data-theme='matrix'] body::before {
  background:
    radial-gradient(circle at 25% 25%, rgba(0,255,106,0.12) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(0,200,80,0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,255,60,0.06) 0%, transparent 60%) !important;
}

:root[data-theme='light'] .site-header {
  background: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.15) !important;
}

:root[data-theme='light'] .subnav {
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid var(--border) !important;
}

:root[data-theme='light'] .table-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.20), 0 0 0 1px rgba(255,255,255,0.6) inset !important;
}

:root[data-theme='light'] .table-section .table-wrap {
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid var(--border) !important;
}

:root[data-theme='light'] .table thead th {
  background: linear-gradient(135deg, rgba(255,179,71,0.12), rgba(255,215,0,0.08)) !important;
  color: #9a5f1b !important;
  border-bottom: 3px solid rgba(255,179,71,0.4) !important;
}

:root[data-theme='light'] .table tbody tr:nth-child(even) {
  background: #fafafa !important;
}

:root[data-theme='light'] .table tbody tr:hover td {
  background: #fff7ef !important;
  border-color: #ffe2c0 !important;
}

:root[data-theme='light'] .table td {
  border-right: 1px solid #eef2f7 !important;
}

:root[data-theme='light'] input, :root[data-theme='light'] select, :root[data-theme='light'] textarea {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

:root[data-theme='light'] button[data-theme-toggle] {
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}

@media (max-width: 400px) {
  .hero-text h2 { font-size: clamp(1.5rem, 12vw, 2rem); }
  .stat-box strong { font-size: 2rem; }
  .table { font-size: 0.8rem; }
  .table thead th { font-size: 0.7rem; }
  .avatar, .team-badge { width: 36px; height: 36px; font-size: 0.8rem; }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-section, .highlight-card, .stat-box {
  animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
  .site-header, .subnav, .btn { display: none; }
  body { background: white; color: black; }
  .table-section { box-shadow: none; border: 1px solid #ccc; }
}
input, select, textarea {background:#151e29; border:1px solid #273446; color:var(--text); padding:12px 16px; border-radius:var(--radius-sm); font-size:.92rem; width:100%; font-family:inherit; letter-spacing:.3px;}
input:focus, select:focus, textarea:focus {outline:none; box-shadow:var(--focus); border-color:#ffb347;}
.badge {background:#1c2733; padding:5px 10px; border-radius:40px; font-size:.63rem; letter-spacing:.5px; color:#cdd5dd; border:1px solid #2f3a46; font-weight:500;}
.notice {background:linear-gradient(135deg,#162330,#131b27); border:1px solid #2b3947; padding:14px 18px; border-radius:var(--radius-sm); font-size:.72rem; line-height:1.45; color:#d6dce2; box-shadow:0 4px 14px -8px rgba(0,0,0,.6);} 
.alert {background:linear-gradient(135deg,#3d2020,#2a1818); border:1px solid #5c3232; color:#ffbdbd; padding:14px 18px; border-radius:var(--radius-sm); font-size:.72rem;}

/* Utility */
.muted {color:var(--muted); font-style:italic; text-align:center;}
.flex {display:flex; gap:12px; align-items:center; flex-wrap:wrap;}
.actions {display:flex; gap:10px;}
.fade-divider {height:1px; background:linear-gradient(90deg,rgba(255,188,70,.3),rgba(255,188,70,0)); margin:14px 0 10px; border:none;}
.pill {display:inline-block; padding:4px 10px; background:#1d2734; border:1px solid #2b394a; border-radius:40px; font-size:.6rem; letter-spacing:.5px; color:#c8d0d7;}

/* Footer */
.site-footer {text-align:center; padding:50px 0 70px; font-size:.75rem; color:var(--muted);} 

/* Responsive tweaks */
@media (max-width:1100px){ .hero {grid-template-columns:1fr;} .site-header {padding:16px 26px;} .container {padding:30px 26px 60px;} }
@media (max-width:760px){ .grids {grid-template-columns:1fr;} .table thead {display:none;} .table tbody tr td {display:block; text-align:right; padding:10px 14px;}
  .table tbody tr td:before {content:attr(data-label); float:left; font-size:.58rem; letter-spacing:.5px; text-transform:uppercase; color:var(--muted); font-weight:600;}
  .scorers-cell {max-width:100%;}
}
@media (max-width:520px){ 
  .site-header h1 {font-size:1.25rem;} 
  .hero-text h2 {font-size:1.9rem;} 
  .stat-box strong {font-size:1.4rem;} 
  
  /* Küçük ekranlarda kesin uyumluluk */
  body, html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .container, .table-section, .premium-content, .match-grid {
    width: 100%;
    max-width: calc(100vw - 20px);
    margin-left: auto;
    margin-right: auto;
  }
  
  .standings-table {
    min-width: 300px;
  }
}

/* ===== ULTRA PREMIUM OVERRIDES ===== */
/* Arka plan katmanları ve noise efekti */
body:after {content:""; position:fixed; inset:0; pointer-events:none; z-index:-2;
  background:
    radial-gradient(1200px 600px at 120% -10%, rgba(255,188,70,.10), transparent 60%),
    radial-gradient(900px 600px at -20% 110%, rgba(255,188,70,.08), transparent 65%),
    linear-gradient(180deg, rgba(12,15,23,0), rgba(12,15,23,.6) 55%, rgba(12,15,23,.9));
}

/* Tablolar ve kartlar arasında ferah boşluk */
.tables-vertical { gap:56px !important; margin-top:48px !important; }
.tables-vertical .table-section { margin-bottom:24px; }
@media(max-width:900px){ .tables-vertical { gap:40px !important; } }
@media(max-width:520px){ .tables-vertical { gap:28px !important; } }

/* Kartları cam efekti ve hafif parıltıyla güçlendir */
.card { position:relative; isolation:isolate; }
.card::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: linear-gradient(120deg, rgba(255,188,70,.18), rgba(255,188,70,0) 40%);
  mix-blend-mode:screen; opacity:.45;
}
.card:hover { transform:translateY(-2px); transition:transform .18s ease, box-shadow .18s ease; box-shadow:0 22px 60px -20px rgba(0,0,0,.85), 0 10px 26px -12px rgba(0,0,0,.55); }

/* Tablo başlıklarını cam ve büyük tipografi ile öne çıkar */
.table thead th { background: rgba(22,31,43,.92) !important; backdrop-filter: blur(8px) saturate(140%); font-size:.95rem !important; font-weight:800 !important; padding:16px 16px !important; }
.table tbody tr:hover td { background:#202c3c !important; border-color:#314256 !important; box-shadow:0 12px 34px -14px rgba(0,0,0,.75) !important; }

/* Butonlara canlı gradient akışı ver */
.btn { background-size:200% 200%; animation:btnGrad 8s ease infinite; }
@keyframes btnGrad { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }

/* Premium eyebrow rozet */
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border:1px solid rgba(255,188,70,.35); border-radius:999px; font-size:.72rem; letter-spacing:.6px; color:#ffdf9a; background:linear-gradient(180deg, rgba(255,188,70,.12), rgba(255,188,70,.04)); box-shadow:0 6px 16px -10px rgba(255,188,70,.45); }
/* Emoji yıldız kaldırıldı */
.eyebrow:before { content:""; display:none; }

/* === Highlight Cards Fixes (final polish) === */
.highlight-cards { justify-items:center; justify-content:center; grid-template-columns:repeat(auto-fit,minmax(320px,420px)); gap:22px; margin: 36px 0; }
.highlight-card { text-align:center; max-width:460px; padding:24px 24px 20px; }
.highlight-card .hc-title { text-align:center; font-size:.8rem; letter-spacing:1px; color:var(--text-muted); }
.highlight-card .hc-line { justify-content:center; gap:10px; margin-bottom:10px; }
.highlight-card .hc-line .team-badge, .highlight-card .hc-line .avatar { width:40px; height:40px; font-size:.9rem; border-width:2px; }
.highlight-card .hc-name { font-size:1.2rem; font-weight:800; }
.highlight-card .hc-kpis { justify-content:center; gap:10px; }
.highlight-card .kpi { padding:6px 10px; background:rgba(255,123,51,.10); border:1px solid rgba(255,123,51,.28); color:#ffdca0; }
.highlight-card .kpi span { color:var(--text-muted); font-weight:600; letter-spacing:.4px; }
.highlight-card .kpi strong { color:#ffe6b8; font-weight:800; }
@media(max-width:600px){
  .highlight-cards { grid-template-columns:1fr; margin: 24px 0; }
  .highlight-card { max-width:100%; padding:20px 16px; }
}

/* === Match Cards (Son Maçlar) === */
.match-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:18px; }
.match-card {
  background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--blur);
  transition: var(--transition);
}
.match-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl), var(--shadow-glow); border-color: var(--primary); }
.match-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.match-date { font-size:.78rem; color:var(--text-muted); letter-spacing:.4px; }
.mini-table { display:grid; gap:10px; }
.mini-row { display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:10px; }
.mini-row.teams .club { display:flex; align-items:center; gap:10px; }
.mini-row .score { font-size:1.2rem; font-weight:900; color:var(--primary-light); text-align:center; min-width:80px; }
.mini-row.scorers { grid-template-columns:1fr; }

/* === Admin Premium Polish === */
.admin-grid .card h2 { margin-top:0; }
.admin-grid .card { background: linear-gradient(145deg, var(--card-bg), var(--card-alt)); border:2px solid var(--border); box-shadow: var(--shadow-lg); }
.admin-matches .table-wrap { background: rgba(21,31,44,0.8); }

@media(max-width:680px){
  .match-cards { grid-template-columns:1fr; }
}

/* === Ultra Premium Tables System === */
.premium-tables {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.premium-table-section {
  background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 50px;
  overflow: hidden;
  box-shadow: 0 10px 40px -15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.premium-table-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px -15px rgba(0,0,0,0.3);
}

.table-card:hover {
  transform: none;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.1);
  border-color: var(--border);
}

.table-header {
  background: var(--card-alt);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.table-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-shadow: none;
}

.table-container {
  overflow-x: auto;
  max-height: none;
  padding: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--card-bg);
}

.data-table thead {
  position: static;
  z-index: auto;
  background: transparent;
}

.data-table th {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: transparent;
}

.data-table tbody tr {
  transition: none;
  border-bottom: 1px solid var(--border);
}

.data-table tbody tr:nth-child(even) {
  background: transparent;
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
  transform: none;
}

.data-table td {
  padding: 14px 20px;
  color: var(--text);
  font-weight: 400;
  vertical-align: middle;
  border-right: none;
}

.rank-cell, .points-cell, .goals-cell {
  font-weight: 900;
  color: var(--primary-light);
  text-align: center;
  font-size: 1.1rem;
}

.team-info, .player-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.team-badge, .player-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 2px solid rgba(255,123,51,0.4);
  color: var(--primary-light);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.date-cell {
  font-family: 'Courier New', monospace;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.score-cell {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-light);
  text-align: center;
}

.scorer-tag {
  display: inline-block;
  background: rgba(255,123,51,0.15);
  border: 1px solid rgba(255,123,51,0.3);
  padding: 4px 8px;
  margin: 2px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  color: var(--primary-light);
}

.empty-state, .no-data {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .table-container {
    max-height: 400px;
  }
}

/* === Minimal Premium Tables Refresh · 2025-10-04 === */
/* Amaç: Tabloları daha sade, ferah ve gerçek tablo görünümüne yaklaştırmak */
.main-grid { gap: 32px; }

.table-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.table-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.table-header {
  background: transparent;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.table-header h2 {
  color: var(--text);
  text-shadow: none;
  font-size: 1.4rem;
}

.table-container {
  overflow: visible;
  max-height: none;
  padding: 8px 16px 16px;
  background: transparent;
}

.data-table { font-size: 0.95rem; border-collapse: separate; border-spacing: 0; }
.data-table thead { position: static; background: transparent; }
.data-table th {
  padding: 12px 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.data-table tbody tr { border-bottom: 1px solid var(--border); background: transparent; transition: none; }
.data-table tbody tr:nth-child(even) { background: transparent; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); transform: none; }
.data-table td { padding: 12px 10px; color: var(--text); font-weight: 500; border-right: none; }

.rank-cell, .points-cell, .goals-cell { color: var(--text); font-weight: 700; }

.team-badge, .player-avatar {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
}

/* Light tema için temiz görünüm */
:root[data-theme='light'] .table-card { 
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important; 
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.08) !important; 
}
:root[data-theme='light'] .table-header { 
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important; 
}
:root[data-theme='light'] .data-table { background: #ffffff !important; }
:root[data-theme='light'] .data-table th { 
  color: #64748b !important;
  border-bottom: 1px solid #e2e8f0 !important; 
}
:root[data-theme='light'] .data-table tbody tr { 
  border-bottom: 1px solid #f1f5f9 !important; 
}
:root[data-theme='light'] .data-table tbody tr:hover { 
  background: #f8fafc !important; 
}
:root[data-theme='light'] .data-table td { color: #1e293b !important; }

/* === Premium Headers === */
.premium-header {
  background: linear-gradient(135deg, rgba(255,123,51,0.1), rgba(255,179,71,0.05));
  padding: 30px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.premium-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-header h2 .icon {
  width: 22px; height: 22px; flex: 0 0 22px;
}

.header-stats {
  background: rgba(255,123,51,0.15);
  color: var(--primary-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255,123,51,0.3);
}

/* Live badge (CANLI) */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220,53,69,0.35);
  color: #ff6b6b;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: .8rem;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255,59,59,0.7);
  animation: livePulse 1.4s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,59,59,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,59,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
}

.premium-content {
  padding: 40px;
}

/* --- Mobile-first responsive enhancements --- */
.smooth-scroll-x { overflow-x:auto; -webkit-overflow-scrolling: touch; }
.standings-table { 
  min-width: 640px; 
  width: 100%;
  max-width: 100%;
}
.standings-table .table-header-row,
.standings-table .standings-row { display:grid; grid-template-columns: 46px 1fr repeat(7, 54px) 64px; align-items:center; gap:8px; }
.standings-table .col-team .team-info-full { display:flex; align-items:center; gap:10px; min-width: 160px; }
.team-logo-small, .team-badge-small { width:28px; height:28px; border-radius:50%; object-fit:cover; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); border:1px solid var(--border); font-size:.7rem; font-weight:800; color:var(--text-soft); }
.points-badge { display:inline-flex; align-items:center; justify-content:center; min-width:36px; padding:4px 8px; border-radius:10px; background:rgba(255,123,51,.12); color:var(--primary-light); font-weight:900; border:1px solid rgba(255,123,51,.35); }

@media (max-width: 900px){
  .premium-content { padding: 22px; }
  .match-grid { 
    display: flex; 
    gap: 16px; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .match-card { 
    min-width: 280px; 
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px){
  .premium-header { padding: 18px; }
  .premium-header h2 { font-size: 1.3rem; }
  .header-stats { padding: 6px 10px; font-size:.8rem; }
  
  .match-grid { 
    gap: 8px; 
    padding-bottom: 10px;
  }
  /* === GOOGLE STYLE MATCH CARDS === */
  .match-card { 
    min-width: calc(100vw - 32px); 
    flex: 0 0 calc(100vw - 32px);
    padding: 0; 
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    margin: 0 4px;
    overflow: hidden;
    transition: all 0.2s ease;
  }
  
  .match-card:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }
  
  /* Match Status Header */
  .match-card .match-date {
    background: var(--card-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
  }
  
  .match-card .match-status.live {
    background: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 8px;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
  }
  
  /* Google-style Match Layout */
  .match-card .match-teams {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  
  .match-card .team-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    gap: 8px;
  }
  
  .match-card .team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  
  .match-card .team-logo, 
  .match-card .team-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .match-card .team-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .match-card .team-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
  }
  
  /* Central Score Section */
  .match-card .match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
  }
  
  .match-card .score-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
  }
  
  .match-card .match-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  /* Match Events (Goals) - Google Style */
  .match-card .match-events {
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    padding: 12px 16px;
  }
  
  .match-card .events-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
  
  .match-card .team-events {
    flex: 1;
  }
  
  .match-card .team-events.home-events {
    text-align: left;
  }
  
  .match-card .team-events.away-events {
    text-align: right;
  }
  
  .match-card .team-events-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .match-card .goal-event {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
  }
  
  .match-card .away-events .goal-event {
    flex-direction: row-reverse;
  }
  
  .match-card .event-minute {
    background: var(--primary);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
  }
  
  .match-card .player-name {
    font-weight: 600;
    color: var(--text);
  }
  
  .match-card .goal-type-icon {
    color: var(--primary-light);
    font-size: 0.8rem;
  }
  
  /* Live Match Special Styling */
  .match-card.live-match {
    border-left: 3px solid #ff4444;
  }
  
  .match-card.live-match .match-date {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
  }
  .match-date { 
    font-size: 0.75rem; 
    margin-bottom: 10px; 
    text-align: center;
  }
  .match-teams { 
    display: flex;
    flex-direction: column;
    gap: 6px; 
  }
  .team-side { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid var(--border);
  }
  .team-side .team-info {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .team-logo, .team-avatar { 
    width: 28px; 
    height: 28px; 
    font-size: 0.7rem; 
  }
  .team-name { 
    font-size: 0.85rem; 
    font-weight: 600;
    max-width: 120px; 
    line-height: 1.2;
  }
  .team-score {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-light);
    min-width: 32px;
    text-align: center;
  }
  .match-score {
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 6px 0;
  }
  .score-display { 
    font-size: 1.6rem; 
    display: block;
    margin-bottom: 4px;
  }
  .match-time { font-size: 0.7rem; }
  
  .events-container { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* Desktop-only elements */
.desktop-only { display: block; }

@media (max-width: 900px) {
  .desktop-only { display: none !important; }
}

@media (max-width: 420px){
  .site-header h1 { font-size: 1.3rem; }
  .subnav { padding: 10px; }
  .subnav a { padding: 10px 14px; font-size:.85rem; }
  .hero-text p { font-size: 1rem; }
}

/* === Header Build Pill === */
.build-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .4px;
  border-radius: 999px;
  color: var(--primary-light);
  background: rgba(255,123,51,0.12);
  border: 1px solid rgba(255,123,51,0.35);
}

/* === Live / Upcoming Ticker === */
.live-ticker {
  margin: 0 auto var(--spacing-xl);
  max-width: 1600px;
  padding: 10px var(--spacing-xl);
  position: relative;
}
.live-ticker-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
}
.ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(145deg, var(--card-bg), var(--card-alt));
  border: 1px solid var(--border);
  scroll-snap-align: start;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.ticker-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.ticker-item.live { border-color: rgba(255,59,59,0.5); background: rgba(255,59,59,0.05); }
.ti-time { font-size: .75rem; font-weight: 900; color: var(--text-muted); min-width: 64px; text-align: center; }
.ticker-item.live .ti-time { color: #ff6b6b; }
.ti-home, .ti-away { font-weight: 700; white-space: nowrap; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.ti-score { font-weight: 900; color: var(--primary-light); }

@media (max-width: 900px){
  .live-ticker { padding: 8px var(--spacing-lg); }
  .ti-home, .ti-away { max-width: 140px; }
}
@media (max-width: 600px){
  .live-ticker { padding: 6px var(--spacing-md); }
  .ti-home, .ti-away { max-width: 110px; font-size: .9rem; }
}

/* === Empty States === */
.empty-premium {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.empty-premium h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--text);
}

.empty-premium p {
  margin: 0;
  font-size: 1rem;
}

/* === Match Cards === */
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.match-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
  /* Dışa taşmaları önle */
  overflow: hidden;
}

.match-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,123,51,0.3);
  transform: translateY(-2px);
}

.match-date {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.team-side.home { text-align: center; }
.team-side.away { text-align: center; }

.team-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.team-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 2px solid rgba(255,123,51,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-light);
}

.team-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  max-width: 120px;
  text-align: center;
  line-height: 1.3;
}

.admin-username { display: inline-flex; align-items:center; gap:10px; }
.admin-username .icon { width:18px; height:18px; flex:0 0 18px; }

.match-score {
  text-align: center;
}

.score-display {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
  display: block;
  margin-bottom: 5px;
}

.match-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.match-scorers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.scorer-chip {
  background: rgba(255,123,51,0.1);
  color: var(--primary-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,123,51,0.3);
}

/* === Premium Match Events (Google Style) === */
.match-events {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.events-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 15px;
  overflow: hidden;
}

.team-events {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.team-events-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(255,123,51,0.15) 0%, rgba(255,179,71,0.1) 100%);
  border: 1px solid rgba(255,123,51,0.3);
  border-radius: 15px;
  margin-bottom: 8px;
}

.team-name-small {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.goal-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.goal-event:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,123,51,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.goal-event::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  opacity: 0.7;
}

.event-minute {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  position: relative;
}

.event-minute::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #28a745;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
/* Away tarafında ok yönünü içe çevir */
.team-events.away-events .event-minute::after {
  right: auto;
  left: -8px;
  border-left: 0;
  border-right: 8px solid #28a745;
}

.event-details {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: 10px; /* event-minute oka çakışmasın */
  min-width: 0;
}

.player-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  flex: 0 0 auto;
  line-height: 0;
}

.goal-type-icon svg.icon { width: 20px; height: 20px; }
.goal-type-icon .icon { display:block; }

.goal-type-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

/* Gol türlerine göre renk kodları */
.goal-event[data-type="penalty"] .event-minute {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.goal-event[data-type="penalty"] .event-minute::after {
  border-left-color: #dc3545;
}
/* Away tarafı için tip renkleri */
.team-events.away-events .goal-event[data-type="penalty"] .event-minute::after { border-right-color: #dc3545; }

.goal-event[data-type="header"] .event-minute {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.goal-event[data-type="header"] .event-minute::after {
  border-left-color: #6f42c1;
}
.team-events.away-events .goal-event[data-type="header"] .event-minute::after { border-right-color: #6f42c1; }

.goal-event[data-type="freekick"] .event-minute {
  background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.goal-event[data-type="freekick"] .event-minute::after {
  border-left-color: #fd7e14;
}
.team-events.away-events .goal-event[data-type="freekick"] .event-minute::after { border-right-color: #fd7e14; }

.goal-event[data-type="own"] .event-minute {
  background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.goal-event[data-type="own"] .event-minute::after {
  border-left-color: #6c757d;
}
.team-events.away-events .goal-event[data-type="own"] .event-minute::after { border-right-color: #6c757d; }

/* Responsive Events */
@media (max-width: 768px) {
  .events-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .goal-event {
    padding: 10px 12px;
    gap: 10px;
  }
  
  .event-details {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .player-name {
    font-size: 0.9rem;
    /* Taşma engelle: min-width 0 + ellipsis */
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .goal-type-text {
    font-size: 0.75rem;
  }
  
  .event-minute {
    min-width: 35px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .goal-type-icon {
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
  }
  .goal-type-icon svg.icon { width: 16px; height: 16px; }
}

/* === Scorers List === */
.scorers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.close-race-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  margin: -8px 0 -8px 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(220,53,69,0.15);
  border: 1px solid rgba(220,53,69,0.4);
  color: #ff6b6b;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.8rem;
  animation: closeBlink 1.2s ease-in-out infinite;
}

@keyframes closeBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,59,59,0.5); }
  50% { opacity: 0.35; box-shadow: 0 0 0 8px rgba(255,59,59,0); }
}

/* Rivalry collision: 4s interval collide + sparks when close race */

.scorer-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.scorer-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,123,51,0.3);
}

.scorer-item.top-1 { border-color: #ffd700; background: rgba(255,215,0,0.05); }
.scorer-item.top-2 { border-color: #c0c0c0; background: rgba(192,192,192,0.05); }
.scorer-item.top-3 { border-color: #cd7f32; background: rgba(205,127,50,0.05); }

.medal {
  width: 32px; height: 32px; border-radius:50%;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.medal.gold { background: linear-gradient(135deg, #ffd700, #ffec8b); border-color: rgba(255,215,0,0.6); }
.medal.silver { background: linear-gradient(135deg, #c0c0c0, #e0e0e0); border-color: rgba(192,192,192,0.6); }
.medal.bronze { background: linear-gradient(135deg, #cd7f32, #e6a36a); border-color: rgba(205,127,50,0.6); }

.rank-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-muted);
  width: 40px;
  text-align: center;
}

.scorer-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.scorer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 3px solid rgba(255,123,51,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary-light);
  position: relative;
}

/* Floating premium crown for top scorer */
.scorer-item.top-1 .scorer-avatar {
  --crown-size: 26px;
}
.scorer-item.top-1 .scorer-avatar .floating-crown {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: var(--crown-size);
  height: var(--crown-size);
  color: var(--accent-gold);
  filter: drop-shadow(0 2px 6px rgba(255,215,0,0.5));
  animation: crownFloat 2.2s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-8deg); }
  50% { transform: translateX(-50%) translateY(-6px) rotate(-4deg); }
}

/* Floating silver '2' for second scorer */
.scorer-item.top-2 .scorer-avatar { --two-size: 22px; }
.scorer-item.top-2 .scorer-avatar .floating-two {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--two-size);
  height: var(--two-size);
  line-height: var(--two-size);
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  color: #d8dde2; /* silver bright */
  text-shadow: 0 0 10px rgba(168,174,182,0.5);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  animation: twoFloat 2.3s ease-in-out infinite;
}

@keyframes twoFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* Standings top 3 color accents (rank only; keep names readable) */
.standings-row.rank-1 .col-rank { color: #ffd700; }
.standings-row.rank-2 .col-rank { color: #c0c0c0; }
.standings-row.rank-3 .col-rank { color: #cd7f32; }
.standings-row.rank-1 .team-name-full,
.standings-row.rank-2 .team-name-full,
.standings-row.rank-3 .team-name-full { color: var(--text); }

/* Points badge: outline style (no fill) */
.points-badge { position: relative; overflow: hidden; }
.standings-row.rank-1 .points-badge,
.standings-row.rank-2 .points-badge,
.standings-row.rank-3 .points-badge {
  background: transparent;
  box-shadow: none;
}
.standings-row.rank-1 .points-badge { color:#ffd700; border:1px solid rgba(255,215,0,0.7); }
.standings-row.rank-2 .points-badge { color:#c0c0c0; border:1px solid rgba(192,192,192,0.7); }
.standings-row.rank-3 .points-badge { color:#cd7f32; border:1px solid rgba(205,127,50,0.7); }
.standings-row.rank-1 .points-badge::after,
.standings-row.rank-2 .points-badge::after,
.standings-row.rank-3 .points-badge::after { content:none; }

.scorer-details h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.scorer-team {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.mini-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.scorer-goals {
  text-align: center;
}

.goals-count {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
  margin-bottom: 5px;
}

.goals-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Standings Table === */
.standings-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.table-header-row, .standings-row {
  display: grid;
  grid-template-columns: 60px 2fr repeat(7, 1fr) 80px;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 12px;
}

.table-header-row {
  background: rgba(255,123,51,0.1);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,123,51,0.3);
}

.standings-row {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.standings-row:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,123,51,0.3);
}

.standings-row.top-position {
  background: transparent;
  border-color: rgba(255,215,0,0.3);
}

/* Rank-specific backgrounds for top 3 */
/* Premium dark table styling for top 3 */
.standings-row.rank-1 { 
  background: rgba(0,0,0,0.35);
  border-left: 4px solid #ffd700;
  border-color: rgba(255,215,0,0.4);
}
.standings-row.rank-1:hover { 
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,215,0,0.6);
}
.standings-row.rank-2 { 
  background: rgba(0,0,0,0.3);
  border-left: 4px solid #c0c0c0; 
  border-color: rgba(192,192,192,0.4);
}
.standings-row.rank-2:hover { 
  background: rgba(0,0,0,0.4);
  border-color: rgba(192,192,192,0.6);
}
.standings-row.rank-3 { 
  background: rgba(0,0,0,0.25);
  border-left: 4px solid #cd7f32;
  border-color: rgba(205,127,50,0.4);
}
.standings-row.rank-3:hover { 
  background: rgba(0,0,0,0.35);
  border-color: rgba(205,127,50,0.6);
}

.col-rank {
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.position-icon {
  font-size: 1.5rem;
}

.team-info-full {
  display: flex;
  align-items: center;
  gap: 15px;
}

.team-logo-small {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.team-badge-small {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 2px solid rgba(255,123,51,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-light);
}

.team-name-full {
  font-weight: 700;
  font-size: 1rem;
}

.col-stat {
  text-align: center;
  font-weight: 600;
}

.win-stat { color: #27c27a; }
.draw-stat { color: #ffa726; }
.loss-stat { color: #ff6b6b; }
.goal-stat { color: var(--text); }

.positive { color: #27c27a; font-weight: 800; }
.negative { color: #ff6b6b; font-weight: 800; }
.neutral { color: var(--text-muted); font-weight: 800; }

.points-badge {
  background: transparent;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 1rem;
}

/* === Teams Grid === */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.team-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,123,51,0.3);
  transform: translateY(-2px);
}

.team-card-header {
  margin-bottom: 25px;
}

.team-card-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  margin-bottom: 15px;
}

.team-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 3px solid rgba(255,123,51,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--primary-light);
  margin: 0 auto 15px;
}

.team-card h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.team-card-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team players list (vertical list under team card) */
.team-players-list {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.team-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .2s ease;
}
.team-player-row:last-of-type {
  border-bottom: none;
}
.team-player-row:hover {
  background: rgba(255,255,255,0.04);
  /* Taşma engelleme: negatif margin kaldırıldı */
  margin: 0; 
  padding: 8px 12px; /* İç boşluk korunur, container dışına taşmaz */
  border-radius: 8px;
}
.tpr-name {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
}
.tpr-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tpr-pos {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 6px;
}
.tpr-goals {
  font-size: .85rem;
  font-weight: 900;
  color: var(--primary-light);
  background: rgba(255,123,51,0.15);
  border: 1px solid rgba(255,123,51,0.35);
  padding: 2px 8px;
  border-radius: 8px;
}
.team-players-more {
  text-align: center;
  margin-top: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.team-player-history {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 0 14px 12px;
  margin-top: -6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-left: 2px solid rgba(255,123,51,0.25);
}

.team-player-history .tph-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.team-player-history .tph-item strong {
  color: var(--primary-light);
}

/* === Players List === */
.players-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.player-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.player-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,123,51,0.3);
}

.player-avatar-large {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,123,51,0.2), rgba(255,179,71,0.1));
  border: 3px solid rgba(255,123,51,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary-light);
}

.player-info-section h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.player-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player-team {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.player-position {
  display: inline-block;
  background: rgba(255,123,51,0.15);
  color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255,123,51,0.3);
}

.goals-display {
  text-align: center;
}

.goals-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-light);
  margin-bottom: 5px;
}

.goals-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Responsive === */
@media (max-width: 900px) {
  .premium-content { padding: 25px; }
  .premium-header { padding: 25px; flex-direction: column; gap: 15px; }
  .match-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .table-header-row, .standings-row { grid-template-columns: 50px 2fr repeat(7, 1fr) 70px; gap: 10px; padding: 12px 15px; }
}

@media (max-width: 600px) {
  .premium-content { padding: 20px; }
  .match-teams { grid-template-columns: 1fr; gap: 15px; }
  .team-side { flex-direction: row; justify-content: center; }
  .scorer-item, .player-item { grid-template-columns: 1fr; gap: 15px; text-align: center; }
  .table-header-row, .standings-row { font-size: 0.8rem; }
}

/* === FORCE OVERRIDE - Cache Buster === */
.main-grid { display: block !important; }
.table-card { margin-bottom: 40px !important; display: block !important; width: 100% !important; }

/* === Admin Layout Minimal Overrides === */
.admin-grid { gap: 24px !important; }
.admin-grid .card { border: 1px solid var(--border) !important; box-shadow: var(--shadow-md) !important; }
.admin-grid .table-wrap { background: transparent !important; border: 1px solid var(--border) !important; box-shadow: none !important; border-radius: 12px !important; overflow: hidden !important; }
.admin-grid .table { font-size: .9rem !important; }
.admin-grid .table thead th { background: transparent !important; color: var(--text-muted) !important; border-bottom: 1px solid var(--border) !important; }
.admin-grid .table tbody tr { border-bottom: 1px solid var(--border) !important; }
.admin-grid .table tbody tr:hover td { background: rgba(255,255,255,0.02) !important; }


