/* =======================================================
   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;
}

html, body {
    font-family: var(--font-sans);
    background-color: #0b0e14;
    background: #0b0e14;
    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;
}

/* Form Elements (Universal) */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control, select.form-control, textarea.form-control {
    width: 100%;
    padding: 11px 14px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    color: #f3f4f6;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-control:focus, select.form-control:focus, textarea.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: #151e30;
}

/* Butonlar */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-1px);
}

/* =======================================================
   ANIMASYONLU MAÇ İSTATİSTİK SLIDER'I (STATS SLIDER)
======================================================= */
.stats-slider-container {
    background: #131722;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.25rem 0;
    position: relative;
    overflow: hidden;
}

.stats-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stats-slider-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stats-slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: #000;
}

.stats-slides-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.stat-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-val-home {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary);
}

.stat-val-away {
    font-weight: 800;
    font-size: 1rem;
    color: #60a5fa;
}

.stat-bar-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.stat-bar-fill-home {
    background: var(--primary);
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-bar-fill-away {
    background: #3b82f6;
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s;
}

.slider-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--primary);
}

/* =======================================================
   TFF PUAN DURUMU TABLOSU
======================================================= */
.standings-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 1.5rem;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.standings-table th, .standings-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.standings-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.standings-table td.team-cell {
    text-align: left;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.standings-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.standings-table .pos-top {
    color: var(--primary);
    font-weight: 800;
}

.standings-table .pos-relegation {
    color: var(--danger);
    font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
    .match-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}

/* =======================================================
   SOSYAL MEDYA PAYLAŞIM BUTONLARI VE KART MANŞETLERİ
======================================================= */
.match-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    user-select: none;
}

.share-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    color: #25d366;
}
.share-whatsapp:hover {
    background: #25d366;
    color: #000;
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.5);
}

.share-x {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.share-x:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

.share-facebook {
    background: rgba(24, 119, 242, 0.15);
    border-color: #1877f2;
    color: #1877f2;
}
.share-facebook:hover {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 0 14px rgba(24, 119, 242, 0.5);
}

.share-telegram {
    background: rgba(0, 136, 204, 0.15);
    border-color: #0088cc;
    color: #0088cc;
}
.share-telegram:hover {
    background: #0088cc;
    color: #fff;
    box-shadow: 0 0 14px rgba(0, 136, 204, 0.5);
}

.share-copy {
    background: rgba(0, 240, 255, 0.15);
    border-color: #00f0ff;
    color: #00f0ff;
}
.share-copy:hover {
    background: #00f0ff;
    color: #000;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.5);
}

.quick-share-icon-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-share-icon-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: #00f0ff;
    color: #00f0ff;
}

.card-banner-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.card-banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.match-card:hover .card-banner-thumb img {
    transform: scale(1.04);
}

/* Quick Share Modal */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.share-modal-overlay.active {
    display: flex;
}
.share-modal-card {
    background: #0f172a;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.2);
    animation: modalPop 0.2s ease-out;
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}
.share-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.share-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.share-modal-close:hover {
    color: #fff;
}
.share-modal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
}
.share-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1rem;
}
.share-modal-grid .share-btn {
    justify-content: center;
    padding: 10px;
    font-size: 0.85rem;
}
.share-copy-row {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px 6px;
}
.share-copy-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 6px;
    outline: none;
}

