﻿/* 🔥 ZARİF TEK SATIR GOL BİLDİRİMİ 🔥 */
#global-toast-container {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    pointer-events: none;
    width: max-content;
    max-width: 95vw;
}

.global-toast-sleek {
    background: rgba(15, 18, 20, 0.95);
    color: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.4);
    animation: slideUpFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-goal-text {
    color: #ffcc00;
    font-weight: 900;
    animation: flashGoal 0.8s infinite;
    margin: 0 8px;
}

@keyframes slideUpFade {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes flashGoal {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

:root {
    --pro-yellow: #ffcc00;
    --pro-light: #ffffff;
    --pro-dark: #1a1d20;
    --pro-text: #212529;
    --pro-border: #e2e8f0;
    --sidebar-collapsed-width: 70px;
    --sidebar-expanded-width: 260px;
    --topbar-height: 70px; /* Sabit Üst Bar Yüksekliği */
}

body {
    background-color: #f8fafc;
    color: var(--pro-text);
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 1. ÜST HEADER VE LOGO */
.pro-top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background-color: var(--pro-light);
    border-bottom: 3px solid var(--pro-yellow);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 0 !important;
    padding: 0 20px;
}

    .pro-top-navbar .navbar-brand {
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        height: 100%;
    }

        .pro-top-navbar .navbar-brand img {
            height: 120px !important;
            width: auto;
            object-fit: contain;
            margin-top: 25px;
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
            z-index: 1050;
            transition: transform 0.2s ease;
        }

            .pro-top-navbar .navbar-brand img:hover {
                transform: scale(1.05);
            }

.top-free-links .nav-link {
    height: var(--topbar-height);
    justify-content: center;
    margin: 0 10px;
    color: var(--pro-text) !important;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.2s ease;
}

    .top-free-links .nav-link i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .top-free-links .nav-link:hover {
        color: #d97706 !important;
    }

/* 2. SOL MENÜ (MASAÜSTÜ HOVER EFEKTLİ) */
.pro-sidebar {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: var(--sidebar-collapsed-width);
    height: calc(100vh - var(--topbar-height));
    background: #ffffff;
    border-right: 1px solid var(--pro-border);
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-top: 15px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

    .pro-sidebar:hover {
        width: var(--sidebar-expanded-width);
        box-shadow: 5px 0 25px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .pro-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .pro-sidebar::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

.sidebar-heading {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px 5px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.pro-sidebar:hover .sidebar-heading {
    opacity: 1;
}

.pro-sidebar .nav-link {
    color: #475569 !important;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .pro-sidebar .nav-link i {
        font-size: 1.3rem;
        margin-right: 20px;
        width: 26px;
        text-align: center;
        flex-shrink: 0;
    }

.sidebar-text {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pro-sidebar:hover .sidebar-text {
    opacity: 1;
    transition-delay: 0.1s;
}

.pro-sidebar .nav-link:hover {
    background: #f8fafc;
    color: #0f172a !important;
    border-left-color: var(--pro-yellow);
}

.pro-sidebar .premium-link:hover {
    color: #dc3545 !important;
    border-left-color: #dc3545;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: left;
    padding-left: 25px;
    white-space: nowrap;
    overflow: hidden;
}

    .sidebar-footer i {
        font-size: 1.4rem;
        flex-shrink: 0;
        display: inline-block;
        vertical-align: middle;
    }

    .sidebar-footer .sf-text {
        display: inline-block;
        vertical-align: middle;
        margin-left: 15px;
        font-size: 10px;
        color: #64748b;
        opacity: 0;
        transition: opacity 0.2s;
    }

.pro-sidebar:hover .sidebar-footer .sf-text {
    opacity: 1;
    transition-delay: 0.1s;
}

/* 3. ANA İÇERİK ALANI VE KART BOŞLUKLARI */
.pro-main-wrapper {
    margin-left: var(--sidebar-collapsed-width);
    margin-top: var(--topbar-height);
    min-height: calc(100vh - var(--topbar-height));
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.main-content {
    background-color: transparent;
    border-radius: 0;
    padding: 10px 10px; /* 🔥 SOL MENÜ İLE KARTLAR ARASINDAKİ BOŞLUĞU ÇOK KÜÇÜLTTÜK 🔥 */
    box-shadow: none;
    margin-top: 0;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1020;
    backdrop-filter: blur(2px);
}

    .mobile-overlay.show {
        display: block;
    }

/* 🔥 4. ŞERİTLERİ SABİTLEYEN KOD (KAYDIRINCA ÜSTTE KALIR VE BOŞLUKSUZDUR) 🔥 */
.dual-ticker-container {
    margin-top: 0 !important;
    border-top: none !important;
    position: sticky; /* 🔥 SAYFA KAYDIRILINCA ÜSTTE SABİTLENİR 🔥 */
    top: var(--topbar-height); /* Sarı çizginin hemen altından başlar */
    z-index: 1030;
    background-color: #ffffff; /* Arkadan geçen yazıları gizlemek için zemin eklendi */
}

.ticker-row {
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    position: absolute;
    left: 0;
    height: 100%;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 10;
    text-transform: uppercase;
}

.ticker-wrapper {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    padding-left: 140px;
}

.ticker-live {
    background: #ffffff;
    color: #000000;
    border-top: none !important;
    border-bottom: 2px solid #1a1d20;
}

    .ticker-live .ticker-label {
        background: #ffffff;
        color: #000000;
        border-right: 2px solid var(--pro-yellow);
    }

    .ticker-live .t-item {
        border-right: 1px solid #e2e8f0;
    }

.ticker-finished {
    background: #1a1d20;
    color: #ffffff;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

    .ticker-finished .ticker-label {
        background: #000000;
        color: #ffcc00;
        border-right: 1px solid #333;
    }

    .ticker-finished .t-item {
        border-right: 1px solid #444;
    }

.t-item {
    display: inline-block;
    padding: 0 25px;
    font-weight: 600;
}

.t-score-finished {
    display: inline-block;
    min-width: 45px;
    text-align: center;
    background-color: #dc3545;
    color: #ffffff;
    margin: 0 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
}

.ticker-goal-wrapper {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    transition: max-width 0.5s ease-in-out, opacity 0.5s ease-in-out, margin 0.5s ease-in-out;
}

    .ticker-goal-wrapper.show-goal {
        max-width: 90px;
        opacity: 1;
        margin: 0 6px;
    }

.ticker-goal-text {
    color: #dc3545;
    font-weight: 900;
    text-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
    animation: flashGoal 0.8s infinite;
}

.t-score-box {
    display: inline-block;
    min-width: 45px;
    text-align: center;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-weight: 900 !important;
}

/* 🔥 5. MOBİL ALT MENÜ (APLİKASYON HAVASI) 🔥 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--pro-border);
    z-index: 1060;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

    .mobile-bottom-nav .nav-link {
        flex: 1;
        text-align: center;
        color: #64748b !important;
        font-size: 10px;
        font-weight: 800;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    }

        .mobile-bottom-nav .nav-link i {
            font-size: 1.3rem;
            margin-bottom: 2px;
        }

/* 🔥 MOBİL MEDYA SORGULARI 🔥 */
@media (max-width: 991.98px) {
    .pro-top-navbar {
        height: 60px;
        padding: 0 10px;
    }

        .pro-top-navbar .navbar-brand img {
            height: 65px !important;
            margin-top: 10px;
        }

    .top-free-links {
        display: none !important;
    }

    .pro-sidebar {
        display: none !important;
    }
    /* Mobilde sol menü gizlenir */
    .mobile-bottom-nav {
        display: flex;
    }
    /* Yerine alt menü gelir */

    .pro-main-wrapper {
        margin-left: 0;
        margin-top: 60px;
        padding-bottom: 70px;
    }

    .ticker-label {
        width: 110px;
        font-size: 0.65rem;
        padding: 0 5px;
    }

    .ticker-wrapper {
        padding-left: 110px;
    }

    .t-item {
        padding: 0 15px;
        font-size: 0.85rem;
    }

    .t-score-box, .t-score-finished {
        min-width: 35px;
        padding: 2px 5px !important;
        font-size: 0.8rem;
        margin: 0 4px;
    }

    /* Mobilde şeridin yapışma noktasını düzeltiyoruz */
    .dual-ticker-container {
        top: 60px;
    }
}

/* FOOTER */
footer {
    background-color: var(--pro-light);
    border-top: 1px solid var(--pro-border) !important;
    padding: 30px 0 0 0;
    margin-top: auto;
}

.pro-footer-section-logo-desc {
    background-color: #ffffff;
    border-top: 3px solid #ffcc00;
    border-bottom: 3px solid #ffcc00;
    padding: 15px 0;
    overflow: hidden;
}

.footer-mega-logo {
    height: 85px;
    object-fit: contain;
    transform: scale(1.6);
    transform-origin: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

@media (min-width: 992px) {
    .footer-mega-logo {
        transform-origin: left center;
        margin-left: 20px;
    }
}

.pro-responsible-gaming-paragraph {
    color: #333333;
    margin-bottom: 0.5rem !important;
    font-weight: 500;
}

.pro-responsible-gaming-18-plus-bar span.fs-1 {
    font-size: 2.2rem !important;
}

.pro-responsible-gaming-18-plus-bar .text-dark {
    color: #111111 !important;
}

.pro-responsible-gaming-18-plus-bar .text-muted-custom {
    color: #666;
    font-weight: 600;
}

.pro-footer-section-links {
    background-color: #121212;
    padding: 40px 0;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: #ffcc00;
        border-radius: 2px;
    }

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-link-list li {
        margin-bottom: 8px;
    }

    .footer-link-list a {
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
    }

        .footer-link-list a i {
            font-size: 0.7rem;
            margin-right: 8px;
            color: #ffcc00;
            transition: all 0.3s ease;
        }

        .footer-link-list a:hover {
            color: #ffcc00;
            padding-left: 5px;
        }

            .footer-link-list a:hover i {
                transform: translateX(3px);
            }

.pro-footer-section-bottom-white {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 15px 0;
}

.pro-prothamin-ai-thick-black {
    font-weight: 900;
    color: #000;
    font-size: 0.9rem;
}

.seo-text {
    font-size: 0.7rem;
    color: #888;
}

.footer-bottom-social a {
    color: #555;
    transition: color 0.3s ease;
}

    .footer-bottom-social a:hover {
        color: #ffcc00;
    }
