﻿body {
    background-color: #0a0a0c !important;
}

.radar-header {
    background: linear-gradient(135deg, #111 0%, #1a0000 100%);
    border-bottom: 2px solid #ffc107;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.live-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ffc107;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffc107, 0 0 20px #ffc107;
    animation: pulse-yellow 1.5s infinite;
}

@keyframes pulse-yellow {
    0%, 100% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.radar-card-horizontal {
    background: #151518;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .radar-card-horizontal:hover {
        border-color: #ffc107;
        transform: translateX(5px);
        box-shadow: -5px 5px 20px rgba(255, 193, 7, 0.15);
    }

    .radar-card-horizontal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: #ffc107;
        transition: 0.3s;
    }

.stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.70rem;
    color: #aaa;
    line-height: 1.4;
}

.ai-pred-box {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 10px 15px;
    transition: 0.3s;
}

.ai-pred-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-odds {
    background: #ffc107;
    color: #000;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.9rem;
    transition: 0.3s;
}

.match-score-radar {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffc107;
    line-height: 1;
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
    transition: 0.3s;
}

.live-minute-pulse {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* 🟢 KAZANAN EFEKTLERİ 🟢 */
.radar-card-horizontal.is-won {
    border-color: #28a745 !important;
    box-shadow: -5px 5px 20px rgba(40, 167, 69, 0.15) !important;
}

    .radar-card-horizontal.is-won::before {
        background: #28a745 !important;
    }

    .radar-card-horizontal.is-won .ai-pred-box {
        border-color: #28a745 !important;
        background: rgba(40, 167, 69, 0.1) !important;
    }

    .radar-card-horizontal.is-won .ai-odds {
        background: #28a745 !important;
        color: #fff !important;
    }

    .radar-card-horizontal.is-won .match-score-radar {
        color: #28a745 !important;
        text-shadow: 0 0 15px rgba(40, 167, 69, 0.3) !important;
    }

    .radar-card-horizontal.is-won .signal-badge {
        border-color: #28a745 !important;
        color: #28a745 !important;
    }

/* 🔴 KAYIP EFEKTLERİ 🔴 */
.radar-card-horizontal.is-lost {
    border-color: #dc3545 !important;
    box-shadow: -5px 5px 20px rgba(220, 53, 69, 0.15) !important;
    opacity: 0.7;
}

    .radar-card-horizontal.is-lost::before {
        background: #dc3545 !important;
    }

    .radar-card-horizontal.is-lost .ai-pred-box {
        border-color: #dc3545 !important;
        background: rgba(220, 53, 69, 0.1) !important;
    }

    .radar-card-horizontal.is-lost .ai-odds {
        background: #dc3545 !important;
        color: #fff !important;
    }

    .radar-card-horizontal.is-lost .match-score-radar {
        color: #dc3545 !important;
        text-shadow: 0 0 15px rgba(220, 53, 69, 0.3) !important;
    }

    .radar-card-horizontal.is-lost .signal-badge {
        border-color: #dc3545 !important;
        color: #dc3545 !important;
    }

/* 🔥 GOOOL ANİMASYONLARI 🔥 */
.goal-alert-box {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 193, 7, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.fire-icon {
    font-size: 1.1rem;
    animation: fireBlink 0.6s infinite alternate;
}

.goool-text {
    color: #ffc107;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
    animation: flashPulse 1s infinite;
}

.goal-team-min {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

@keyframes fireBlink {
    0% {
        opacity: 0.7;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes flashPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid #2a2a2e;
    }

    .border-start-lg {
        border-left: 1px solid #2a2a2e;
    }
}
