/* Modern Match Filters Styling */

.match-filters-container {
    margin: 15px 0;
    position: relative;
}

.match-filters {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2235 0%, #171a28 100%);
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Add subtle glass effect */
.match-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.match-filter-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.match-filter-btn:focus {
    outline: none;
}

.match-filter-btn i {
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Active state uses blue accent from categories */
.match-filter-btn.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(13, 102, 233, 0.2), rgba(13, 102, 233, 0.1));
    box-shadow: 0 3px 10px rgba(13, 102, 233, 0.15);
    border-radius: 8px;
}

.match-filter-btn.active i {
    transform: scale(1.1);
    color: #0d66e9;
}

.match-filter-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

/* Animated indicator */
.match-filter-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d66e9, #3498db);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Live button pulsing effect */
.blink {
    animation: pulsing 1.5s infinite;
}

@keyframes pulsing {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

/* Click effect */
.match-filter-btn:active {
    transform: scale(0.97);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .match-filters {
        padding: 4px;
    }
    
    .match-filter-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .match-filter-btn i {
        font-size: 12px;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .match-filter-btn {
        font-size: 12px;
        padding: 8px 5px;
    }
    
    .match-filter-btn i {
        font-size: 11px;
    }
}