﻿.live-indicator {
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(220, 53, 69, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.pulse-text {
    animation: textPulse 1.5s infinite;
}

@keyframes textPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes flashGoal {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.goal-badge {
    font-weight: 900;
    color: #ffc107;
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    animation: flashGoal 0.8s infinite;
}

.yellow-card-badge {
    font-weight: 900;
    color: #ffeb3b;
    text-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
    animation: textPulse 0.8s infinite;
}

.red-card-badge {
    font-weight: 900;
    color: #ff1744;
    text-shadow: 0 0 5px rgba(255, 23, 68, 0.5);
    animation: textPulse 0.8s infinite;
}

/* MASAÜSTÜ YAPIŞKAN FİLTRE */
.sticky-filters {
    position: sticky;
    top: 146px; /* 70px Header + 76px Ticker = 146px tam oturur */
    z-index: 1030 !important;
    background: white;
}

.score-box {
    font-size: 1.2rem;
    background: #1a1d20;
    color: #ffc107;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 900;
    letter-spacing: 2px;
    min-width: 65px;
    text-align: center;
    border: 1px solid #343a40;
    transition: all 0.3s;
}

.btn-sound-on {
    background-color: #198754 !important;
    color: white !important;
    border-color: #198754 !important;
}

.btn-sound-off {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

    .nav-tabs .nav-link.active {
        color: #dc3545 !important;
        border-bottom: 3px solid #dc3545 !important;
        background: transparent;
    }

.favorite-star {
    transition: transform 0.2s;
}

    .favorite-star:hover {
        transform: scale(1.2);
    }

.animate-pulse {
    transition: transform 0.2s;
    display: inline-block;
}

    .animate-pulse:hover {
        transform: scale(1.3);
        color: #198754 !important;
    }

/* Mobilde Yatay Kaydırma (Scroll) Gizleme */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 🔥 YORUM BALONU TASARIMI 🔥 */
.comment-btn-pulse {
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-block;
}

    .comment-btn-pulse:hover {
        transform: scale(1.3);
        color: #ffc107 !important;
    }

/* 🔥 MOBİL UYUM (RESPONSIVE) - MİKRO DOKUNUŞLAR 🔥 */
@media (max-width: 991px) {
    .sticky-filters {
        top: 136px !important; /* 60px Mobil Header + 76px Ticker = 136px tam oturur */
        padding: 10px !important;
    }

    .nav-tabs .nav-link {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }

    .btn-sound-on, .btn-sound-off {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }

    .search-bar-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 10px;
    }

    .table-responsive {
        border: none !important;
    }

    .match-row td {
        padding: 6px 4px !important;
    }

    .score-box {
        font-size: 0.95rem !important;
        min-width: 50px !important;
        padding: 3px 6px !important;
        letter-spacing: 1px !important;
    }

    .match-minute {
        font-size: 0.8rem !important;
    }

    .fw-bold.text-dark {
        font-size: 0.8rem !important;
    }

    .events-container-home, .events-container-away {
        font-size: 0.65rem !important;
    }

    .goal-badge, .yellow-card-badge, .red-card-badge {
        font-size: 0.65rem !important;
    }

    .team-logo-mobile {
        height: 18px !important;
        width: 18px !important;
    }
}
