@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* SIFIRLAMA VE TEMEL AYARLAR */
* { margin: 0; padding: 0; box-sizing: border-box; list-style: none; text-decoration: none; }
body { font-family: 'Poppins', sans-serif; background-color: #0f1522; color: #e2e8f0; display: flex; height: 100vh; overflow: hidden; }

/* RENK PALETİ */
.color-cyan { color: #00e5ff !important; }
.color-purple { color: #a855f7 !important; }
.color-orange { color: #f59e0b !important; }
.color-pink { color: #ec4899 !important; }
.color-teal { color: #14b8a6 !important; }
.color-yellow { color: #facc15 !important; }
.text-muted { color: #64748b !important; }

/* ANA YAPI */
.dashboard-container { display: flex; width: 100%; height: 100%; }
.main-content { flex-grow: 1; display: flex; flex-direction: column; overflow-y: auto; background-color: #151c2c; position: relative; }
.content-body { padding: 0 30px 30px 30px; }

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0f1522; }
::-webkit-scrollbar-thumb { background: #232b3e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* SOL MENÜ (SIDEBAR) - PREMIUM DIAMOND DÜZENİ */
.sidebar { width: 260px; background-color: #151c2c; border-right: 1px solid #232b3e; display: flex; flex-direction: column; flex-shrink: 0; z-index: 100; transition: all 0.3s ease; }
.brand { display: flex; justify-content: center; align-items: center; padding: 25px 0; border-bottom: 1px solid #232b3e; }
.neon-text { color: #00f3ff; text-shadow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3); font-size: 24px; font-weight: 800; margin: 0; }

.nav-menu { margin-top: 20px; list-style: none; padding: 0; display: flex; flex-direction: column; }
.nav-item { padding: 15px 25px; color: #94a3b8; font-size: 14px; font-weight: 500; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 15px; border-right: 3px solid transparent; }
.nav-item:hover { background: rgba(255, 255, 255, 0.03) !important; color: #fff !important; }
.nav-item.active { color: #fff; background: rgba(0, 243, 255, 0.05); border-right: 3px solid #00f3ff; }
.nav-icon { font-size: 18px; display: inline-block; width: 24px; text-align: center; }

/* ÜST BAR (TOPBAR) */
.topbar-modern { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; border-bottom: 1px solid #232b3e; margin-bottom: 15px; background: #151c2c; }
.search-bar { position: relative; width: 400px; }
.search-bar i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #64748b; }
.search-bar input { width: 100%; background: #1a2235; border: 1px solid #232b3e; padding: 8px 10px 8px 40px; border-radius: 20px; color: white; outline: none; font-family: 'Poppins'; font-size: 12px; transition: 0.3s;}
.search-bar input:focus { border-color: #00e5ff; }
.user-actions { display: flex; align-items: center; gap: 20px; }
.notification { position: relative; font-size: 16px; color: #94a3b8; cursor: pointer; }
.badge { position: absolute; top: -2px; right: -2px; width: 7px; height: 7px; background: #ef4444; border-radius: 50%; }
.user-profile { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.avatar { width: 30px; height: 30px; background: #3b82f6; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 12px; }
.user-profile .info { display: flex; flex-direction: column; }
.user-profile .name { font-size: 12px; font-weight: 600; color: #fff; }
.user-profile .role { font-size: 9px; color: #94a3b8; }

/* KART YAPILARI */
.header-card { background: linear-gradient(90deg, #1d2c4d, #1a2235); border: 1px solid #2a3b5c; border-radius: 10px; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.header-left { display: flex; align-items: center; gap: 12px; }
.icon-box { width: 35px; height: 35px; background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #00e5ff; font-size: 14px; }
.header-left h2 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.header-left p { font-size: 11px; color: #94a3b8; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.update-text { font-size: 10px; color: #64748b; }
.btn-excel { background: transparent; border: 1px solid #334155; color: #e2e8f0; padding: 6px 15px; border-radius: 5px; font-size: 12px; font-weight: 500; cursor: pointer; transition: 0.3s; display: flex; gap: 6px; align-items: center;}
.btn-excel:hover { background: #1e293b; color: white; }

.diamond-card { background: #1a2235; border: 1px solid #232b3e; border-radius: 10px; padding: 15px; margin-bottom: 15px; }
.card-title { font-size: 10px; font-weight: 600; color: #00e5ff; letter-spacing: 1px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; }

/* FİLTRE IZGARASI */
.filter-grid-modern { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 15px; }
.form-group.double-col { grid-column: span 2; }
.form-group label { display: block; font-size: 9px; font-weight: 600; color: #94a3b8; margin-bottom: 4px; letter-spacing: 0.5px; }
.form-group select, .form-group input { width: 100%; background: #151c2c; border: 1px solid #232b3e; color: #e2e8f0; padding: 6px 10px; border-radius: 6px; font-size: 11px; font-family: 'Poppins'; outline: none; transition: 0.3s; appearance: none; }
.form-group select { cursor: pointer; }
.form-group select:focus, .form-group input:focus { border-color: #475569; }
.input-with-icon { position: relative; }
.input-with-icon input { padding-right: 30px; }
.input-with-icon i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #64748b; font-size: 11px; }
.filter-actions { display: flex; gap: 10px; border-top: 1px solid #232b3e; padding-top: 12px; }
.btn-outline { background: transparent; border: 1px solid #334155; color: #94a3b8; padding: 6px 15px; border-radius: 5px; font-size: 11px; font-weight: 500; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 6px;}
.btn-outline:hover { background: #1e293b; color: white; }
.btn-outline.disabled { opacity: 0.5; cursor: not-allowed; }

/* STRATEJİ BUTONLARI */
.strategy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-btn { background: #151c2c; border: 1px solid #232b3e; color: #94a3b8; font-family: 'Poppins'; font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 15px; cursor: pointer; transition: 0.3s; box-shadow: inset 0 2px 4px rgba(0,0,0,0.2); }
.pill-btn:hover { background: #232b3e; color: #fff; }
.pill-btn.active-cyan { background: rgba(0, 229, 255, 0.1); border-color: #00e5ff; color: #fff; box-shadow: 0 0 8px rgba(0, 229, 255, 0.5), inset 0 0 5px rgba(0, 229, 255, 0.2); }
.pill-btn.active-purple { background: rgba(168, 85, 247, 0.1); border-color: #a855f7; color: #fff; box-shadow: 0 0 8px rgba(168, 85, 247, 0.5), inset 0 0 5px rgba(168, 85, 247, 0.2); }

/* KPI KARTLARI */
.kpi-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 15px; }
.kpi-box { background: #1a2235; border: 1px solid #232b3e; border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 12px; }
.kpi-icon { font-size: 16px; color: #94a3b8; width: 25px; text-align: center;}
.kpi-info { display: flex; flex-direction: column; }
.kpi-info .val { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.1; }
.kpi-info .lbl { font-size: 10px; color: #94a3b8; font-weight: 500; margin-top: 2px; text-transform: uppercase;}
.kpi-info .sub { font-size: 8px; color: #64748b; margin-top: 2px; }

/* MAÇ LİSTESİ (Fikstür / Standart) */
.match-list { max-height: 450px; overflow-y: auto; padding-right: 5px; }
.match-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #232b3e; transition: 0.3s; }
.match-item:hover { background: rgba(255,255,255,0.02); }
.match-item:last-child { border-bottom: none; }
.m-left { display: flex; align-items: center; gap: 12px; }
.m-fav { color: #334155; font-size: 11px; cursor: pointer; }
.m-info { font-size: 10px; color: #64748b; display: flex; gap: 5px; margin-bottom: 2px; }
.m-teams { font-size: 12px; color: #e2e8f0; font-weight: 500; }
.m-teams span { color: #94a3b8; margin: 0 4px; }
.m-right { display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 600; }
.m-score { color: #fff; background: #0f1522; padding: 3px 8px; border-radius: 5px; border: 1px solid #232b3e;}
.m-iyms { color: #94a3b8; width: 28px; text-align: right; }

/* SAYFALAMA KONTROLLERİ */
.pagination-controls { display: flex; justify-content: center; align-items: center; gap: 20px; padding-top: 15px; border-top: 1px solid #232b3e; margin-top: 10px; }
.page-btn { background: #151c2c; border: 1px solid #334155; color: #94a3b8; padding: 6px 15px; border-radius: 6px; cursor: pointer; transition: 0.3s; font-family: 'Poppins'; font-size: 12px; display: flex; align-items: center; gap: 8px;}
.page-btn:hover:not(:disabled) { background: #00e5ff; color: #000; border-color: #00e5ff; box-shadow: 0 0 10px rgba(0,229,255,0.3);}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-info { font-size: 12px; color: #64748b; font-weight: 500; }

/* AKILLI ARAMA (AUTOCOMPLETE) AÇILIR MENÜSÜ */
.suggestions-dropdown { position: absolute; top: calc(100% + 5px); left: 0; width: 100%; background: #1a2235; border: 1px solid #232b3e; border-radius: 8px; max-height: 250px; overflow-y: auto; z-index: 9999; display: none; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.suggestions-dropdown.active { display: block; border-color: #00e5ff; box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
.suggestion-item { padding: 10px 15px; font-size: 11px; color: #94a3b8; cursor: pointer; border-bottom: 1px solid #232b3e; transition: 0.3s; display: flex; align-items: center; }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: rgba(0, 229, 255, 0.1); color: #fff; padding-left: 20px; }
.suggestion-match { color: #00e5ff; font-weight: 700; }

/* ==============================================================
   FAZ 3: CANLI MAÇLAR VE NEON KART TASARIMLARI
   ============================================================== */

/* CANLI KART IZGARASI (4 KART İÇİN) */
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 25px; }

/* CANLI MAÇ KARTI */
.live-card { background: linear-gradient(145deg, #151c2c, #0f1522); border: 1px solid #232b3e; border-radius: 12px; padding: 20px; position: relative; overflow: hidden; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.live-card:hover { border-color: #00e5ff; box-shadow: 0 0 20px rgba(0, 229, 255, 0.15); transform: translateY(-5px); }

/* YANIP SÖNEN CANLI NOKTASI */
.live-pulse { position: absolute; top: 15px; right: 15px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #ef4444; font-weight: 700; letter-spacing: 1px; }
.live-pulse .dot { width: 8px; height: 8px; background: #ef4444; border-radius: 50%; animation: pulse 1.5s infinite; box-shadow: 0 0 10px #ef4444; }
@keyframes pulse { 
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); } 
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } 
}

/* LİG & ÜLKE BİLGİSİ */
.live-league-info { font-size: 10px; color: #94a3b8; margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
.live-league-info i { color: #f59e0b; }

/* TAKIMLAR VE SKOR */
.live-teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.live-team { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 40%; }
.live-team-logo { width: 35px; height: 35px; background: #232b3e; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; }
.live-team-name { font-size: 12px; font-weight: 600; text-align: center; color: #e2e8f0; line-height: 1.2; word-break: break-word;}
.live-score-box { font-size: 26px; font-weight: 800; color: #00e5ff; display: flex; align-items: center; justify-content: center; width: 20%; letter-spacing: 2px;}

/* İSTATİSTİK İKONLARI (ALT SATIR) */
.live-stats-row { padding-top: 15px; border-top: 1px dashed #232b3e; display: flex; justify-content: space-around; align-items: center; }
.l-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.l-stat i { color: #94a3b8; font-size: 12px; }
.l-stat .val { font-weight: 700; color: #fff; font-size: 11px; }

/* MODAL - MAÇ DETAYI */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 21, 34, 0.85); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: #151c2c; border: 1px solid #00e5ff; box-shadow: 0 0 30px rgba(0, 229, 255, 0.2); border-radius: 12px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #232b3e; background: #1a2235; border-radius: 12px 12px 0 0; }
.modal-header h3 { font-size: 14px; font-weight: 700; color: #fff; margin: 0; display: flex; align-items: center; gap: 8px;}
.modal-close { background: transparent; border: none; color: #94a3b8; font-size: 20px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;}
.modal-close:hover { color: #ef4444; background: rgba(239,68,68,0.1); }
.modal-body { padding: 25px; display: flex; flex-direction: column; gap: 20px;}

/* İSTATİSTİK BARLARI (MODAL İÇİ) */
.stat-bar-container { width: 100%; margin-bottom: 15px; }
.stat-bar-labels { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stat-bar-labels .home-val { font-size: 13px; font-weight: 700; color: #00e5ff; width: 30px; text-align: left; }
.stat-bar-labels .away-val { font-size: 13px; font-weight: 700; color: #a855f7; width: 30px; text-align: right; }
.stat-bar-labels .lbl-title { font-size: 10px; font-weight: 600; color: #94a3b8; text-transform: uppercase; text-align: center; flex-grow: 1; letter-spacing: 1px; }
.stat-bar-outer { width: 100%; height: 6px; background: #232b3e; border-radius: 3px; display: flex; overflow: hidden; position: relative; }
.stat-bar-home { height: 100%; background: linear-gradient(90deg, #0077ff, #00e5ff); transition: width 1s ease-out; }
.stat-bar-away { height: 100%; background: linear-gradient(90deg, #a855f7, #ec4899); transition: width 1s ease-out; position: absolute; right: 0; }

/* SAKLI ALANLAR İÇİN GÖSTERİM KONTROLÜ */
.hidden { display: none !important; }

/* ==============================================================
   MOBİL VE TABLET UYUMLULUK SİSTEMİ (RESPONSIVE ENGINE)
   ============================================================== */
@media (max-width: 1200px) {
    .live-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .filter-grid-modern { grid-template-columns: repeat(3, 1fr); }
    .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    body { flex-direction: column; height: 100vh; overflow: hidden; }
    
    /* SOL MENÜYÜ MOBİL ALT NAVİGASYON BARINA DÖNÜŞTÜRME */
    .sidebar { width: 100%; height: 65px; flex-direction: row; border-right: none; border-top: 1px solid #232b3e; position: fixed; bottom: 0; left: 0; z-index: 1000; background-color: #151c2c; }
    .brand { display: none !important; } 
    
    .nav-menu { display: flex; flex-direction: row; width: 100%; justify-content: space-around; margin-top: 0 !important; height: 100%; align-items: center; }
    .nav-item { margin: 0 !important; padding: 8px 12px !important; font-size: 11px !important; flex-direction: column; gap: 4px; border-right: none !important; border-bottom: 3px solid transparent; align-items: center; justify-content: center; height: 100%; }
    .nav-item.active { background: rgba(0, 243, 255, 0.05) !important; border-right: none !important; border-bottom: 3px solid #00f3ff !important; }
    .nav-icon { margin-right: 0 !important; font-size: 16px !important; }
    
    .main-content { padding-bottom: 80px; height: calc(100vh - 65px); }
    .content-body { padding: 0 15px 15px 15px; }
    
    .topbar-modern { padding: 15px; flex-direction: column; gap: 15px; align-items: stretch; }
    .search-bar { width: 100%; }
    .user-actions { justify-content: space-between; width: 100%; }

    .header-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 15px; }
    .header-right { align-items: flex-start; width: 100%; flex-direction: row; justify-content: space-between; }
    
    /* CANLI KARTLARI MOBİL UYUM */
    .live-grid { grid-template-columns: 1fr; gap: 15px; }
    
    .match-item { flex-direction: column; align-items: stretch; gap: 10px; padding: 15px 0; }
    .m-right { justify-content: space-between; border-top: 1px dashed #232b3e; padding-top: 8px; width: 100%; }
    /* DASHBOARD KPI VE NEON YANIP SÖNME EFEKTİ */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Grafik Alanı Responsive Konteyner */
#fixtureChart {
    width: 100% !important;
    height: 100% !important;
}
/* ====================================================================
   GLB DIAMOND - NEON, GLASSMORPHISM (CAM EFEKTİ) VE KONTRAST MOTORU
==================================================================== */

/* 1. MUAZZAM ARKA PLAN: Işık İllüzyonu ve Uzay Partikülleri */
body, .dashboard-container {
    background-color: #050b14 !important;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.4) 100%, transparent),
        radial-gradient(1px 1px at 25% 50%, rgba(255,255,255,0.3) 100%, transparent),
        radial-gradient(2px 2px at 80% 30%, rgba(255,255,255,0.5) 100%, transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.4) 100%, transparent),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,0.3) 100%, transparent),
        radial-gradient(1px 1px at 90% 90%, rgba(255,255,255,0.4) 100%, transparent) !important;
    background-attachment: fixed !important;
    color: #e2e8f0;
}

/* 2. GLASSMORPHISM (CAM EFEKTİ): Kartlar ve Kutular */
.diamond-card, 
.kpi-box, 
.live-card,
.header-card,
.strategy-card,
.match-item,
.white-card {
    background: rgba(15, 23, 42, 0.45) !important; 
    backdrop-filter: blur(12px) !important; 
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 229, 255, 0.15) !important; 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.02) !important;
    transition: all 0.3s ease !important;
}

/* Üzerine Gelince Oluşan Holografik Parlama */
.diamond-card:hover, 
.kpi-box:hover, 
.live-card:hover,
.match-item:hover,
.white-card:hover {
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(0, 229, 255, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.15) !important;
    transform: translateY(-3px);
}

/* 3. MENÜ (SIDEBAR) VE ÜST BAR ŞEFFAFLIĞI */
.sidebar {
    background: rgba(7, 12, 23, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 5px 0 25px rgba(0,0,0,0.3) !important;
}

.topbar-modern {
    background: rgba(7, 12, 23, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 4. ARAMA KUTUSU VE FİLTRE İNPUTLARI */
.search-bar input, .input-with-icon input, select, .form-group input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    backdrop-filter: blur(5px);
}

.search-bar input:focus, .input-with-icon input:focus, select:focus, .form-group input:focus {
    border-color: #00e5ff !important;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

/* 5. KONTRAST VE YAZI PARLATMASI (WOW Etkisi) */
/* Takım İsimleri ve Başlıklar Bembeyaz */
h2, h3, .card-title, .m-teams b, .white-card-title, .page-title {
    color: #f8fafc !important;
}

/* Skorlar ve Değerler Neon Sarı */
.val, .m-score, .stat-val, .odds-val {
    color: #facc15 !important; 
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

/* Alt Başlıklar Daha Okunaklı Buz Grisi */
.lbl, .text-muted, .m-info, .page-subtitle, .event-min, .odds-table th {
    color: #cbd5e1 !important; 
}

/* Maç Listesi Skor Alanı Cam Ayrımı */
.match-item .m-right {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.pill-group {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

/* İkonlara Hafif Işık Yansıması */
.kpi-icon i, .icon-box i {
    filter: drop-shadow(0 0 5px currentColor);
}
/* ====================================================================
   MOBİL UYUMLULUK (RESPONSIVE) - KARTLARI ALT ALTA DİZME
==================================================================== */
@media (max-width: 768px) {
    /* Canlı maçların bulunduğu ızgarayı tek sütuna (1fr) düşürür */
    #topLiveGrid, 
    .live-matches-grid, 
    .live-grid, 
    [id*="LiveGrid"] {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Mobilde sadece 1 sütun olsun */
        gap: 15px !important;
        overflow-x: hidden !important; 
    }
    
    /* Eğer flexbox kullanıldıysa diye ekstra zırh */
    .live-card-container, 
    .flex-row-container {
        display: flex !important;
        flex-direction: column !important; /* Yan yana yerine alt alta diz */
    }

    /* Mobilde ekranın sağa sola kaymasını (taşmasını) engellemek için */
    body, .dashboard-container, .main-content {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Ana içeriğin mobildeki gereksiz iç boşluklarını (padding) daraltalım */
    .main-content {
        padding: 20px 15px !important;
    }

    /* Popüler sıradaki maçlar vb. içindeki uzun metinlerin taşmasını engelle */
    .match-item, .live-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}