/* Fonts head-assets.php'de link ile yükleniyor (display=swap) */
:root {
  /* Sarı, siyah, yeşil palet */
  --bg-primary: #f5f5f0;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f8f5;
  --card-bg: var(--bg-card);
  --card-border: var(--border-color);
  --text-primary: #0a0a0a;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --accent-green: #16a34a;
  --accent-green-light: #22c55e;
  --accent-green-hover: #15803d;
  --accent-primary: #16a34a;
  --accent-yellow: #eab308;
  --accent-yellow-light: #facc15;
  --accent-yellow-dark: #ca8a04;
  --accent-black: #0a0a0a;
  --accent-gold: #eab308;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --glass: rgba(0, 0, 0, 0.02);
  --bottom-nav-bg: rgba(255, 255, 255, 0.98);
  --confidence-high: #16a34a;
  --confidence-medium: #eab308;
  --confidence-low: #ef4444;
  --vip-gradient: linear-gradient(135deg, #16a34a, #22c55e, #15803d);
  --sidebar-width: 150px;
  --sidebar-right-width: 280px;
}

/* ===== DARK THEME - Professional Sports Platform ===== */
[data-theme="dark"] {
  /* Background System */
  --bg-primary: #0f1115;
  --bg-secondary: #15181d;
  --bg-card: #1b1f26;
  --bg-card-hover: #20252d;
  --card-bg: var(--bg-card);
  --card-border: var(--border-color);
  --bg-panel: #20252d;
  --bg-sidebar: #111418;
  --bg-sidebar-hover: #1a1f26;
  --bg-event-timeline: #171a20;
  --bg-minute-badge: #222831;
  /* Border */
  --border-color: rgba(255, 255, 255, 0.06);
  /* Text - muted WCAG AA kontrast (~4.5:1+) */
  --text-primary: #e6e8ea;
  --text-secondary: #a6adb8;
  --text-muted: #8b9299;
  /* Accent - Sports Green */
  --accent-green: #22c55e;
  --accent-green-light: #2dd96a;
  --accent-green-hover: #16a34a;
  --accent-primary: #22c55e;
  /* Accent - Semantic */
  --accent-yellow: #f59e0b;
  --accent-yellow-light: #fbbf24;
  --accent-yellow-dark: #d97706;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --accent-black: #0f1115;
  /* Football Field (desaturated dark green) */
  --field-green: #2e5f3e;
  --field-lines: rgba(255, 255, 255, 0.15);
  /* Shadows & Glass */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);
  --glass: rgba(255, 255, 255, 0.04);
  --bottom-nav-bg: rgba(17, 20, 24, 0.98);
  /* Confidence badges */
  --confidence-high: #22c55e;
  --confidence-medium: #f59e0b;
  --confidence-low: #ef4444;
  --vip-gradient: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Dark theme - Sidebar overrides */
[data-theme="dark"] .sidebar-left,
[data-theme="dark"] .sidebar-right {
  background: var(--bg-sidebar);
  border-color: var(--border-color);
}
[data-theme="dark"] .sidebar-league-item:hover,
[data-theme="dark"] .sidebar-list-item:hover {
  background: var(--bg-sidebar-hover);
}
[data-theme="dark"] .sidebar-league-item.active,
[data-theme="dark"] .sidebar-nav a.active {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-green);
}
[data-theme="dark"] .sidebar-match-card:hover,
[data-theme="dark"] .sidebar-match-card.active,
[data-theme="dark"] .today-match-card-sidebar:hover,
[data-theme="dark"] .today-match-card-sidebar.active {
  background: var(--bg-sidebar-hover);
}
[data-theme="dark"] .sidebar-match-card.active,
[data-theme="dark"] .today-match-card-sidebar.active {
  border-color: var(--accent-green);
}

/* Dark theme - Header / Navbar */
[data-theme="dark"] .navbar {
  background: #15181d;
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .navbar-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .navbar-menu-item.active {
  background: rgb(3 3 3 / 52%);
  color: #ffffff;
}

/* Dark theme - Match score cards / Livescore */
[data-theme="dark"] .livescore-table {
  background: var(--bg-card);
}
[data-theme="dark"] .league-strip {
  background: var(--bg-panel);
}
[data-theme="dark"] .league-strip:hover {
  background: var(--bg-card-hover);
}
/* Canlı sayfa masaüstü: tablo arka planı sayfa ile aynı */
body.page-canli [data-theme="dark"] .canli-desktop-view .livescore-table,
body.page-canli .canli-desktop-view .livescore-table {
  background: var(--bg-primary);
}
body.page-canli [data-theme="dark"] .canli-desktop-view .league-strip,
body.page-canli .canli-desktop-view .league-strip {
  background: transparent;
}
body.page-canli [data-theme="dark"] .canli-desktop-view .league-strip:hover,
body.page-canli .canli-desktop-view .league-strip:hover {
  background: transparent;
}
body.page-canli [data-theme="dark"] .canli-desktop-view .league-matches,
body.page-canli .canli-desktop-view .league-matches {
  background: transparent;
}
[data-theme="dark"] .livescore .match-row {
  background: #15181d;
  color: var(--text-primary);
}
[data-theme="dark"] .livescore .match-row:hover,
[data-theme="dark"] .ms-row:hover {
  background: var(--bg-card-hover);
}
[data-theme="dark"] .ms-score {
  color: var(--text-primary);
  font-weight: 700;
}
[data-theme="dark"] .ms-status.ft {
  color: var(--text-muted);
}
[data-theme="dark"] .ms-status.live {
  color: var(--accent-red);
}
[data-theme="dark"] .ms-status.ht {
  color: var(--accent-yellow);
}

/* Dark theme - Buttons */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .match-filter-btn.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .match-filter-btn.active:hover {
  background: var(--accent-green-hover);
  border-color: var(--accent-green-hover);
}
[data-theme="dark"] .match-filter-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
}
[data-theme="dark"] .match-filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
[data-theme="dark"] .theme-toggle-btn:hover {
  background: var(--glass);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* Dark theme - Footer */
[data-theme="dark"] .site-footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

/* Dark theme - Section headers */
[data-theme="dark"] .section-header {
  background: var(--bg-panel);
  border-color: var(--border-color);
  border-left-color: var(--accent-green);
}
[data-theme="dark"] .section-title {
  color: var(--text-primary);
}
[data-theme="dark"] .section-title .ms-icon {
  color: var(--accent-green);
}

/* Dark theme - League strip, match filter bar */
[data-theme="dark"] .match-filter-date {
  background: var(--bg-card);
  border-color: var(--border-color);
}
[data-theme="dark"] .match-filter-date-arrow:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
[data-theme="dark"] .sidebar-commentary-item {
  background: var(--bg-card);
  border-color: var(--border-color);
}
[data-theme="dark"] .sidebar-commentary-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(34, 197, 94, 0.2);
}
[data-theme="dark"] .match-search-input-wrap input {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
}
[data-theme="dark"] .match-search-input-wrap input::placeholder {
  color: var(--text-muted);
}

/* Dark theme - Lig puan durumu tablosu */
[data-theme="dark"] .lig-standings-section .standings-table-wrap {
  border-color: var(--border-color);
  background: var(--bg-card);
}
[data-theme="dark"] .lig-standings-section .standings-table thead {
  background: var(--bg-panel);
}
[data-theme="dark"] .lig-standings-section .standings-table th {
  color: var(--text-secondary);
  border-bottom-color: var(--border-color);
}
[data-theme="dark"] .lig-standings-section .standings-table tbody tr:nth-child(odd) td {
  background: var(--bg-card);
  color: var(--text-primary);
  border-bottom-color: var(--border-color);
}
[data-theme="dark"] .lig-standings-section .standings-table tbody tr:nth-child(even) td {
  background: var(--bg-panel);
  color: var(--text-primary);
  border-bottom-color: var(--border-color);
}
[data-theme="dark"] .lig-standings-section .standings-table tbody tr:hover td {
  background: var(--bg-card-hover) !important;
}
[data-theme="dark"] .lig-standings-section .standings-table td.st-rank {
  color: var(--text-secondary);
}
[data-theme="dark"] .lig-standings-section .standings-table td.st-pts {
  color: var(--accent-green);
}
[data-theme="dark"] .lig-standings-section .standings-highlight td {
  background: rgba(34, 197, 94, 0.12) !important;
}
[data-theme="dark"] .lig-standings-section .standings-table tbody tr.standings-highlight + tr.standings-highlight td {
  background: rgba(34, 197, 94, 0.08) !important;
}
[data-theme="dark"] .lig-standings-section .standings-highlight td.st-team-name,
[data-theme="dark"] .lig-standings-section .standings-highlight .st-team-name {
  color: var(--accent-green);
}
[data-theme="dark"] .lig-standings-section .standings-filter-bar {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .lig-standings-section .standings-filter-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: var(--border-color);
}
[data-theme="dark"] .lig-standings-section .standings-filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
[data-theme="dark"] .lig-standings-section .standings-filter-bar .standings-filter-btn.active {
  background: var(--accent-green);
  color: #fff;
  border-color: var(--accent-green);
}
[data-theme="dark"] .lig-standings-section .lig-standings-title {
  color: var(--text-primary);
}
[data-theme="dark"] .lig-standings-section .lig-standings-title .ms-icon {
  color: var(--accent-green);
}
[data-theme="dark"] .lig-standings-section .standings-group-title {
  color: var(--text-secondary);
}

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

/* Erişilebilirlik: Skip link - klavye/ekran okuyucu */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10001;
  padding: 12px 20px;
  background: var(--accent-green);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
}

/* Klavye odak göstergesi - WCAG 2.4.7 */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* Erişilebilirlik: Ekran okuyucu için görünmez, SEO için mevcut */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Görsel hiyerarşi: sayfa H1 görünür ama kompakt (ana sayfa, maç listesi, lig) */
.page-hero-h1 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.page-hero-h1 .ms-icon { font-size: 1.1em; vertical-align: -0.15em; }

html {
  font-size: 88%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  padding-top: 60px;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* overflow-y: visible - sayfa scroll için gerekli (default) */
}

/* ===== PAGE LAYOUT: Left Sidebar | Main | Right Sidebar ===== */
.page-layout {
  display: flex;
  flex: 0 0 auto; /* Viewport'a sıkışmasın - içerik kadar yükseklik, sayfa ile scroll */
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.sidebar-left {
  width: var(--sidebar-width);
  flex-shrink: 0;
  align-self: flex-start; /* Stretch yerine kendi yüksekliği - sayfa ile birlikte kayar */
  border-right: 1px solid var(--border-color);
  padding: 8px 0 20px;
  background: #0f1115;
  overflow-x: visible;
  position: static !important;
}

.sidebar-right {
  width: var(--sidebar-right-width);
  flex-shrink: 0;
  border-left: 1px solid var(--border-color);
  padding: 8px 0 20px;
  position: static;
  align-self: flex-start;
  height: fit-content;
  overflow: visible;
}

.main-content {
  flex: 1;
  min-width: 0;
  padding: 8px 20px 20px;
  background-color: var(--bg-secondary);
}

@media (max-width: 1024px) {
  .sidebar-left { display: none; }
  .sidebar-right { display: none; }
  .main-content { padding: 0 16px; }
}

.sidebar-leagues-list {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4px;
}

.sidebar-league-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.2s;
}

.sidebar-league-item:hover {
  color: var(--accent-green);
}

.sidebar-league-item.active {
  color: var(--accent-green);
  font-weight: 600;
}

.sidebar-league-flag {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}

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

.sidebar-block {
  padding: 0 16px 20px;
}

.sidebar-block:last-child {
  padding-bottom: 0;
}

/* Sağ sidebar - Takım arama */
.sidebar-block-search {
  padding-bottom: 16px;
}

/* Sağ sidebar - Uygulama reklamı (Uzman Yorumları üstü) */
.sidebar-block-app-ad {
  padding-bottom: 16px;
}
.sidebar-app-ad-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s;
}
.sidebar-app-ad-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.sidebar-app-ad-link img {
  display: block;
  width: 280px;
  height: 280px;
  object-fit: cover;
  max-width: 100%;
}

/* Sağ sidebar - Uzman Yorumları */
.sidebar-block-commentary .sidebar-title {
  margin-bottom: 10px;
}
.sidebar-commentary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-commentary-item {
  display: block;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
  cursor: pointer;
}
.sidebar-commentary-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(22, 163, 74, 0.2);
}
.sidebar-commentary-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sidebar-commentary-team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.sidebar-commentary-team:last-of-type {
  flex: 1;
  justify-content: flex-end;
}
.sidebar-commentary-team-away {
  flex-direction: row;
}
.sidebar-commentary-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.sidebar-commentary-logo-ph {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.sidebar-commentary-name {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-commentary-vs {
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.match-search-sidebar {
  width: 100%;
  margin-top: 8px;
}

/* Sol sidebar - Bugünün maçları kartları */
.sidebar-matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
}

.sidebar-match-card:hover,
.sidebar-match-card.active {
  background: var(--bg-card-hover);
  border-color: rgba(22, 163, 74, 0.2);
}

.sidebar-match-card.active {
  border-color: var(--accent-green);
  background: rgba(22, 163, 74, 0.06);
}

.sidebar-match-team {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.sidebar-match-team-away {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.sidebar-match-name {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.sidebar-match-logo-ph {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: var(--bg-card-hover);
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 0 6px;
}

.sidebar-match-time {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-match-date {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.sidebar-matches-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 16px 0;
  text-align: center;
}

/* ===== BUGÜNÜN MAÇLARI - Yeni tasarım (resimdeki gibi) ===== */
.today-matches-section {
  margin-bottom: 20px;
}

.today-matches-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 8px;
}

.today-nav-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: all 0.2s;
}

.today-nav-arrow:hover {
  color: var(--accent-green);
  background: rgba(22, 163, 74, 0.08);
}

.today-matches-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.today-matches-title i {
  color: var(--accent-green);
}

.today-matches-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.today-match-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
}

.today-match-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(22, 163, 74, 0.2);
}

.today-match-logos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.today-match-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.today-match-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.today-match-logo-wrap span {
  font-size: 1rem;
}

.today-match-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.today-match-teams {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.today-match-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.today-match-right {
  flex-shrink: 0;
}

.today-match-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.today-match-bell {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #e8797a;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s;
}

.today-match-bell:hover {
  background: rgba(232, 121, 122, 0.1);
}

.today-matches-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 24px;
  text-align: center;
}

/* Sidebar versiyonu - daha kompakt */
.today-matches-sidebar {
  gap: 8px;
}

.today-match-card-sidebar {
  padding: 10px 12px;
  gap: 10px;
}

.today-match-card-sidebar.active {
  border-color: var(--accent-green);
  background: rgba(22, 163, 74, 0.06);
}

.today-match-card-sidebar .today-match-logo-wrap {
  width: 32px;
  height: 32px;
}

.today-match-card-sidebar .today-match-teams {
  font-size: 0.82rem;
}

.today-match-card-sidebar .today-match-detail {
  font-size: 0.7rem;
}

.today-match-card-sidebar .today-match-score {
  font-size: 0.95rem;
}

/* Sol sidebar - font size %15 azaltıldı */
.sidebar-left .sidebar-title {
  font-size: 0.64rem;
}

.sidebar-left .today-match-card-sidebar .today-match-teams {
  font-size: 0.7rem;
}

.sidebar-left .today-match-card-sidebar .today-match-detail {
  font-size: 0.6rem;
}

.sidebar-left .today-match-card-sidebar .today-match-score {
  font-size: 0.81rem;
}

.sidebar-left .today-matches-empty {
  font-size: 0.77rem;
}

.sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-title i {
  color: var(--accent-green);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(22, 163, 74, 0.08);
  color: var(--accent-green);
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  color: var(--accent-green);
}

.sidebar-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: background 0.2s;
}

.sidebar-list-item:hover {
  background: var(--bg-card-hover);
}

.sidebar-list-item a {
  color: inherit;
  text-decoration: none;
}

.sidebar-vip-cta {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin: 0 16px 16px;
}

.sidebar-vip-cta .sidebar-title {
  color: var(--accent-green);
  margin-bottom: 8px;
}

.sidebar-vip-cta p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sidebar-vip-cta .btn {
  display: block;
  text-align: center;
  background: var(--accent-green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sidebar-vip-cta .btn:hover {
  background: var(--accent-green-hover);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #333333;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 0 20px;
  overflow: visible;
}

.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
  padding: 0 20px; /* page-layout ile hizalı - logo sol sidebar üzerinde */
}

.navbar-logo-wrap {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.navbar-menu-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}

.navbar-menu-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.navbar-menu-item.active {
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.navbar-item-dot, .navbar-item-icon {
  vertical-align: middle;
  margin-right: 4px;
}
.navbar-item-dot.live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.navbar-item-icon { font-size: 1.1em; }
.dropdown-chevron {
  font-size: 1.2em !important;
  margin-left: 2px;
  transition: transform 0.2s;
}

/* Navbar dropdown */
.navbar-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.navbar-dropdown-trigger {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}
.navbar-dropdown-trigger:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.navbar-dropdown-wrap.open .navbar-dropdown-trigger {
  color: #fff;
  background: rgba(255,255,255,0.2);
}
.navbar-dropdown-wrap.open .dropdown-chevron {
  transform: rotate(180deg);
}
.navbar-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  min-width: 180px;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  padding: 8px 0;
  padding-top: 4px;
  margin-top: -4px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}
.navbar-dropdown-wrap:hover .navbar-dropdown,
.navbar-dropdown-wrap.open .navbar-dropdown,
.navbar-dropdown-wrap:focus-within .navbar-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.navbar-dropdown-item {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.navbar-dropdown-item:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

@media (max-width: 900px) {
  .navbar-menu { display: flex; }
}

.logo {
  display: flex;
  align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo-text {
  display: flex;
  align-items: center;
}

.logo-mac {
  color: #ffffff;
}

.logo-sonucu {
  color: #22c55e;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  position: relative;
}

.btn-login,
.btn-register,
.btn-membership,
.btn-tracked-list {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.2s;
}

.btn-login {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.btn-login:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

.btn-login-avatar {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.btn-login-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-register {
  background: rgba(255,255,255,0.95);
  color: #4a5568;
}

.btn-register:hover {
  background: #fff;
  color: #2d3748;
}

.btn-membership {
  background: rgba(255,255,255,0.95);
  color: #4a5568;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-membership:hover {
  background: #fff;
  color: #2d3748;
}

/* Header Takip Listesi butonu */
.header-tracked-wrap {
  position: relative;
}

.btn-tracked-list {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-tracked-list:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.btn-tracked-list i {
  color: var(--accent-yellow);
}

/* Header Takip Listesi dropdown */
.header-tracked-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  z-index: 200;
  display: none;
  min-width: 280px;
}

.header-tracked-dropdown.open {
  display: block;
}

.header-tracked-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.header-tracked-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-tracked-row {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px 8px 6px 20px;
  background: var(--bg-primary);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.header-tracked-num {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 3px;
}

.header-tracked-match {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.header-tracked-match:hover {
  color: var(--accent-green);
}

.header-tracked-logo {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.header-tracked-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-tracked-team {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.header-tracked-score {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-left: 2px;
}

.header-tracked-remove {
  background: none;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  opacity: 0.7;
  font-size: 0.6rem;
}

.header-tracked-remove:hover {
  opacity: 1;
}

.header-tracked-empty {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  padding: 16px;
  text-align: center;
  background: var(--bg-primary);
}

.header-tracked-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  background: #fff;
}

.header-tracked-btn-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-yellow);
  color: var(--accent-black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.header-tracked-btn-clear:hover {
  opacity: 0.9;
}

.header-tracked-notify-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.header-tracked-btn-notify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.header-tracked-btn-notify:hover {
  opacity: 0.9;
}

.theme-toggle {
  display: none !important;
}

.btn-telegram-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2AABEE;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-telegram-nav:hover {
  background: #229ED9;
  transform: translateY(-1px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 20px 20px 40px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(1.3rem, 5.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero h1 .highlight {
  background: var(--vip-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vip-gradient);
  color: #000;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  max-width: 1160px;
  margin: 0 auto;
  height: 1px;
  background: var(--border-color);
  margin-left: 20px;
  margin-right: 20px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 28px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-green);
}

.section-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.section-title .ms-icon {
  color: var(--accent-green);
  font-size: 22px;
  flex-shrink: 0;
}

.section-link {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.section-link:hover {
  gap: 8px;
  color: var(--accent-green-hover);
}

/* ===== SPORTS FILTER ===== */
.sports-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 20px;
  max-width: 1240px;
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sports-filter::-webkit-scrollbar {
  display: none;
}

.sport-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--glass);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sport-chip:hover,
.sport-chip.active {
  background: rgba(22, 163, 74, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.sport-chip i {
  font-size: 0.9rem;
}

/* ===== TIP CARDS ===== */
.tips-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 5px 10px 5px 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tip-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(22, 163, 74, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

a.tip-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.tip-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tip-league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tip-league img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.tip-sport-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tip-sport-badge.football { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.tip-sport-badge.basketball { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.tip-sport-badge.tennis { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.tip-sport-badge.baseball { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.tip-sport-badge.hockey { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.tip-sport-badge.mma { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.tip-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.tip-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.team-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.team-name {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tip-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tip-vs-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tip-countdown {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(245, 183, 49, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.tip-countdown.live {
  color: var(--accent-red);
  background: rgba(239, 68, 68, 0.1);
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.tip-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 8px;
}

.tip-prediction {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tip-prediction-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tip-prediction-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.tip-odds {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tip-odds-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tip-odds-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tip-confidence {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.tip-confidence-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.confidence-stars {
  display: flex;
  gap: 2px;
}

.confidence-stars .ms-icon,
.confidence-stars .material-symbols-outlined {
  font-size: 0.75rem;
}

.confidence-stars .star-filled {
  color: var(--accent-gold);
}

.confidence-stars .star-empty {
  color: var(--text-muted);
}

/* VIP Card Lock Overlay */
.tip-card.vip-locked {
  position: relative;
}

.tip-card.vip-locked .tip-match,
.tip-card.vip-locked .tip-details {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.vip-lock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vip-lock-icon {
  width: 48px;
  height: 48px;
  background: var(--vip-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  box-shadow: 0 4px 20px rgba(245, 183, 49, 0.3);
}

.vip-lock-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.vip-lock-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  background: var(--vip-gradient);
  padding: 6px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vip-lock-btn:hover {
  transform: scale(1.05);
}

/* ===== SPORTS CATEGORIES ===== */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sport-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sport-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Futbol dışı sporlar: görünür ama tıklanamaz (pasif) */
.sport-card-passive {
  pointer-events: none;
  cursor: default;
  opacity: 0.65;
}
.sport-card-passive:hover {
  transform: none;
  border-color: var(--border-color);
}

.sport-card-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.sport-card-name {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.sport-card-count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== VIP SECTION ===== */
.vip-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 20px;
  text-align: center;
}

.vip-section .section {
  padding: 0;
}

.vip-title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.vip-title .highlight {
  background: var(--vip-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vip-subtitle {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-bottom: 28px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(245, 183, 49, 0.05) 0%, var(--bg-card) 50%);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vip-gradient);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: var(--accent-green);
  font-size: 0.8rem;
  width: 18px;
  text-align: center;
}

.pricing-features li .ms-icon {
  color: var(--text-muted);
}

.pricing-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-btn.primary {
  background: var(--vip-gradient);
  color: #000;
}

.pricing-btn.primary:hover {
  box-shadow: 0 8px 24px rgba(245, 183, 49, 0.3);
  transform: translateY(-2px);
}

.pricing-btn.outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.pricing-btn.outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ===== STATS SECTION ===== */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 900;
}

.stat-value.green { color: var(--accent-green); }
.stat-value.gold { color: var(--accent-gold); }
.stat-value.blue { color: var(--accent-blue); }
.stat-value.red { color: var(--accent-red); }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.win-rate-bar {
  margin-top: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
}

.win-rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.win-rate-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.win-rate-percent {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-green);
}

.progress-bar {
  height: 10px;
  background: var(--bg-primary);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), #16a34a);
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* ===== FAQ SECTION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(245, 183, 49, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-question i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 18px 16px;
}

.faq-answer p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TELEGRAM CTA ===== */
.telegram-cta {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  margin: 0 20px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.telegram-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.telegram-cta h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.telegram-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.btn-telegram-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #2AABEE;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-telegram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== SITE FOOTER - Tüm sayfalarda görünür, en alta sabit ===== */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 28px 24px 20px;
  background: var(--bg-secondary, #1a1a1a);
  border-top: 1px solid var(--border-color, rgba(255,255,255,0.08));
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.site-footer-links-main a,
.site-footer-links-legal a {
  font-size: 0.9rem;
  color: var(--text-secondary, #aaa);
  text-decoration: none;
}
.site-footer-links a:hover {
  color: var(--accent-gold, #f5b731);
}
.site-footer-mobile-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--glass, rgba(255,255,255,0.05));
  border-radius: 10px;
  border: 1px solid var(--border-color, rgba(255,255,255,0.08));
}
.site-footer-mobile-cta .ms-icon {
  font-size: 24px;
  color: var(--accent-gold, #f5b731);
  flex-shrink: 0;
}
.site-footer-pwa-link {
  flex: 1;
  min-width: 0;
  display: inline;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary, #aaa);
  line-height: 1.4;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer-pwa-link:hover {
  color: var(--accent-gold, #f5b731);
  text-decoration: underline;
}
.site-footer-pwa-hint {
  flex: 0 0 100%;
  margin: 6px 0 0 0 !important;
  font-size: 0.8rem !important;
  color: var(--text-muted, #888) !important;
}
.site-footer-bottom {
  padding-top: 12px;
  border-top: 1px solid var(--border-color, rgba(255,255,255,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer-sep {
  color: var(--text-muted, #888);
  font-weight: 300;
}
.site-footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted, #888);
}
.site-footer-trust {
  font-size: 0.75rem;
  color: var(--text-muted, #777);
  margin-left: 0.5rem;
}
.site-footer-contact-link {
  font-size: 0.85rem;
  color: var(--text-secondary, #aaa);
  text-decoration: none;
}
.site-footer-contact-link:hover {
  color: var(--accent-gold, #f5b731);
}
.site-footer-links.site-footer-links-main {
  flex: 1;
  min-width: 200px;
}
.site-footer-links.site-footer-links-legal {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .site-footer-top {
    flex-direction: column;
    gap: 16px;
  }
  .site-footer-mobile-cta {
    flex-direction: column;
    text-align: center;
  }
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.theme-toggle-btn:hover {
  color: var(--accent-gold, #f5b731);
  background: var(--glass);
  border-color: var(--accent-gold, rgba(245, 183, 49, 0.3));
}
.theme-toggle-btn .ms-icon {
  font-size: 20px;
}
.theme-toggle-btn .theme-icon-light,
.theme-toggle-btn .theme-icon-dark {
  display: none;
}

/* ===== FOOTER BAR - Kuponum tarzı kart ===== */
.footer-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 150;
  padding: 12px 20px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  transition: padding 0.3s ease;
  display: flex;
  justify-content: flex-end;
}
.footer-bar.collapsed .footer-bar-card-body,
.footer-bar.collapsed .footer-bar-card-actions {
  display: none;
}
.footer-bar.collapsed .footer-bar-card {
  padding: 8px 16px;
}
.footer-bar-card {
  max-width: 250px;
  min-width: 200px;
  margin: 0;
  margin-left: auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  overflow: visible;
}
.footer-bar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--accent-black);
  color: #fff;
}
.footer-bar-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bar-card-title i {
  color: var(--accent-yellow);
}
.footer-bar-card-count {
  background: var(--accent-yellow);
  color: var(--accent-black);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 4px;
}
.footer-bar-card-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-bar-card-close:hover {
  background: rgba(255,255,255,0.25);
}
.footer-bar-card-body {
  padding: 4px 8px 4px 14px;
  overflow: visible;
}
.footer-bar-card-body.scrollable {
  max-height: 180px;
  overflow-y: auto;
}
.footer-tracked-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}
.footer-tracked-row {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 18px;
  background: var(--bg-primary);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
.footer-tracked-num {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 3px;
}
.footer-tracked-match {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.footer-tracked-match:hover {
  color: var(--accent-green);
}
.footer-tracked-logo {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.footer-tracked-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-tracked-logo span {
  font-size: 0.65rem;
}
.footer-tracked-team {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.footer-tracked-score {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-left: 2px;
}
.footer-tracked-remove {
  background: none;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  opacity: 0.7;
  font-size: 0.6rem;
}
.footer-tracked-remove:hover {
  opacity: 1;
}
.footer-tracked-empty {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  padding: 12px;
  text-align: center;
  background: var(--bg-primary);
  border-radius: 8px;
}
.footer-bar-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  background: #fff;
  flex-shrink: 0;
}
.footer-bar-btn-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-yellow);
  color: var(--accent-black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.footer-bar-btn-clear:hover {
  opacity: 0.9;
}
.footer-bar-notify-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}
.footer-bar-btn-notify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.footer-bar-btn-notify:hover {
  opacity: 0.9;
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bottom-nav-bg);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-nav-inner {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
[data-tg="1"] .bottom-nav-inner {
  max-width: none;
  justify-content: space-around;
}
[data-tg="1"] .nav-item {
  flex: 1;
}
[data-tg="1"] .match-filter-bar {
  max-width: 100%;
  padding: 12px 16px;
}
[data-tg="1"] .nav-item i {
  font-size: 1.4rem;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
  background: none;
  border: none;
  font-family: inherit;
  flex: 1;
  min-width: 0;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent-green);
}

.nav-item.active {
  background: rgba(22, 163, 74, 0.1);
}

.nav-item i {
  font-size: 1.15rem;
}

.nav-item span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 1.3rem;
  }

  .sports-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sports-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .sport-card {
    padding: 14px 8px;
  }

  .sport-card-icon {
    font-size: 1.4rem;
  }

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

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px 20px 40px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.modal-content.modal-content-vip {
  max-height: 85vh;
  overflow-y: auto;
}

.modal-content.modal-content-standings {
  max-width: 900px;
  max-height: 90vh;
}

.standings-splash-body {
  min-height: 120px;
}

.standings-splash-loading,
.standings-splash-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.spin-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.standings-splash-content .lig-standings-title {
  margin-top: 0;
}

.standings-filter-bar .standings-splash-link {
  margin-left: auto;
  font-size: 0.85rem;
  color: #22c55e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.standings-filter-bar .standings-splash-link:hover {
  color: #4ade80;
  text-decoration: underline;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 0.95rem;
  font-weight: 800;
}

.modal-title i {
  color: var(--accent-gold);
  margin-right: 8px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--glass);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.modal-content .sports-grid {
  grid-template-columns: repeat(4, 1fr);
}

.modal-content .sport-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 480px) {
  .modal-content .sports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* VIP Modal */
.modal-content-vip {
  text-align: center;
}

.vip-modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-cards-modal {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pricing-cards-modal .pricing-card {
  text-align: left;
}


.pricing-desc-single {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.pricing-card.current-plan {
  padding: 10px 24px;
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.pricing-current-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-muted);
  color: var(--bg-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ===== STATUS FILTER TABS ===== */
.status-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 20px 0;
  max-width: 1240px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.status-tabs::-webkit-scrollbar {
  display: none;
}

.status-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-tab:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.status-tab.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}

.tab-count {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  padding: 1px 6px;
  border-radius: 50px;
  line-height: 1.4;
}

.status-tab.active .tab-count {
  background: rgba(255,255,255,0.3);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.hero-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 600px) {
  .hero-banner img { height: 150px; }
}

/* ===== MATCH FILTER BAR ===== */
.match-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.match-filter-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-filter-btn {
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.match-filter-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0,0,0,0.15);
  color: var(--text-primary);
}

.match-filter-btn.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}

.match-filter-count {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.9;
}

.match-filter-text-short {
  display: none;
}
@media (max-width: 720px) {
  .match-filter-text-full {
    display: none;
  }
  .match-filter-text-short {
    display: inline;
  }
  .match-filter-date-day {
    display: none;
  }
}

.match-filter-date-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.match-filter-date {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.match-filter-date-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.match-filter-date-arrow:not(.disabled) {
  cursor: pointer;
}

.match-filter-date-arrow:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.match-filter-date-arrow.disabled {
  cursor: default;
  opacity: 0.4;
  pointer-events: none;
}

.match-filter-date-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.match-filter-date-inner i {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.match-filter-date-text {
  white-space: nowrap;
}

.match-search-in-filter {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  margin-left: 8px;
}

/* Tarih sağı - Alt Ligleri / Maç Detayları toggle'ları */
.match-filter-toggles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
}
.match-filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  user-select: none;
}
.match-filter-toggle:hover {
  color: var(--text-primary);
}
.match-filter-toggle.selected {
  color: var(--accent-green);
}
.match-filter-toggle .match-filter-toggle-icon {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--text-muted);
}
.match-filter-toggle.selected .match-filter-toggle-icon {
  color: var(--accent-green);
}

/* Maç Detaylarını Göster kapalıyken: sakat, kart, gol ikonlarını gizle */
body.hide-match-details .match-detail-element {
  display: none !important;
}

/* ===== LIVESCORE LAYOUT ===== */
.livescore {
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Lig sayfası için ayrı tablolar (league-group) */
.league-group {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.league-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f5f5f075;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.league-header:hover {
  background: var(--bg-card-hover);
}

.league-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.league-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.league-header-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.league-header-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.league-header-country {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.league-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.league-live-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  background: url(../img/soccer-ball.png) no-repeat center;
  background-size: contain;
  animation: league-live-ball-spin 2s linear infinite;
}

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

.league-tips-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-green, #22c55e);
  background: rgba(34, 197, 94, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.league-standings-link {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  white-space: nowrap;
}

.league-standings-link:hover {
  text-decoration: underline;
}

.league-toggle {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.league-group.collapsed .league-toggle {
  transform: rotate(180deg);
}

.league-group.collapsed .league-matches {
  display: none;
}

.league-matches {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Maç satırı - livescore içinde (index + lig) */
.livescore .match-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "teams center scores";
  align-items: center;
  padding: 10px 16px;
  padding-left: 44px;
  gap: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
  margin-bottom: 0;
}

.livescore .match-row:hover {
  background: var(--bg-card-hover);
}

.match-teams {
  grid-area: teams;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.match-team-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}

.match-team-logo-ph {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.match-team-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-team-name.winner {
  font-weight: 700;
}

.match-team-events {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-left: 6px;
}

.match-event-card,
.match-event-injury {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  white-space: nowrap;
}

.match-event-card i,
.match-event-card img,
.match-event-card svg,
.match-event-card .match-event-card-icon {
  font-size: 0.5rem;
  flex-shrink: 0;
}

.match-event-card img,
.match-event-card .match-event-card-icon {
  width: 8px;
  height: 8px;
  object-fit: contain;
}

.match-event-card.match-event-yellow i,
.match-event-card.match-event-yellow svg,
.match-event-card.match-event-yellow .match-event-card-icon {
  color: #eab308;
  fill: #eab308;
}

.match-event-card.match-event-red i,
.match-event-card.match-event-red svg,
.match-event-card.match-event-red .match-event-card-icon {
  color: #ef4444;
  fill: #ef4444;
}

.match-event-injury i {
  color: #f59e0b;
  font-size: 0.55rem;
}

.match-event-player {
  color: var(--text-muted);
  font-size: 0.6rem;
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-injury-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  cursor: help;
}

.match-injury-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.match-injury-count {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Sakat oyuncu tooltip - hover'da oyuncu listesi */
.match-injury-badge-wrap {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.match-injury-badge-wrap:hover .match-injury-tooltip {
  opacity: 1;
  visibility: visible;
}
.match-injury-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  min-width: 200px;
  max-width: 280px;
  max-height: 70vh;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  text-align: left;
  overflow-y: auto;
}
.match-injury-badge-wrap:hover .match-injury-tooltip {
  visibility: visible;
  opacity: 1;
}
.match-injury-tooltip::after {
  display: none;
}
.match-injury-tooltip-title {
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2px;
}
.match-injury-tooltip-team {
  font-weight: 600;
  color: var(--accent-green);
  font-size: 0.7rem;
  margin-top: 4px;
}
.match-injury-tooltip-team:first-of-type {
  margin-top: 0;
}
.match-injury-tooltip-player {
  color: var(--text-secondary);
  padding-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-event-goal {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  white-space: nowrap;
}

.match-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  white-space: nowrap;
}

.match-event-badge.match-event-yellow i {
  color: #eab308;
}

.match-event-badge.match-event-red img {
  width: 8px;
  height: 8px;
  object-fit: contain;
}

.match-event-count {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
}

.match-event-goal-icon {
  font-size: 0.65rem;
  line-height: 1;
  flex-shrink: 0;
}

.match-center {
  grid-area: center;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 56px;
  flex-shrink: 0;
}

.match-detail-icons {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.match-row:hover .match-detail-icons {
  opacity: 1;
  pointer-events: auto;
}

/* Hover: takım logoları, isimleri, skor, dakika ve iconlar aktif */
.match-row .match-team-events,
.match-row .match-stats-badges,
.match-row .match-tips-correct,
.match-row .match-star-track-btn {
  transition: opacity 0.2s ease;
}

.match-row:hover .match-team-events,
.match-row:hover .match-stats-badges,
.match-row:hover .match-tips-correct,
.match-row:hover .match-star-track-btn {
  opacity: 0.25;
}

.match-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.match-detail-icon:hover {
  color: var(--accent-primary);
  background: rgba(22, 163, 74, 0.1);
}

.match-detail-icon .ms-icon,
.match-detail-icon i {
  font-size: 16px !important;
}

/* Font Awesome fallback (Material Symbols yüklenmezse) */
/* Inline SVG ikonlar - font bağımlılığı yok */
.match-injury-icon,
.match-detail-icon svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.match-detail-icon svg {
  width: 16px;
  height: 16px;
}

/* Material Symbols - genel icon stilleri */
.material-symbols-outlined.ms-icon {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  line-height: 1;
  vertical-align: middle;
  transition: filter 0.2s ease, color 0.2s ease;
}

.match-star-track-btn .ms-track {
  font-size: 24px;
  filter: grayscale(1) opacity(0.6);
  color: var(--text-muted);
}

.match-star-track-btn.tracked .ms-track {
  filter: none;
  color: var(--accent-gold);
}

.btn-tracked-list .ms-track {
  font-size: 22px;
  margin-right: 6px;
  color: var(--accent-gold);
}

.match-star-track-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.match-star-track-btn:hover {
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
}

.match-star-track-btn.tracked {
  color: var(--accent-gold);
}

.match-status-text {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

.match-status-text.live {
  color: var(--accent-red);
  animation: pulse-live 1.5s ease-in-out infinite;
}

.match-status-text.ht {
  color: var(--accent-gold);
}

.match-status-text.ft {
  color: var(--text-muted);
}

.match-status-text.ns {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.match-scores {
  grid-area: scores;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 24px;
  flex-shrink: 0;
}

.match-scores-nums {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.match-score-sep {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
  flex-shrink: 0;
}

.match-tips-correct {
  color: var(--accent-green);
  font-size: 1rem;
  flex-shrink: 0;
}

.match-score {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1;
  min-width: 18px;
}

.match-score.muted {
  color: var(--text-muted);
}

.match-tips-count {
  font-size: 0.6rem;
  color: var(--accent-primary);
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
  min-width: 28px;
}

.match-tips-count span {
  display: block;
  font-size: 0.72rem;
}

.match-stats-badges {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.match-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: help;
}

.livescore-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.livescore-empty i {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  color: var(--text-muted);
}

.livescore-empty p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== INSIGHT BUTTONS ===== */
.insight-buttons {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insight-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
}

.insight-btn:hover {
  background: var(--hover-bg);
  border-color: var(--accent-primary);
}

.insight-btn > i:first-child {
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}

.injury-btn > i:first-child { color: #f59e0b; }
.suspended-btn > i:first-child { color: #ef4444; }

.insight-btn > span {
  font-size: 0.78rem;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insight-btn-count {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent-primary);
  color: #fff;
  min-width: 22px;
  height: 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.insight-btn-arrow {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ===== INDEX QUICK LINKS (SEO internal links) ===== */
.index-quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px 12px;
  font-size: 0.85rem;
}
.index-quick-links a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}
.index-quick-links a:hover {
  text-decoration: underline;
}

/* ===== INSIGHT PAGES (sakat-oyuncular.php, cezali-oyuncular.php) ===== */
.page-back-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
}

.insight-count-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent-primary);
  color: #fff;
  min-width: 24px;
  height: 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.insight-page-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.insight-team-group {
  background: var(--glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.insight-team-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--hover-bg);
  border-bottom: 1px solid var(--border-color);
}

.insight-team-header-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
}

.insight-team-header-info {
  flex: 1;
  min-width: 0;
}

.insight-team-header-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.insight-team-header-league {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.insight-team-header-count {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent-primary);
  color: #fff;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-page-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  gap: 8px;
}

.insight-page-row:first-child {
  border-top: none;
}

.insight-page-row:hover {
  background: var(--hover-bg);
}

.insight-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.insight-row-chevron {
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* Shared insight styles */
.insight-row-player {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.insight-player-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.insight-player-ph {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hover-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.insight-player-ph.red-card-ph {
  color: #ef4444;
}

.insight-player-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.insight-player-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insight-player-team {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insight-team-logo {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  object-fit: contain;
}

.insight-injury-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.insight-injury-badge.injury {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.insight-injury-badge.suspended {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.insight-injury-badge.red-card {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* Sakat/Cezalı Oyuncular Splash Modal (ana sayfa + alt sayfalar) */
.insight-splash-overlay {
  align-items: center;
  padding: 20px;
}

.insight-splash-overlay .insight-splash-content {
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.insight-splash-header .modal-title .ms-icon {
  margin-right: 6px;
}

.insight-splash-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.insight-splash-players {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.insight-splash-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-splash-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.insight-splash-photo-ph {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-splash-photo-ph .ms-icon {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.4);
}

.insight-splash-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

/* Takım bazlı insight listesi (takım adı + sayı, tıklanınca splash) */
.insight-team-row-clickable {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-color);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: inherit;
  transition: background 0.2s;
}

.insight-team-row-clickable:first-child {
  border-top: none;
}

.insight-team-row-clickable:hover {
  background: var(--hover-bg);
}

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

.insight-team-row-count {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9em;
}

.livescore-date-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px 4px;
  max-width: 1200px;
  margin: 0 auto;
}

.livescore-date-nav button {
  background: var(--glass);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.livescore-date-nav button:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.livescore-date-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 120px;
  text-align: center;
}

.match-count-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(245, 183, 49, 0.1);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: 50px;
}

/* ========== TELEGRAM GATE ========== */
.tg-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.tg-gate-content {
  max-width: 320px;
}
.tg-gate-icon {
  font-size: 3.5rem;
  color: #29b6f6;
  margin-bottom: 16px;
}
.tg-gate-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.tg-gate-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}
.tg-gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #29b6f6;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.tg-gate-btn:hover {
  opacity: 0.85;
}

/* ========== MATCH SEARCH ========== */
.section-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-header-with-search .section-header-right {
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.match-search-inline {
  max-width: 220px;
  min-width: 140px;
}
.match-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color 0.2s;
}
.match-search-input-wrap:focus-within {
  border-color: var(--accent-primary);
}
.match-search-input-wrap > i {
  color: var(--text-secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.match-search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  min-width: 0;
}
.match-search-input-wrap input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
.match-search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 2px;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.match-search-no-result {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: none;
}
.match-search-no-result i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
  opacity: 0.5;
}

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

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}

/* Views Counter */
.views-counter {
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--card-border);
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
}
.views-counter i {
  margin-right: 4px;
}
.views-counter.low {
  color: #f44336;
  background: rgba(244, 67, 54, 0.08);
}
.views-counter.vip,
.views-counter.vip-active {
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.08);
}

/* Match card CTA (no prediction shown) */
.tip-details-minimal {
  padding: 10px 16px !important;
  border-top: 1px solid var(--card-border);
}
.tip-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
}
.tip-cta .ms-icon {
  font-size: 0.7rem;
}

/* Telegram Sign-In */
.vip-divider {
  height: 1px;
  background: var(--card-border);
  margin: 20px 0;
}
.telegram-signin-section {
  text-align: center;
  padding: 0 0 8px;
}
.signin-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.telegram-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: #0088cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.telegram-open-btn:hover {
  background: #006daa;
}
.telegram-open-btn i {
  font-size: 1.1rem;
}
.vip-active-btn {
  background: var(--accent-gold) !important;
  color: #000 !important;
  border-color: var(--accent-gold) !important;
}

/* User Menu */
.user-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
}
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
}
.user-menu-btn i {
  font-size: 1.4rem;
  color: var(--text-primary);
}
.user-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
}
.user-dropdown {
  display: none;
  position: absolute;
  top: 52px;
  right: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 1000;
}
.user-dropdown.active {
  display: block;
}
.user-dropdown-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.user-dropdown-email {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.user-dropdown-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
}
.user-dropdown-header strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}
.user-dropdown-header span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.vip-badge-small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-gold) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
}
.user-dropdown-divider {
  height: 1px;
  background: var(--card-border);
  margin: 6px 0;
}
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 4px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  text-align: left;
}
.user-dropdown-item:hover {
  background: var(--bg-secondary);
}
a.user-dropdown-item.user-dropdown-link {
  text-decoration: none;
  box-sizing: border-box;
}

/* ========== STANDINGS TABLE (Lig sayfaları) ========== */
.lig-standings-section {
  margin-top: 25px;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.standings-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #1e293b;
  border-radius: 10px;
}

.standings-filter-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.standings-filter-bar .standings-filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.standings-filter-bar .standings-filter-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.standings-tables-wrap {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.standings-table-panel {
  display: none;
}

.standings-table-panel.active {
  display: block;
}

.lig-standings-section .standings-table-wrap {
  width: 100%;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.lig-standings-section .lig-standings-title {
  align-self: center;
}

/* Zebra: beyaz / açık gri satırlar */
.lig-standings-section .standings-table tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.lig-standings-section .standings-table tbody tr:nth-child(even) td {
  background: #f0f0f0;
}

/* Hover efekti */
.lig-standings-section .standings-table tbody tr {
  cursor: default;
  transition: background 0.15s ease;
}

.lig-standings-section .standings-table tbody tr:hover td {
  background: #e8f4fc !important;
}

.lig-standings-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lig-standings-title i {
  color: var(--accent-gold);
}

.section-standings .section-header {
  margin-bottom: 0;
}

.standings-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 16px 0 8px;
  padding-left: 4px;
}
.standings-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  white-space: nowrap;
}
.standings-table thead {
  background: var(--bg-secondary);
}
.standings-table th {
  padding: 8px 6px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--card-border);
}
.standings-table th.st-team {
  text-align: left;
  padding-left: 10px;
}
.standings-table td {
  padding: 7px 6px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-primary);
}
.standings-table td.st-team {
  text-align: left;
  padding-left: 10px;
  vertical-align: middle;
}
.standings-table td.st-rank {
  font-weight: 600;
  color: var(--text-secondary);
  width: 28px;
}
.standings-table td.st-pts {
  font-weight: 700;
  color: var(--accent-primary);
}
.st-team-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}
.st-team-name {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  vertical-align: middle;
}
.standings-row:last-child td {
  border-bottom: none;
}
.standings-highlight td {
  background: #ffffb229 !important;
  font-weight: 600;
}
.standings-table tbody tr.standings-highlight + tr.standings-highlight td {
  background: #b2ffc329 !important;
}
.standings-highlight td.st-team-name,
.standings-highlight .st-team-name {
  color: var(--accent-primary);
}

.st-form {
  white-space: nowrap;
}
.st-form .form-dots-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
}
.form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  cursor: default;
  position: relative;
}
.form-w { background: #00a83f; }
.form-d { background: #f3a000; }
.form-l { background: #dc0000; }

@media (max-width: 600px) {
  .st-hide-sm { display: none; }
  .st-team-name { max-width: 100px; }
  .standings-table { font-size: 0.78rem; }
  .form-dot { width: 16px; height: 16px; font-size: 0.6rem; }
}

/* ===== HABERLER SAYFASI ===== */
.haberler-page-header {
  margin-bottom: 24px;
}
.haberler-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.haberler-page-title i {
  color: var(--accent-green);
}
.haberler-page-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.haberler-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.haber-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.haber-card-link-wrap {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.haber-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(22, 163, 74, 0.2);
}
.haber-card-image {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-primary);
}
.haber-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.haber-card-body {
  flex: 1;
  min-width: 0;
  padding: 0 6px 0;
}
.haber-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.haber-card-date {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.haber-card-date i {
  margin-right: 4px;
}

.haber-card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}
.haber-card-link {
  font-size: 0.8rem;
  color: var(--accent-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.haber-card-link:hover {
  text-decoration: underline;
}
.haberler-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.haberler-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.haberler-empty-hint {
  font-size: 0.8rem;
  margin-top: 12px;
  color: var(--text-muted);
}
.haberler-empty-hint code {
  background: var(--bg-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}
@media (max-width: 640px) {
  .haber-card {
    flex-direction: column;
  }
  .haber-card-image {
    width: 100%;
    height: 180px;
  }
}

/* ===== STATİK SAYFALAR (Kullanım Şartları, Gizlilik, Künye vb.) ===== */
.static-page {
  max-width: 720px;
  padding: 0 4px;
}
.static-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.static-page-title .ms-icon {
  color: var(--accent-gold);
}
.static-page-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.static-page-content {
  color: var(--text-secondary);
  line-height: 1.65;
}
.static-page-content section {
  margin-bottom: 24px;
}
.static-page-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.static-page-content p {
  margin: 0 0 12px;
}
.static-page-content ul {
  margin: 0 0 12px;
  padding-left: 1.5em;
}
.static-page-content li {
  margin-bottom: 6px;
}
.static-page-content a {
  color: var(--accent-gold);
  text-decoration: none;
}
.static-page-content a:hover {
  text-decoration: underline;
}
.contact-list {
  list-style: none;
  padding-left: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.contact-list .ms-icon {
  font-size: 20px;
  color: var(--accent-gold);
}

/* Takım sayfası linki - site genelinde takım adları tıklanabilir */
a.team-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a.team-link:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

/* Sayfa breadcrumb (Lig, Haberler, Takım) */
.page-breadcrumb-wrap {
  margin-bottom: 12px;
  padding: 4px 0;
}
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.page-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-breadcrumb-item a {
  color: var(--accent-green);
  text-decoration: none;
}
.page-breadcrumb-item a:hover { text-decoration: underline; }
.page-breadcrumb-sep {
  color: var(--text-muted);
  pointer-events: none;
}

/* FAQ sayfası */
.faq-list { margin-top: 1rem; }
.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}
.faq-answer { margin: 0; color: var(--text-secondary); }
.faq-answer p { margin: 0; }
.static-page-footer-hint { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.static-page-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 10px 20px;
  background: var(--accent-green);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s;
}
.static-page-cta:hover { background: var(--accent-green-hover); color: #fff; }

/* Çerez uyarısı */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.cookie-banner-hidden { transform: translateY(100%); }
.cookie-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.cookie-banner-text a { color: var(--accent-green); text-decoration: none; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-banner-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}
.cookie-banner-link:hover { text-decoration: underline; color: var(--accent-green); }
.cookie-banner-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.cookie-banner-btn-accept {
  background: var(--accent-green);
  color: #fff;
}
.cookie-banner-btn-dismiss {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}
.cookie-banner-btn:hover { opacity: 0.9; }
