/* =======================================================
   KMB CANLI MAÇ — ANA STİL DOSYASI (STYLE.CSS)
   Lüks Spor & Canlı Skor Teması (Dark Anthracite & Electric Neon)
======================================================= */
:root {
    --bg-main: #0b0e14;
    --bg-card: #151921;
    --bg-card-hover: #1c222c;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --primary: #00e676; /* Elektrik yeşili */
    --primary-glow: rgba(0, 230, 118, 0.25);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.3);
    --warning: #f59e0b;
    --info: #3b82f6;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 25px var(--primary-glow);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Header & Navbar */
.site-header {
    background: rgba(21, 25, 33, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.brand-badge {
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    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 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* Grid & Cards */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.match-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.match-card.is-live {
    border-left: 4px solid var(--danger);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.league-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.time-badge {
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
}

.time-badge.live {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    font-weight: 700;
}

.card-teams {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.team-score {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    min-width: 24px;
    text-align: right;
}

.match-card.is-live .team-score {
    color: var(--primary);
}

.card-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Reklam Alanları */
.kmb-ad-zone {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ad-badge {
    background: #374151;
    color: #9ca3af;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

.ad-placeholder-mobile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.kmb-ad-mobile_sticky_bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 18, 24, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 6px 0;
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 1rem;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .match-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Mobilde sade görünüm */
    }
}
