﻿.ai-filter-container {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .ai-filter-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-filter-btn {
        font-size: 0.70rem !important;
        padding: 8px 2px;
    }

    .vip-stat-box {
        min-width: 0 !important;
        padding: 10px 5px !important;
    }

    .vip-stat-title {
        font-size: 0.65rem !important;
        letter-spacing: 0px !important;
        margin-bottom: 3px;
    }

    .vip-stat-val {
        font-size: 1.3rem !important;
    }

    .vip-stat-box .vip-stat-title .d-none.d-md-inline {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .vip-stat-box .vip-stat-title .d-none.d-md-inline {
        display: inline !important;
    }
}

.vip-header {
    background: linear-gradient(135deg, #1a1d20 0%, #000000 100%);
    border-bottom: 4px solid #ffcc00;
    color: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.ai-filter-btn {
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
    padding: 10px;
}

    .ai-filter-btn.active {
        background: #1a1d20;
        color: #ffcc00;
        border-color: #1a1d20;
    }

.prediction-card {
    position: relative;
    background: #fff;
    border: 1px solid #f8e5b0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    content-visibility: auto;
}

.match-structure {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    gap: 5px;
    padding: 12px;
    background: #fcfcfc;
    border-radius: 10px;
    margin: 10px;
}

.team-block {
    min-width: 0;
    width: 100%;
}

.team-name-text {
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.live-score-text {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1;
}

.ht-score-text {
    font-size: 0.80rem;
    font-weight: 700;
    margin-top: 2px;
}

.odds-highlight {
    background: #ffcc00;
    color: #000;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 6px;
}

.prediction-highlight {
    background: #fff;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: bold;
}

.electric-check {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.prediction-card.is-won .electric-check {
    display: block;
}

.check-path {
    stroke: #ffcc00;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawCheck 0.6s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
